Portable PuTTY patch comments
From: Charles Appel (cng_at_appelmail.com)
Date: 06/13/04
- Previous message: Nico Kadel-Garcia: "Re: Upgrading OpenSSH"
- Next in thread: Owen Dunn: "Re: Portable PuTTY patch comments"
- Reply: Owen Dunn: "Re: Portable PuTTY patch comments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 13 Jun 2004 01:14:43 GMT
All:
I've created a patch to allow PuTTY (Windows) to read settings from file
instead of the registry.
WHY: Although the workaround suggested in the docs (4.2.1 Storing
configuration in a file) works well, I accidentally overwrote then
deleted a friends HKCR\Software\SimonTatham\PuTTY registry entry when
running PuTTY from an admin CDROM I use.
I had sent the developers a detailed proposal that I was planning to
implment several months ago, but never heard back. So, I'm looking for
user feedback. My objective is to modify/patch as few files as possible
in the hope that the patch will actually get included
Right now I have putty.exe working, using the same methods for
reading/writing that the ux source does. Actually it's a copy of the
code, with a few modifications. I would have liked to use the uxstore.c
code, but that would have involved too much refactoring, which, although
simple, might lessen the chances the patch would ever get implemented in
the main tree.
So, I'm looking for feedback on the following: Should the patch store
files in the same way the unix code does (multiple files in a config
dir), or should it be in a single file, like an INI? As I see it, pros
and cons of both:
INI Pros
- One file, easy to grab and go
INI Cons
- Could get big, depending upon how many sessions/keys are saved
- If it is big, and run from a floppy (who does that?) could be slow to
read and write.
- Can't share/distribute a single session with someone.
UX Method Pros:
- Much easier to implement since 99% code comes from uxstore.c
- Can share/distribute a single session file
UX Method Cons:
- When taking PuTTY on the road, must copy config dir instead of one
file
Factors in making a decision (in order of priority)
1) PuTTY dev team rules
2) Lots of responses: majority rule
3) Few responses: whatever is easiest rules
4) No responses: my own Personal Portable Putty Patch mmm.. PortaPuTTY
When completed, I guess I'll post the patch here since I think email to
PuTTY dev team goes to /dev/null. Or should I post somewhere else?
Finally, if anyone has comments on the randomseed file:
I'm not really sure why this is stored; it gets changed everytime
you run PuTTY anyway. I'm thinking of not storing it (since, you
won't be able to if running from CDROM anyway). Thoughts?
Regards,
Charles Appel
- Previous message: Nico Kadel-Garcia: "Re: Upgrading OpenSSH"
- Next in thread: Owen Dunn: "Re: Portable PuTTY patch comments"
- Reply: Owen Dunn: "Re: Portable PuTTY patch comments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|