⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ckc211.txt

📁 KERMIT工具 这在办公室下载不了,很多人都没有载不到.
💻 TXT
📖 第 1 页 / 共 5 页
字号:
From me, not picked up by Jeff previously: . kstart() speedup: ckucns.c.1 Apr 2002.---K95 1.1.21---From Jeff, 4 Apr 2002: . More fixes for Telnet Com Port: ckuus4.c, ckudia.c, ckutio.c, ckcnet.c:   . network connections will check for carrier detect if SET     CARRIER-WATCH is ON.   This could have a potential conflict if     the option is negotiated and the carrier is off, but the site     requires login.   . modem hangup message generated since the dial module did not     believe that network modems could be reset with a DTR drop. . Version number adjustments: 8.0.203, 1.1.99: ckcmai.c. . Security: ck_ssl.[ch], ckuath.c.---C-Kermit 8.0.203---From Jeff, 6 Apr 2002: . Fix typo in HELP REMOTE HOST: ckuus2.c. . More Telnet Com Port fixes: ckctel.c, ckcnet.c, ckudia.c, ckutio.cFrom Jeff, 9 Apr 2002: . Fix autodownload problem: ckcfn[2s].c.Chiaki Ishikawa reported that in Linux (two different kinds), if you choosehardware parity, CONNECT, then escape back, the speed can change.  I trackedthis down to the following statement in ttvt():	tttvt.c_cflag &= ~(IGNPAR);	/* Don't discard incoming bytes */Somehow execution of this statement corrupted the speed words of the termiosstruct, which are entirely separate words that are nowhere near the c_cflagmember.  Anyway, the statement is wrong; it should be:	tttvt.c_cflag |= IGNPAR;	/* Don't discard incoming bytes */Fixing it cured the problem; don't ask me why.  ckutio.c, 9 Apr 2002.From Jeff:  fixes the problem reported by robi@hastdeer.com.au.  The request to  enter server mode was received while we were entering server mode.  But the server was waiting for the response to REQ_STOP sent to the  client.  Therefore, we weren't quite in server mode yet and the  request to enter server mode was rejected.  A check for the sstate  value solves the problem.  ckctel.c, 10 Apr 2002.Chiaki Ishikawa (CI) discovered the real cause for the speed changing problem.I was setting the IGNPAR bit in the wrong flag word: it should have beenc_iflag instead of c_oflag, silly me.  Fixed in ttvt() and ttpkt(): ckutio.c.I also did a thorough census of all the termio[s] flags to ensure each wasapplied to the right flag word -- they were, IGNPAR in the HWPARITY case wasthe only mistake.  CI also discovered that the speed words in the Linuxtermios struct are not used at all -- the speeds are encoded in anundocumented field of c_cflag, which explains the problem.  10 Apr 2002.Any use of \{nnn} character notation in a macro definition, loop, or otherbraced block caused an "unbalanced braces" parse error.  The backslash in thiscase is not quoting the open brace; it's introducing a balanced bracedquantity.  Special-cased in getncm(): ckuus5.c, 12 Apr 2002.The semantics of "if defined \v(xxx)" were changed in 8.0 to avoid obnoxiouserror messages when xxx was not a built-in variable (see notes of 19 Nov2000), such that "if defined \v(xxx)" would always succeed if there were sucha variable, even if it had no value.  The behavior that is documented in thebook (and also in ckermit70.html) and that we had in versions 6 and 7, wasthat IF DEFINED \v(xxx) would fail if \v(xxx) was defined but had an emptyvalue OR if it was not defined, and would succeed only if it was defined andhad a value.  Fixed in boolexp(): ckuus6.c, 12 Apr 2002.What about \function()s?  IF DEF \fblah() presently succeeds if the functionexists; you don't even have to give arguments.  I think this behavior is moreuseful than if I required valid arguments and then evaluated the function --you can do that anyway with 'if not eq "\fxxx(a,b)" "" ...'  Of course thisargument applies to "if def \v(xxx)" too, except that the current behavior isconsistent with the 7.0 behavior, so there is no need for a change.Kent Martin discovered that if a macro contains a LOCAL statement for avariable whose name is the same as, or a unique left substring of, the macro'sname, then undefining the local variable makes the macro disappear:  define DateDiff {    echo {DateDiff(\%1) executing...}  }  define Kent {    do DateDiff {2}    local date    assign date {}    do DateDiff {3}  <-- This fails (A)  }  do DateDiff {1}  do Kent  do DateDiff {4}    <-- So does this (B)The first part of the problem is that "assign date {}" called delmac withexact=0, so delmac evidently deleted first macro whose name started with"date" -- and since the only one was DateDiff, that's the one that wasdeleted.  Fixing this (change "delmac(vnp,0)" to "delmac(vnp,1)" in dodef())got us past A.  The second part was making the same fix to the delmac()call in popclvl().  ckuus[56].c, 13 Apr 2002.The INPUT command ignored the parity setting, thus SET PARITY EVEN,INPUT 10 "login:" didn't work.  Fixed in doinput(): ckuus4.c.  Also fixed abogus #ifdef COMMENT section that messed up the block structure of the moduleand therefore EMACS's indenting.  18 Apr 2002.Added sco32v500net+ssl and Added sco32v505net+ssl targets, from Scott Rochfordat Dell (not sure yet if they work).  Makefile, 19 Apr 2002.From Jeff, 22 Apr 2002: . Added "darkgray" color and made "dgray" an invisible synonym: ckuus3.c. . Fix carrier sense on Telnet Com Port immediately after dial: ckudia.c. . Change krb5_des_blah() arg list: ckutio.c. . Fix ttgmdm() for Telnet Com Port: ckutio.c. . Fix tthang() return code: ckutio.c. . Add aix43gcc+openssl target: makefile.From Jeff, 25 Apr 2002: . Fix SET GUI keyword table: ckuus[37].c. . A final fix to Telnet Com Port: ckctel.c, ckcnet.c.From Jeff, 26 Apr 2002: . Another final fix to Telnet Com Port: ckctel.c, ckudia.c.From Jeff, 27 Apr 2002: . separate the wait mechanism for TELNET SB COMPORT synchronous messages   from the asynchronous TELNET SB COMPORT MODEMSTATUS messages: ckctel.[ch] . fix debug messages in Certificate verify functions: ck_ssl.c, ckcftp.c.aFrank, 27 Apr 2002: . Fixed VMS zgetfs() to fail when file doesn't exist: ckvfio.c. . Fixed UNIX zgetfs() to check for null or empty arg: ckufio.c. . Added #include <time.h> for time() call: ckcmai.c. . Add casts to args in tn_wait() calls: ckctel.c.SINIX-P 5.42 (Pyramid architecture) makefile target from Igor Sobrado.makefile (no source-code changes), 1 May 2002.From Jeff, 5 May 2002, . Fix some "unknown host" messages: ckcftp.c. . Add more casts to tnc_wait() calls: ckudia.c. . Improvements to SHOW SSH, SHOW GUI: ckuus3.c. . Fixes to SET COMMAND { WIDTH, HEIGHT }: ckuus3.c. . Updates to ck_ssl.[ch], ckctel.c, ckcnet.c.Fixed the erroneous setting of ssh_cas during switch parsing rather thanafter cmcfm() in setlin(): ckuus7.c, 5 May 2002.setlin() decomposition (2300 lines), Part One:  . Copied a big chunk from the end of setlin(), beginning with net directory   lookup, but only the network-specific and common parts, to a new routine,   cx_net(), 900 lines. . Extracted many repetitious lines of error-message code from cx_net()   to a new routine, cx_fail().  Error messages are stored in slmsg, and   also printed but only if we were not called from a GUI dialog (and   QUIET wasn't set, etc etc).  Any adjutments in this policy can now be   made in one place. . I put a call to cx_net() in setlin() just before all the code it replaced.   It works for TELNET and SET HOST /TELNET. . Built with mkwatsol-k5k4ssl; after a couple fixes it builds OK and makes   Kerberized connections OK. . Copied the serial-port and common parts of the setlin() post-cmcfm()   code to another new routine, cx_serial(), about 275 lines.  Fixed   messages not to come out when called from GUI dialog, etc.  Inserted   a call to cx_serial() at the appropriate spot in setlin().  Tested   serial connections on watsun with "set line /dev/ttyh6", works OK. . Removed all the code from setlin() that was copied to cx_*().  This slims   setlin() down to 1120 lines.  Tested regular Telnet, Kerberized Telnet, and   serial connections again, all OK.  The Unix version of the SSH command is   OK too.setlin() deconstruction, Part Two:Now that we have the common network and serial connection pieces moved out ofsetlin(), we still need to move out the little code snippets for each networktype that take place between command confirmation and the common code we justreplaced.   As far as I can tell, this needs doing only for SSH.  The codelabeled "Stash everything" copied to cx_ssh() but I didn't remove the originalcode since I can't test this.  I think I'm done -- maybe I'm overlookingsomething but I don't know what...  First we need to test the heck out of itin all command-line versions (K95 and C-Kermit).  Then to use this fromthe GUI, see the calling sequences for cx_serial(), cx_net(), and cx_ssh(): . For serial or TAPI connections, the GUI should call cx_serial(). . For SSH connections, it should call cx_ssh() and then cx_net(). . For all other network connections, just calls cx_net().ckuus7.c, Cinco de Mayo de 2002.New ckuus7.c from Jeff, 8 May 2002.  Merge cx_ssh() into cx_net().  Also: Ihad made line[] an automatic variable, since the global line[] buffer is usedby almost every parsing routine in C-Kermit to hold string fields betweenparsing and execution but Jeff says he found that some code somewhere dependedon line[] containing the hostname after setlin() was finished.From Jeff, 10 May 2002: . Fix SET SSH STRICT-HOST-CHECKING parse: ckuus3.c. . Add prototypes for cx_net() and cx_serial(): ckuusr.h. . Add ANSI versions of cx_net() and cx_serial() declarations and supply a   missing parameter in the cx_serial() invocation, change SSHCMD cx_net()   invocation to new form.From Jeff, 16 May 2002: . ANSI strictness changes: ck_ssl.[ch] . New DIALER command: ckuusr.[ch] . Correction to how -0 turns off autodownload: ckuusy.c . Prototypes for GUI menu action functions: ckuusr.h. . Replace setting of GUI-action variables by function calls: ckuus[3457x].c . Fix FTP -z switch parsing: ckcftp.c. . Fix SET HOST testing of setlin() return code: ckuus3.cFrom Jeff, 18 May 2002: . Allow half-size GUI fonts: ckuus[35y].c.Fixed setguifont() to parse fractional font sizes and round to nearest halfpoint.  ckuus3.c, 18 May 2002.For GUI, wrote front ends for getyesno(), readtext(), and readpass(): . uq_ok() prints text and gets Yes/No, OK/Cancel, or just OK response.   This replaces getyesno() and can also be used for alert or help boxes. . uq_txt() prints text and gets a single text response.  Replaces   readtext() and readpass(). . uq_mtxt() is like uq_txt() but allows multiple text fields.  Replaces   any combination of readtext() and readpass().Obviously the #ifdef KUI portions of the uq_blah() routines need filling in.ckuusr.h, ckuus3.c, 18 May 2002.Converted selected getyesno() calls to uq_ok(): ckcftp.c, ckuus3.c, ckuus6.c.Some were not converted because it was inappropriate, e.g. DELETE /ASK; othersbecause they're in Jeff's code.  The most interesting conversions are in theDIAL command when DIAL CONFIRMATION is ON.  Here there is a dialog for eachphone number asking if it's OK (ug_ok()) and if not, asking for a replacement(uq_txt()); seems to work fine in C-Kermit.  All the candidates for uq_mtxt()are in Jeff's code.  18 May 2002.From Jeff: Convert remaining getyesno/readtext/readpass calls to uq_blah()so they can be GUI dialogs.  ckuus[37].c, ckcftp.c, ckuath.c, ck_ssl.c,21 May 2002.Added KCD command = CD to symbolic directory name (EXEDIR, COMMON, APPDATA,TMPDIR, etc etc).  ckuusr.h, ckuus[r25].c, 21 May 2002.From Jeff, 28 May 2002: . --title: commandline option: ckuusr.h, ckuusy.c . Fix some #includes, move some declarations: ckcfns.c . Change K95 version from Dev.00 to Beta.01 . ASK[Q] /GUI: ckuus6.c. . Various GUI screen updates and #ifdefs: ckuus7.c . Add missing cx_net() calls to new setlin() for file SuperLAT..: ckuus7.c . Updated uq_*() routines for GUI dialogs: ckuus3.c.Added GETOK switches (/TIMEOUT for all; /POPUP and /GUI for K95G):ckuus6.c, 29 May 2002.Added HELP SET GUI text.  ckuus2.c, 29 May 2002.From Jeff: . Another K95-specific #include for ckcfns.c. . More items for K95G Actions menu. . Change K95G Locus switching to call setlocus() rather than set variable. . Ditto for several other variables now settable from Actions menu.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -