📄 ckc197.txt
字号:
C-KERMIT 6.1-7.0 CHANGE LOG (Changes since 6.0.192 of 6 September 1996)Tue Feb 8 15:27:58 2000SET TCP UCX-PORT-BUG command added, November 1996.sdata() windowing loop to send packets could go too far if ACKs hadarrived out of order. Fixed in nxtpkt(). 9 Dec 96.SET SEND DOUBLE-CHAR and SET RECEIVE IGNORE-CHAR added, for transferringfiles with Honeywell DPS-6, and/or thru an Arpanet TAC. 10 Dec 96.ADD SEND-LIST followed by MOVE did not delete original files. Fixed inckuusr.c, 11 Dec 96.When C-K is in local mode, and sending a file using Kermit protocol, andsending an auto-upload string in advance, make it pause for 1.5 seconds togive the remote Kermit time to start up; otherwise, since all the ioctls atstartup time result in clearing the input buffer, the first packet is lost andwe have to wait a long time for the timeout to kick off the transfer. 1.5 secvs 8 sec. On the other hand, if the remote Kermit is already started, thisis a needless delay. OK, so make it 400 msec. This doesn't fix the problemin the default case (unless the remote system is really fast), but at leastnow there is a command-level workaround for the user: "set proto kermit{kermit -YQqr} {kermit -YQqr}", to make the remote Kermit start up faster;0.4 sec should be enough time to enter packet mode. ckcpro.w, 15 Dec 96.Added EDIT, SET EDITOR, SHOW EDITOR. This required adding a new parsingfunction, cmiofi(), to parse either the name of an existing file or the nameof a new file to be created. SET EDITOR can not be executed by APC unless APCis UNCHECKED, otherwise "edit foo" might become "delete foo". If the EDITcommand is given without a filespec, then if a previous filespec had beengiven to an EDIT command, it is used; if not, the editor is started without afile. If a filespec is given, the editor is started on that file, and thefilespec is remembered for subsequent EDIT commands. ckuusr.h, ckuus[r235].c,ckucmd.[ch], 15 Dec 96.Changed \v(filespec) to contain fully qualified filenames rather than relativeones. This allows \v(filespec) to actually find the file just downloaded, incase it went to a download directory, etc. This makes NETEDIT easy to do.ckuus[r6].c, 15 Dec 96.New CKVKER.COM and CKVOLD.COM from Lucas Hart fixes errors with GCC builds.25 Dec 96.Added -DNONAWS to AT&T 3Bx entries. 16 Jan 97.Added and modified SCO Xenix entries from Fred Smith. 26 Jan 97.Added and modified HP-UX entries from Peter Eichhorn. 26 Jan 97.Added -DNOINADDRX to all DG/UX 5.40 makefile entries. 1 Feb 97.Added an entry for SINIX-Z (Intel) 5.42. 1 Feb 97.Added "generic-high-speed" and Meghertz X-Jack modem types, 5 Feb 97.Fix to VMS isdir() (free() being called prior to using the item that wasfreed), causing CD not to work on Alphas with VMS 6.2. ckvfio.c, 17 Feb 97.Fixed \feval(m%n) not to dump core if n == 0, ckuus5.c, date unk.References to S82 in newer-model Hayes modems causes ERROR. Removed.ckudia.c, date.unk.Added STRATUS #ifdefs to ckusig.c, from Kernie Brashier. 7 Mar 97.Added Greek file and terminal charset translation: ISO 8859-7, CP869, andELOT 927. ck[cu]xla.[ch], ckuus[23457].c. 5 Apr 97.Made Stratus getchar/putchar changes to ckcdeb.h, ckudia.c, ckuus[457].cand uploaded to test area so Kernie B can make new builds. 6 Apr 97.Added IF OPEN ... ckuusr.h, ckuus[26].c. 6 Apr 97.Added \v(pid), UNIX only for now. ckcdeb.h, ckuusr.h, ckuus4.c. 6 Apr 97.Jeff's changes to sdata() (after sending each packet) and input() (when weget a timeout) to detect carrier loss. ckcfn[s2].c, 7 Apr 97.Added within #ifdef PIPESEND... CSEND, CRECEIVE, and SET XFER PIPES governinginterpretation of incoming filenames that start with "!", and alsocommand-line -s "!command", for UNIX. ckcdeb.h, ckcfn[s3].c, ckcpro.w,ckucmd.c, ckuusr.h, ckuus[r2345y].c, 9-13 Apr 97. Jeff also made them workfor Windows 95/NT and OS/2.Removed spurious and redundant code from ckcmai.c to read the applicationfile a second time (which is never executed because the application file namewas zeroed out), and then removed the code to zero out the name, so the filecan be deleted later if "set startup-file discard". 17 Apr 97.Added code to enforce that pipe transfers can be done only with Kermitprotocol. ckcfns.c, ckuusr.c, ckuusy.c, 17 Apr 97. NOTE: Actually, it isperfectly possible to receive to a pipe using XYZMODEM in K95, but since it isnot possible to send from one (because these protocols use fseek to recoverfrom errors and you can't fseek into a pipe), we just say "use Kermit".Added SET SEND FILTER and got it working -- needs a LOT of testing.ckuusr.h, ckuus3.c, etc etc, 17 Apr 97.Added \fcommand() and \frawcommand(); ckuusr.h, ckuus4.c, 18 Apr 97.Added \v(filename) -- current filename while sending and receiving -- and\v(filenumber) -- the current file number. 19 Apr 97.Overhauled the as-name code to provide for filename templates using\v(filename), \v(filenumber), etc, as well as \function()s... 19 Apr 97.Added \v(pexitstat) -- exit status of most recent process started by zxcmd,zshcmd, or ttruncmd(). ckuusr.h, ckuus4.c, ckufio.c, ckutio.c. 20 apr 97.Overhauled process-oriented routines in ckufio.c to give a proper return codeand to set the pexitstat value. In particular, zclosf() now fails if theclosed process did not return an exit code of 0. 20 apr 97.In working on the previous item, discovered that I could use wait() ratherthan waitpid() in ttruncmd(), and since wait() is totally portable, I enabledREDIRECT for all UNIX implementations as well as OS/2 & Windows. ckutio.c,ckcdeb.h. 20 Apr 97.Added tests to the protocol module to see whether closing the input file fails,which is what happens if we are using a pipe and or filter, and the process'sreturn code indicates failure. In this case we set the "cxseen" flag whichforces a failure condition on a per-file basis (in case of wildcard transferswith send-filter), which is reflected in BOTH Kermits. ckcpro.w, 20 Apr 97.Added invisible CQ command for all but OS2 & Win32 as an abbreviation forCONNECT /QUIETLY. ckuusr.[ch], 20 Apr 97.Changed SET { SEND, RECEIVE } FILTER to use the same syntax as as-names --\v(filename), string functions, etc, permitted -- rather than "%s". ckuus7.c, ckcfns.c, 20 Apr 97.Added \fstripx(), \fstripn(), \flop() string functions. ckuusr.h, ckuus4.c,21 Apr 97.Added file-protection/permission attributes within #ifdef CK_PERM..#endif.Enabled for UNIX only. Sender puts system-dependent and system-independentversions into the A packet. The system-dependent permission string for UNIXis a 3-digit octal string, the low-order 12 bits of the st_mode member of thestat struct; we deliberately chop off the "file format" bits because they areprobably not portable, nor do we convey the setuid/setgid bits, lock bit,sticky bit, etc; just the permissions. The file receiver checks to see if thesender has the same system ID; if so, it tries to decode the system-dependentpermissions, if any; if not, it uses the generic ones and applies them to theowner field. The main purpose is to not have to "chmod +x" an executable fileafter transfer between two UNIXes. ckcdeb.h, ckcmai.c, ckufio.c, ckcfn3.c,and (for SET, REMOTE SET, and SHOW ATTRIBUTES) ckuus5.c, ckuus7.c. 22 Apr 97.Added three more variables: \v(p_ctl) Control prefix char \v(p_8bit) 8-bit prefix char (if parity not none) \v(p_rpt) Repeat prefix char (if repeat compression enabled)ckuusr.h, ckuus4.c. 22 Apr 97.Merged Jeff's changes into ckuusr.h, 24 Apr 97.Merged Jeff's changes into ckcker.h, ckcmai.c, 3 May 97.Merged Jeff's changes into ckuusr.c; noticed that much of the PIPESEND codewas missing from Jeff's version. 3 May 97.Merged Jeff's changes into ckuus*.[ch] and other modules, 3 May 97.Merged Jeff's changes into ckudia.c, except the ones involving makestr(),which should be entirely unnecessary -- or if they are, then makestr() shouldbe fixed. 3 May 97.Made sure remaining modules were all in sync. 3 May 97.Added CK_ENVIRONMENT for UNIX/Aegis/Plan9: ckcnet.h, ckutio.c, 4 May 97.Added SET TELNET ENVIRONMENT { OFF, ON }. This is needed so scripts canbehave predictably, etc. Made OFF the default for UNIX, ON for OS/2 & friendsso as not to change existing default behavior. Added this to SHOW NET. Alsofixed a bug in Telnet NEW-ENVIRON negotiation. ckuusr.h, ckuus[234].c,ckcnet.c, 4 May 97.Added TELNET SEND_LOCATION negotiation, since a potential customer needed itdesperately and asked about it just as I was working on the NEW-ENVIRON stuff.Untested, though, since I can't find a host that uses it. ckcnet.c, 4 May 97.Added SOLARIS25 symbol and makefile entry for Solaris 2.5. Added support for134.5 and 1800 bps. Enabled 134.5, 1800, 57600, 76800, 115200, 230400 forSolaris 2.5. makefile, ckcdeb.h, ckutio.c, 4 May 97.Added casts to various function args (char vs uchar) to shut up pickycompilers. ckcfn[s23].c, 4 May 97.Added a fix for ATT 7300 UNIX PC to allow use by root when C-Kermit installedsetuid (e.g. to uucp), since System V R0 does not save original uid, fromRandolph J Herber <rjh@yclept.chi.il.us>. ckutio.c, 4 May 97.Added a new makefile entry for AT&T UNIX 3.51m, which added hardware flowcontrol for the AT&T 7300, resulting in a file-transfer performance boost ofabout 30%. Randolph J Herber, ckutio.c, 4 May 97.Added regular POSIX-style high speeds for Linux 1.2 and later, from Ted Ts'o<tytso@mit.edu>. This involved reconciling several different and conflictingpatches from the PATCHES file. Linux C-Kermit now supports serial speeds upto 460800bps. ckcdeb.h, ckuus3.c, ckutio.c, 4 May 97. Also, added a newmakefile entry, "linux", for Linux 1.2 and later. The old entry was keptunder the name "linux10", 4 May 97.Added support, makefile entry, and designer herald for OpenBSD, fromTodd Miller <Todd.Mill@courtesan.com>, ckuver.h, makefile, 4 May 97.All patches from the PATCHES file are now installed.Fixes from Jeff to my fixes. ckudia.c, ckcmai.c, ckcker.h, 6 May 97.Redid Telnet Location after a closer reading of RFC779, added SET TELNETLOCATION, added location to SHOW NET. ckcnet.c, ckuus3.c, ckuus4.c, ckuusr.h,6 May 97. The "send location" business works like this: . All code related to this feature is in #ifdef CK_SNDLOC, which is defined by default for all platforms (in ckcnet.h). . When Kermit starts, sysinit() does makestr(tn_loc,getenv("LOCATION")), so this needs to be added to all the non-UNIX sysinit()'s, perhaps using other more appropriate environment variable names, if any exist. . If tn_loc is not NULL, then tn_ini() sends WILL SEND-LOCATION. If the server says DO SEND-LOCATION, Kermit sends the string in an SB. . The C-Kermit user can change the location with SET TELNET LOCATION, and can defeat this feature by setting the location to the empty string. . If sysinit() does not fill in the initial value, the user can still use this feature by giving a SET TELNET LOCATION string prior to making the connection.Added SHOW TELNET since I keep typing it all the time anyway, and updated helptext, ckuusr.h, ckuus[245].c, 6 May 97.Also made numerous corrections to help text, some of which involved movingfeature-selection features (CK_ENVIRONMENT and CK_SNDLOC) from ckcnet.h tockcdeb.h. 6 May 97.Fix typos in yesterday's changes. ckcdeb.h, ckcnet.c, 7 May 97.Removed date-dependent dial-number hacks for France and Finland, since thedates are long past. ckuus6.c, 7 May 97.Finished SET DIAL { LC-PREFIX, LC-SUFFIX }. Changed this from LOCAL-PREFIX,LOCAL-SUFFIX because LOCAL is too long to type all the time and we already hada SET DIAL LOCAL-AREA-CODE (albeit invisible). The original names are stillthere but invisible. 7 May 97.Added SET DIAL LC-AREA-CODES [ <list> ] and display of it in SHOW DIAL.ckuusr.h, ckuus[234].c, 8 May 97.Filled in callisld() to return codes differentiating among (0) regular localcalls, (1) long-distance calls, and (2) local calls that still must dial thearea code, and changed dncvt() to use these codes for both well-formedportable phone numbers and free-form portable numbers. Also added code forlocal prefix and suffix for free-form portable numbers. ckuus6.c, 8 May 97.Add SET DIAL FORCE-LONG-DISTANCE { ON, OFF }. 8 May 97. ckuusr.h,ckuus[246].c.Automatically set the above to ON for SET DIAL COUNTRY-CODE 33 (France).ckuus3.c, 8 May 97.Fixed typo in #ifdef for "set speed 19200". ckuus3.c, 11 May 97.Added commands for modem speaker control, 11 May 97: Defined symbols in ckuusr.h. Variables defined in ckudia.c: int mdmspk (speaker on off) int mdmvol (modem volume) char * dialspon (speaker on command) char * dialspoff (speaker off command)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -