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

📄 ckc197.txt

📁 C-Kermit源码。是使用串口/Modem和网络通讯的程序
💻 TXT
📖 第 1 页 / 共 5 页
字号:
makefile, ckuins.doc, 14 Aug 97.Straightened out the aforementioned mess with the modemp[] array.  Now thatwasn't so hard, was it?  ckudia.c, ckuus[34].c, ckuusr.h, 14 Aug 97.Changed mainline binary variable when switching automatically from text tobinary mode in VMS C-Kermit -- cosmetic only; should only affect thefile-transfer display.  ckvfio.c, 14 Aug 97.Changed SET EDITOR and SET BROWSER in VMS to parse text strings rather thanfilenames.  It turns out that zshcmd() (in VMS, a front end for LIB$SPAWN())can not run programs when given a filespec; it runs DCL commands, period --always has -- did I know that?  ckuus3.c, ckermit2.upd, 14 Aug 97.Added support for USR XJ1560 X2 56K modem.  ckuusr.h, ckudia.c, 14 Aug 97.Changed keyword parser to skip over CM_INV keywords when completing anabbreviation.  ckucmd.c, 14 Aug 97.Fixed some typos from yesterday's SCO work.  ckutio.c, 15 Aug 97.Discovered that "remote host xxx" followed by "get" did not work.  This wasyet another case of the i_isopen flag not being set (this time in syscmd()).I'm wondering now what the original idea was behind these stupid flags -- ohyeah, I remember -- calling fstats() would have the side effect of writing amisleading transaction log entry if the file had never been opened.  Anyway,all fixed now.  ckcfn[s3].c, 16 Aug 97.Fix from Jeff for tn_ini() -- make sure *all* Telnet protocol flags arereset.  ckcnet.c, 17 Aug 97.Miscellaneous minor corrections from compiling on many platforms.ckuusr.c, ..., 17 Aug 97.---Alpha.04---Changed USR X2 max speed to 115200.  ckudia.c, 18 Aug 97.Some tentative changes for Apollo SR10.  ckuusx.c, ckuver.h, 18 Aug 97.Some of the cmfld()-parsing SEND (etc) switches were not stripping braces.ckuusr.c, ckuus6.c, 19 Aug 97.Console modes were not being twiddled in the EDIT and BROWSE commands, whichaffected VMS (some editors would not echo when started).  ckuusr.c, 19 aug 97.Fixed a problem in which REMOTE HELP failed, caused by a rearrangement of thecode in opent() which, if it succeeded, it did not set a return value, so itsreturn value was random (i.e. system-dependent).  Now why didn't all thosestrict ANSI compilers notice?  ckcfn3.c, 19 Aug 97.The client end of REMOTE RENAME and REMOTE COPY have been broken since 6.0came out -- nobody noticed till just now.  The code that was added to parseredirectors wiped out the second field.  ckuus7.c, 20 Aug 97.Fixed broken RECEIVE XXX for XMODEM transfers and assorted other parsingproblems in doxget().  ckuus6.c, 23 Aug 97.Added CONNECT command switches: /QUIETLY              All but K95    (n/a) /IDLE-LIMIT:int       K95 only       int    tt_idlesnd_tmo; /IDLE-STRING:string   K95 only       char * tt_idlesnd_str; /TIME-LIMIT:int       K95 only       int    tt_timelimit; /TRIGGER:string       K95 only       char * tt_trigger_str;Like file-transfer switches, these are local to the specific CONNECT command,overriding, but saving and restoring, the global session-limit and othercorresponding settings.  /QUIETLY was already there, and it's still the onlyone that non-K95 users will see; session limits, etc, are implemented onlyin K95.  ckuusr.[ch], 23 Aug 97.Added partial completion of keywords.  ckuusr.h, ckucmd.c, ckcmai.c,23 Aug 97.Corrected a couple minor problems with partial completion and CONNECTswitch parsing.  ckuusr.c, ckucmd.c, 24 Aug 97.Discovered that if you typed Esc when entering a field parsed by chainedfdb's, nothing happened if the field had no default value -- in fact it shouldhave beeped.  Fixed in ckucmd.c, 24 Aug 97.Changed VMS zhome() to use SYS$LOGIN rather than HOME.  This is to avoid theproblem that occurred when using getenv(HOME) as a default for CD, and thatdirectory was defined as a search path -- e.g. SYS$SYSROOT:[SYSMGR] on acluster, where SYS$SYSROOT: was a list of disks, namely that you can't SETDEFAULT to a search list.  Reportedly using SYS$LOGIN: avoids this problemand seems to work OK otherwise.  ckuus5.c, 24 Aug 97.Spent a few hours trying to get the IRIX 6.2 version to compile with POSIXdefined (same deal as for SCO 5.0.4), but could not find a way to make itexecute the definitions & declarations for struct timeval and the select()related ones.  I finally gave up when I discovered that the IRIX 6.2 systemI was using for this didn't have the high serial speeds defined in any of itsheader files anyway.  25 Aug 97.Added /TRIGGER:string to UNIX CONNECT module.  ckucon.c, 26 Aug 97.Added SET TERMINAL TRIGGER to set global trigger, which can be overridden bylocal switch.  ckuus[s7].c, ckuusr.h, 26 Aug 97.Expanded trigger feature to allow up to 8 triggers, using the same notation asSEND /EXCEPT.  Changed makexcept() into makelist(), so it can be used to parseany {{s1}{s2}...{sn}} string into a list of pointers to s1, s2, ..., sn.Moved autoexitchk() to ckuusx.c, since it is portable and can be shared by allCONNECT modules.  Added \v(trigger) to give the value of the trigger that wasselected.  Added SHOW TRIGGER to display current SET TERM TRIGGER values.ckcdeb.h, ckuusr.[ch], ckuus[2457x].c, ckucon.c, ckermit2.upd, 27 Aug 97.Changed CONNECT to always reset triggerval (i.e. \v(trigger)) before goingonline, so that \v(trigger) refers only to the most recent CONNECT command.ckuusr.c, ckermit2.upd, 28 Aug 97.Added trigger support to VMS version.  Plus one last attempt at making VMSversion not lose "NO CARRIER" message.  ckvcon.c, 1 Sep 97.Added trigger support to AOS/VS version.  ckdcon.c, 1 Sep 97.Renamed warn variable to ckwarn to avoid conflict in BSDI 3.0.  Also addedsupport for high serial speeds in BSDI 2.0 and later (including a new makefileentry).  Many modules, 1 Sep 97.---Alpha.05---Changed VMS zhome() (again), this time from getenv("SYS$LOGIN") tosimply "SYS$LOGIN:".  ckvfio.c, 2 Sep 97.Still doesn't work -- now we try it without the colon (but only as the defaultfor "cd", since we need the colon in other contexts).  ckuus5.c, 4 Sep 97.Previous, cont'd...  Turns out Alpha VMS 6.2 chdir() doesn't work.  Got codefrom William Bader to use sys$setddir() instead.  Works OK, but (OF COURSEthere's a BUT) it applies to the whole job and not to just the Kermit process,so when Kermit exits, the user's default directory has changed to whateverKermit last CD'd to.Rework sending of A-packets so that multiple A-packets can be sent in case allthe attributes won't fit into a single packet: . Added an initialize flag parameter to sattr(). . Changed sattr() to return a positive number if it sent an A packet,   0 if it didn't have anything to send, or -1 on error. . Added a new util routine, maxdata(), to return size of data field, shared   by sattr() and getpkt(). . Recoded sattr() to fill data field with as many attributes as will   fit, marking each one as done, and returning when it can't fit any more,   or there are no more left, or no more that can fit even by themselves, and   to send the "end of attributes" attribute only after all attributes that   could possibly have been sent, were sent, provided at least one was sent. . Changed the protocol engine to keep calling sattr() until it says it has   nothing left to send.ckcker.h, ckcpro.w, ckcfn3.c, 6 Sep 97.Changed rpar() to not send I or S packets (or their ACKs) that are longer thanwhat the other Kermit asked for, again calling the new maxdata() function tofind out the length.  The parts that are chopped off from the end have theircorresponding settings defaulted automatically, overriding whatever the usermight have asked for.  ckcfns.c, 6 Sep 97.What about F packets in this context? -- if a filename is too long, it issimply truncated (in both the F/X packet and its ACK); there is no way in theprotocol to have continued file headers.  We could conceivably strip anypath info, but that would not always solve the problem, and anyway the usercan control this with a command.Added a new system-dependent routine to ckutio.c: ttspdlist().  It returns alist of speeds (as long ints) that are supported on the platform whereC-Kermit is being compiled.  Then in cmdini() we call this routine and buildour "set speed" keyword table on the fly when the program starts.  Thiseliminates (just for UNIX at first) the prebuilt speed keyword table with allthe #ifdefs, and problems keeping the BPS_xxxx symbol definitions in sync withthe tt[sg]speed() routines in all the ck?tio.c modules.  ckcdeb.h, ckutio.c,ckuus3.c, ckuus5.c, ckcplm.doc, ckccfg.doc, 7 Sep 97.Added ttspdlist() for VMS.  ckvtio.c, ckcdeb.h, 7 Sep 97.Added modem table entries for Rolm 244PC and 600 series.  ckuusr.h, ckudia.c,10 Sep 97.Added SET PRINTER PRINT command switches: /BIDIRECTIONAL, /DOS-DEVICE,/FLOW-CONTROL, /OUTPUT-ONLY, /PARITY, /SEPARATOR, /SPEED, /TERMINATOR,/TIMEOUT, /WINDOWS-QUEUE.  Only for K95 for now.ckuusr.h, ckuus3.c, 10 Sep 97.Made SHOW PRINTER show all these things.  ckuus5.c, 10 Sep 97.Added SET PRINTER /PIPE:xxx.  ckuusr.h, ckuus3.c, 11 Sep 97.Updated HELP SET PRINTER, ckuus2.c, 11 Sep 97.Made another attempt at straightening out the CD mess in VMS.ckv[ft]io.c, 12 Sep 97.Added \v(startup) to UNIX and VMS, ckuus4.c, ckufio.c, 12 Sep 97.Debugged VMS changes from 12 Sep.  ckvfio.c, 16 Sep 97.Added a reference to SET EXIT to HELP EXIT.  ckuus2.c, 16 Sep 97.Corrected various #ifdefs for building with various features deselected.ckcpro.w, ckuus6.c, etc, 16 Sep 97.---Alpha.06---Put SET TERM { AUTOSCROLL, AUTOPAGE } in #ifdef OS2.  ckuus7.c, 17 Sep 97.Put checks for and against modem signals, especially versus hardware flowcontrol, into the DIAL command, and also turned off hwfc during dialingautomatically for AT&T 19x0 modems.  ckuus6.c, 18 Sep 97.IF condition keyword was completely out of alphabetical order.  ckuus6.c,18 Sep 97."set host" to numeric IP address should not call gethostbyname() on anyplatform; previously it did this except in Windows.  ckcnet.c, 20 Sep 97.Fixes from Jeff to my fixes for RTS/CTS vs dialing from 2 days ago, ckcdeb.h,ckudia.c, ckuus6.c, 20 Sep 97.  NOTE: The right way to do this is to add a newsys-dependent ttdial() routine, to condition the device for dialing, whichdoes not overload the flow parameter; we'll do that later since it mustinvolve changing all the ck?tio.c modules.Fixes from Jeff to NEW SET PRINTER code for when they give a Windows printername as the final word of the command, rather than as a switch value.ckuus3.c, 20 Sep 97.Save and restore default or user-requested block check around protocol.ckcmai.c, ckcpro.w, 20 Sep 97.Change SET WINDOW parsing to give error message for X and Ymodem[-g], andchanged for ZMODEM to require that window size be a maximum of 64K, and nota multiple of 64.  ckuus3.c, 20 Sep 97.Changed SET RECEIVE PACKET-LENGTH to be usable only for Kermit protocol.In XYZMODEM, if you can change them at all, you have to do it to the sender.ckuus7.c, 20 Sep 97.Supplied missing error message for junk typed after "CONNECT" and thencompletion was attempted (e.g. "connect xxx<ESC>").  Chained FDB parsing canbe a bit tricky...  ckuusr.c, 20 Sep 97.Make SET SPEED 134.5 and SHOW SPEED for 134.5 work right.  ckuus[34].c,20 Sep 97.Fixed UNIX ttspdlist[] not to return two copies of "57600" if _B115200 wasdefined, oops (HPUX only).  ckutio.c, 20 Sep 97.Updated UNIX, VMS, etc, BWR and UPD files about lots of stuff.  20 Sep 97.VMS CMU/IP fixes from John Santos.  ckvtio.c, ckvker.com, 20 Sep 97.New makefile entries for all HP-UX versions from Peter Eichhorn.  20 Sep 97.Lots of #ifdef adjusting for building on many platforms with & without variousfeatures, assorted modules.  Builds OK on SunOS with various feature sets,HP-UX 10.20, AIX 4.1, SINIX 5.42, Linux, VMS 5.5, and passes basic runtimetests.  20 Sep 97.A couple corrections to yesterday's work from Jeff.  ckuus[37].c, 21 Sep 97.Changed minor version number from 0 to 1: 6.1.193.  ckcmai.c, 21 Sep 97.SET TERM AUTODOWNLOAD wasn't working right in UNIX -- the first packet ismissed, so we had to wait forever for a timeout before it kicked in.  Not surewhy it stopped working, but to fix it I changed the hokey mechanism that wasbeing used (i.e. throw the packet away and send a NAK) to what I should havedone in the first place -- put the packet in a global buffer, caching it forrpack(), and then actually using the one that kstart() recognized.  Of coursethis wasn't easy in UNIX with the forks and all (no matter wht you want to do,the *other* fork is always only place to do it)...  But now it works again,and it's much faster.  ckuus4.c, ckucon.c, ckcfn2.c, 21 Sep 97.Also removed NAK-sending code from autodown(

⌨️ 快捷键说明

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