VOGONS


win32s-compatible (win3.1) Putty 0.76 port

Topic actions

Reply 20 of 26, by roytam1

User metadata
Rank Member
Rank
Member
Azami wrote on 2026-02-13, 12:54:
It should print help if you enter 'help'. I made a few cosmetic changes yesterday but nothing should change the help text behavi […]
Show full quote

It should print help if you enter 'help'.
I made a few cosmetic changes yesterday but nothing should change the help text behavior.

Just tested on Windows 3.1/NT 3.51/10/wine with no issue.

The attachment winsftp.png is no longer available

alright just found the problem in my side. some object files are compiled with old defines, and recompiling them works now.

and plink in NT 3.1 works, but there is no ansicon for NT 3.1, and you need to wrap with k95 for better ANSI escape code decoding.

The attachment k95nt31-plink.png is no longer available

save this as "k95plink.bat" and run `k95plink remotehost` in cmd window will help, unless your remote-host doesn't emit any ANSI escape codes then you can use plink directly.

@k95 -C "set terminal color terminal-screen white black , set terminal statusline off , pipe plink %1 , exit"

Reply 21 of 26, by Azami

User metadata
Rank Newbie
Rank
Newbie

Nice to know 🙂

Reply 23 of 26, by Azami

User metadata
Rank Newbie
Rank
Newbie

It might be useful, so I (well, mostly AI) added support for a local command set and SCP support.
Also fixed a bug where the client would not reset properly in case the server closed the connection early (for example, if sftp subsystem was set to /bin/false)

I should publish a new binary release soon if everything works solidly (I tested a bit on my side, seems to be working fine)

Reply 24 of 26, by roytam1

User metadata
Rank Member
Rank
Member
Azami wrote on Yesterday, 15:03:

It might be useful, so I (well, mostly AI) added support for a local command set and SCP support.
Also fixed a bug where the client would not reset properly in case the server closed the connection early (for example, if sftp subsystem was set to /bin/false)

I should publish a new binary release soon if everything works solidly (I tested a bit on my side, seems to be working fine)

thats cool, thanks.

BTW I wonder why they are compiled with `-od` switch?
I tried to use `-ox` instead of `-od` to compile and it produces smaller and faster binary.

Reply 25 of 26, by Azami

User metadata
Rank Newbie
Rank
Newbie

I had this issue on 0.76, where any optimization level would make puttygen crash on key generation, at least when compiled with the then-latest OpenWatcome 2.0 beta.

Edit: seems to work fine now, so maybe the optimization can be re-enabled 😀

Reply 26 of 26, by roytam1

User metadata
Rank Member
Rank
Member

Did some further testings in NT 3.1, winsftp.exe can work when winsftp.exe's subsystem version is changed to 3.10.
puttygen.exe uses some APIs that is unavailable in NT 3.1: CheckMenuRadioItem, DrawEdge
putty.exe of course won't run in NT 3.1 due to missing OLE32 and COMCTL32.dll is too old to support TreeView, and some missing APIs: GetCharacterPlacementW, GetLocaleInfoA, DrawEdge, DrawIconEx, GetKeyboardLayout, GetSysColorBrush, LoadImageA

if you want to use a poor man's listbox to present a treeview, there is a sample in win32sdk: https://github.com/joncampbell123/windows_sdk … /filer/expdir.c