07 August 2017

K95

System: Microsoft Windows XP Home Edition
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

Installing the Individual components for VS2017 as follows
adds a (910 MB) %VCToolsInstallDir%atlmfc directory, and
for that reason I first have pursued building C-Kermit (K95)
on a VS2008 Express installation.

MFC and ATL support (x86 and x64)
Visual C++ ATL support

TODO: see whether afxres.h can be replaced with winresrc.h in cknker.rc

I had a look today at D.R. Goodwin's work on K95.

https://github.com/davidrg/ckwin
ckwin-master.zip

I only built the Console application, and, as one can see from the output XYZMODEM,
SSH, Kerberos, SRP and SSL, have been disabled.

As I was on XP I could safely comment out the following lines in kermit\k95\cknker.rc.

// #define APSTUDIO_READONLY_SYMBOLS
// #include "afxres.h"
// #undef APSTUDIO_READONLY_SYMBOLS

Setting environment for using Microsoft Visual Studio 2008 x86 tools.

C:\Programmer\Microsoft Visual Studio 9.0\VC>CD \ckwin

C:\ckwin>TYPE setenv.bat
@ECHO OFF
SET ROOT=C:\ckwin
SET INCLUDE=%INCLUDE%%ROOT%\kermit\k95;

C:\ckwin>setenv.bat

C:\ckwin>CD kermit\k95

C:\ckwin\kermit\k95>mknt.bat

...

C:\ckwin\kermit\k95>DIR *.exe
Disken i drev C har ikke noget navn.
Diskens serienummer er C804-10A1

Indhold af C:\ckwin\kermit\k95

07-08-2017  01:58         3.543.040 cknker.exe
07-08-2017  01:55            65.024 ckwart.exe
07-08-2017  01:59             8.704 ctl3dins.exe
07-08-2017  01:59            20.992 iksd.exe
07-08-2017  01:59            23.552 iksdsvc.exe
07-08-2017  01:58            10.752 k95d.exe
07-08-2017  01:58             6.144 rlogin.exe
07-08-2017  01:58             6.144 telnet.exe
07-08-2017  01:58            18.432 textps.exe
               9 fil(er)        3.702.784 byte
               0 mappe(r)  63.133.499.392 byte ledig

C:\ckwin\kermit\k95>

Some example output from cknker.exe.

[C:\ckwin\kermit\k95\] C-Kermit> SHOW FEATURES
C-Kermit  OPEN SOURCE:, Aug  7 2017
Microsoft Windows Operating Systems for 32-bit Intel CPUs.

Major optional features included:
Large files and large integers (64 bits)
Network support (type SHOW NET for further info)
Telnet Kermit Option
Telnet Authentication Option
Telnet Encryption Option
Telnet DES Encryption
Telnet CAST Encryption
X Windows forwarding
Telnet Remote Com Port Control Option
SOCKS 4
Built-in FTP client
Built-in HTTP client
Hardware flow control
Latin-1 (West European) character-set translation
Latin-2 (East European) character-set translation
Cyrillic (Russian, Ukrainian, etc) character-set translation
Greek character-set translation
Hebrew character-set translation
Japanese character-set translation
Unicode character-set translation
Unicode support for ISO-2022 Terminal Emulation
REDIRECT command
RESEND command
Fullscreen file transfer display
Control-character unprefixing
Streaming
Autodownload
Mouse support
Internet Kermit Service with user login support

Major optional features not included:
No built-in XYZMODEM protocols
No Secure Shell (SSH)
No Kerberos(TM) authentication
No SRP(TM) (Secure Remote Password) authentication
No Secure Sockets Layer (SSL) protocol
No Transport Layer Security (TLS) protocol

Host info:
Machine:    intel-6
Model:      (unknown)
OS:         Windows 2000/XP
OS Release: 5.01
OS Version: (2600) Service Pack 3

Compiled Aug  7 2017 01:56:24, options:
__STDC__ ARRAYREFLEN=1024 BIGBUFOK BROWSER CK_ANSIC CK_ANSILIBS CK_APC
CK_AUTODL CK_CURSES CK_ENVIRONMENT CK_FAST CK_FORWARD_X CK_LOGIN CK_MKDIR
CK_NAWS CK_PCT_BAR CK_RECALL CK_RTSCTS CK_SOCKS CK_SPEED CK_TAPI CK_TIMERS
CK_TMPDIR CK_TTGWSIZ CK_TTYFD CKFLOAT=double CKHTTP CKLEARN CKMAXOPEN=20
CKMAXPATH=255 CKREALPATH CKREGEX CKROOT CKSYSLOG CKTUNING CMDBL=32763
CMDDEP=64 DCMDBUF DEVNAMLEN=255 DYNAMIC FD_SETSIZE=64 FNFLOAT FOPEN_MAX=20
FORDEPTH=32 GFTIMER h_addr HADDRLIST HWPARITY IFDEBUG IKS_OPTION IKSDB
IKSDCONF INBUFSIZE=32768 INPBUFSIZ=4096 LINBUFSIZ=32773 MAC_MAX=16384
MACLEVEL=128 MAXDDIR=32 MAXDNUMS=4095 MAXGETPATH=128 MAXTAKE=54
MAXWLD=unlimited MDMHUP MSENDMAX=1024 NETCMD NETCONN NETDLL NETFILE NEWFTP
NO_DNS_SRV NO_PARAM_H NPIPE NT OBUFSIZE=32768 OS2 OS2MOUSE OS2ORUNIX OS2ORVMS
PARSENSE PATTERNS PIPESEND RENAME RLOGCODE SELECT SIG_V SO_DONTROUTE
SO_KEEPALIVE SO_LINGER SO_OOBINLINE SO_RCVBUF SO_SNDBUF SOL_SOCKET STREAMING
SYSUTIMEH TCP_NODELAY TCPSOCKET TIMEH TLOG TN_COMPORT TNCODE UIDBUFLEN=256
UNPREFIXZERO USE_MEMCPY VNAML=4096 WHATAMI z_maxchan=2 Z_MAXCHAN=2 ZXREWIND

byte order: little endian

sizeofs: int=4 long=4 CK_OFF_T=8 size_t=4 short=2 char=1 char*=4 float=4
double=8

floating-point: precision=16 rounding=1

[C:\ckwin\kermit\k95\] C-Kermit>

K95 Command Screen | Help: Alt-H | Terminal: CONNECT or Alt-X

See also: http://kermitproject.org/utf8.html