A port of putty 0.76 to Windows 3.1+Win32s.
Maybe this may help close this bug: https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/port-win32s.html
The whole windows sourcetree builds, and loads.
To build this, you need the following:
- OpenWatcom 2.0 beta under Windows
In Open Watcom Build Environment (i.e. a cmd window that has owsetenv.bat executed), cd windows and then nmake -f Makefile.wc to compile. (OpenWatcom package should have both nmake.exe and rc.exe included)
- Windows 3.1 (or 3.11 or 3.2 PRC version), NT 3.50 (with
comctl32.dllupdate from win32s below, or broken config dialog), NT 3.51 or later, Windows 95 or later - Microsoft TCP/IP-32 version 3.11b or a compatible winsock 1.1 stack, for example, Trumpet Winsock
- Microsoft Win32s 1.25 (OLE) with
comctl32.dllfrom https://archive.org/download/win32s/win32s-1.30-build-140-beta.7z
- As the UNIX codepath for sessions saving/loading is used, you should set a HOME environment variable in AUTOEXEC.BAT
- If not, it defaults to
{Windows-drive}:\HOME - run putty.exe
- the GUI apps, at least putty.exe, puttytel.exe and puttygen.exe
- limited UTF-8 support based on Active Code Page, for example CP1252 for en-US version of Windows, CP932 for ja-JP, CP950 for zh-TW, etc.
- controllable in
AnsiCP=entry of[Nls]section in{Windows-directory}\SYSTEM\win32s.ini
- controllable in
- Unicode that excceeds what Active Code Page (ACP) supports.
- pageant.exe.
- console applications. They'll load, and that's all, win32s doesn't support console applications.
As a replacement, there's an updated ssh2dos port here: https://github.com/AnttiTakala/SSH2DOS
Working scp2dos.exe/scp2d386.exe, sftpdos.exe/sftpd386.exe and ssh2dos.exe/ssh2d386.exe are now provided in releases.
The 386 variants are using the DOS32A extender which, in my experience, works correctly under win3.1.
Of course, they'll require a working wattcp environment, and either 2 NICs or something like ndis3pkt.

