caidongyun / futty

Automatically exported from code.google.com/p/futty
Other
0 stars 1 forks source link

Improve the "sessions from file" feature #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I just realize that Futty has a nice feature (I think inherited from PuTTY 
Tray), to save sessions to file instead of using the Registry.

I have some suggestions for improving this:

1. allow to move multiple sessions from registry to files (and back)

Currently this can be done one session at a time, with the following steps
- load session from registry
- switch to "from file"
- save session
- switch to "from registry"
- delete session

A bit cumbersome

2. provide an option to specify where to save the session files (currently they 
are put in <putty dir>\sessions

3. Allow user to define one mode or the other as the default when opening a new 
session

Thanks in advance

Original issue reported on code.google.com by dre...@gmail.com on 8 Jun 2011 at 8:57

GoogleCodeExporter commented 8 years ago
There's other PuTTY forks with support for saving sessions to files.  KiTTY 
comes to mind..  http://www.9bis.net/kitty/index.php   That particular feature 
in KiTTY might be better than the one from PuTTYTray.
But the problem is, both PuTTYTray and KiTTY have that feature in the same 
patch file as all the other features they added..  So it's hard to just replace 
it.
If I knew C/C++ then maybe I could do it, but I don't.
If somebody else could improve the session loading/saving code in FuTTY like 
you suggest, or replace it with the one from KiTTY or another other fork.. I'd 
happily accept the patch. =)

Original comment by FireEgl on 9 Jun 2011 at 3:57

GoogleCodeExporter commented 8 years ago
Look at http://jakub.kotrla.net/putty/ to see how to change where it saves the 
sessions.  (FuTTY uses his patch/code)

I've changed the default storage type to files in FuTTY.  So it'll use files 
unless you only have registry sessions.

And the suggestion to make moving to/from registry/files easier..sorry. =P

Original comment by FireEgl on 13 Jun 2012 at 7:02