potatosalad / portaputty

http://code.google.com/p/portaputty/
Other
3 stars 1 forks source link

Make patches for modern putty 0.70 #1

Open kibermaster opened 6 years ago

kibermaster commented 6 years ago

On newer servers and ssh configurations old portaputty (0.60) doesn't work. Is it possible to make the same patches for portability to 0.70 as you did to 0.60? Thanks!

ttblum commented 6 years ago

@sgtatham @jtn20 @potatosalad @nicowilliams @gwinkless If this were to be done, do you think it would be better to start with the PuTTY 0.70 code and try to merge in the differences of the PortaPuTTY code, or would it be better to start with the PortaPuTTY 0.60 code and merge in the core code of PuTTY 0.70?

Is there a specific compiler that's better to use on Windows (such as Visual C, Mingw, etc.), or does it not matter?

nicowilliams commented 6 years ago

@ttblum I don't know what this repo is about (besides being related to porting PuTTY), nor is being asked of me here.

PuTTY is portable enough as it is, building and running on Linux and Windows. Naturally, it could be ported to OS X as well, and we could all make sure it builds on Illumos, *BSD, ... And @sgtatham does a very good job maintaining it, so I don't think we need a fork yet. However, having maintained patches for PuTTY for quite some time (which we are now trying to integrate into @sgtatham's mainline), I do think it would be useful to have a repo or branch on @sgtatham's repo for soak-testing contributions -- such a thing should absolutely track the mainline and rebase onto it periodically.

ttblum commented 6 years ago

Thanks @nicowilliams , I guess we're asking if there's any plans to patch PortaPuTTY against PuTTY version 0.70.

How much work do you think it would be to patch PortaPuTTY against version 0.70?

I heard there were a lot of changes in the PuTTY code starting with version 0.63, the developer of KiTTY said he had to rewrite his patches almost entirely when 0.63 was released. I'm assuming this is why PortPuTTY is still on version 0.60?

potatosalad commented 6 years ago

I don't know what this repo is about (besides being related to porting PuTTY), nor is being asked of me here.

@nicowilliams This is an old (like 11 years old) side-project I put together to make a portable version of PuTTY for Windows that did not depend on the Windows Registry. It does this by storing the configuration in an INI file instead of persisting to the registry. This would allow it to run from a USB drive, for example, without affecting the system its running on.

I personally haven't used it since ~2010, but it's apparently been passed around various portable freeware sites like this one.

The source for the currently circulated executable is available on the legacy branch. I'm not sure if anyone else has already modified PuTTY to support persisting/loading state from a flat file, but that's all I essentially did here. I don't currently have the time to look into re-applying my patches onto 0.70, but would be happy to accept pull requests.

nicowilliams commented 6 years ago

Ah, my guess is that @ttblum found my name from looking at recent commits (which are from upstream). I think an option to not use the registry would be nice, yeah. Obviously PuTTY already has that for Unix systems already, so it should not be difficult. Anyways, I don't have cycles for this either.

kibermaster commented 1 year ago

Just in case someone interested in modified fork which is storing sessions in local dir, here is the modern patched version which is updated regulary.

https://jakub.kotrla.net/putty/