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

📄 ckc211.txt

📁 KERMIT工具 这在办公室下载不了,很多人都没有载不到.
💻 TXT
📖 第 1 页 / 共 5 页
字号:
  following was done.  All code (regardless of module) which outputs telnet commands is placed  into a mutex region to ensure that competing output threads do not result  in interleaving their output.  This could happen for instance when the  forward-x thread is forwarding data and the user changes the window size  or sends an AYT or BREAK.  Next the buffer used for input and output  processing were identical.  This means that output data could be treated  as input or vice versa.  Ugh....  I also spent some more time cleaning up setlin().  Mostly reorganizing the  code into single if (...) blocks so that breaking it up will be easier.ckctel.c ckuus7.c, 4 Jan 2002.Updated internal copyright notices.  All modules, 5 Jan 2002.From Jeff:  More of same, plus new makefile target and changes from Spike Gronim  for freebsd44+srp+openssl.ckcdeb.h ckcnet.c ckctel.c ckuus7.c ck_ssl.c makefile, 5 Jan 2002.Some minor updates and fixes to SSH and SET SSH help text.ckuus2.c, 6 Jan 2002.Added SET RGB-COLORS for GUI.  ckuusr.[ch], ckuus3.c, 6 Jan 2002.From Jeff: More Telnet changes, Debug semaphores for K95, etc: ckcdeb.h,ckuusr.h, ckuus[r35x].c, ckctel.[ch], ckuath.c, 7 Jan 2002.Added --xpos:n --ypos:n, SET GUI WINDOW POSITION x y, and changed SETRGB-COLORS to SET GUI RGBCOLOR.  Action needs to be filled in (in setguiwin()in ckuus3.c), and gui_xpos and gui_ypos need to be defined in cko???.c.ckuusr.h, ckuus[r3y].c, 7 Jan 2002.Added --fontname:name --fontsize:name (and facename as synonym for fontname).ckuusr.h, ckuus[7y].c, 7 Jan 2002.Moved GUI (not OS/2) SET TERM FONT code in ckuus7.c to its own routine,setguifont(), in ckuus3.c, and made GUI SET TERM FONT call this routine,and also made SET GUI FONT call the same routine.  ckuus[37].c, 7 Jan 2002.Added --termtype:, --height:, --width:, --user:.  Also added symbols for--telnet:, --ssh:, --ftp:, --[remote-]charset, and --password:, but didn'tfill them in.  --password: is probably not a good idea (but we allow it forFTP); the others involve a lot of code-shuffling and reconciliation, whichI'll try to do when I get a chance (especially the connection ones, whichcan be done as part of the setlin() restructuring).  ckuusr.h, ckuusy.c,8 Jan 2002.Also I tried commenting out the #ifndef KUI..#endif's around SET TERMINALCHARACTER-SET (easier said than done because a crucial #endif was mislabeled).Let's see if it compiles & works...  ckuus7.c, 8 Jan 2002Added FTP [ OPEN ] /NOINIT, meaning don't send REST, STRU, and MODE commandsupon making an FTP connection.  This allows connection to servers that closethe connection (or worse) when given these commands (e.g. Linux 2.4 TUX 2.0FTP server).  ckcftp.c, 8 Jan 2002.Looked at adding caller ID support for the ANSWER command: . SET ANSWER CALLER-ID { ON, OFF } . SET ANSWER RINGS <number> . \v(callid_xxx) xxx = { date, time, name, nmbr, mesg } . CKD_CID modem capability . Set CKD_CID for modems that have it. . A quick survey shows:   - USR V.90:      No (but Jeff says some USRs have it).   - V.250:         No   - Lucent Venus:  No   - USR:           #CID=1 (the ones that have it -- X2?)   - Diamond Supra: #CID=1   - Rockwell 56K:  #CID=1   - PCTEL:         #CID=1   - Zoltrix:       +VCID=1   - Conexant:      +VCID=1 . Since there are different commands to enable caller ID reporting,   we need a new field in struct MDMINF. . SHOW MODEM and SHOW DIAL would need updating. . etc etc...This is all way too much for now so I just did the setting of the \v(callid_*)variables.  These are reset at the beginning of an ANSWER command, and thenset by the ANSWER command if they come in; thus they persist from the timethey are collected until another ANSWER command is given.  To take advantageof autoanswer, the user has to enable it in the modem (all the modems I foundthat support it have it disabled by default), and also has to set the numberof rings to at least 2.  This can be done with (depending on the modem):  set modem command autoanswer on ATS0=2#CID=1\{13}  set modem command autoanswer on ATS0=2+VCID=1\{13}and undone with:  set modem command autoanswer on ATS0=1#CID=0\{13}  set modem command autoanswer on ATS0=1+VCID=0\{13}The variables can be accessed only after the call is answered.  Therefore theonly way to refuse a call is to answer it, inspect the variables, and thenhang it up if desired.  Future Kermit releases can do this more nicely (assketched out above.)  Also while I was in the dialing code, I added resultcode VCON (= VOICE), used by several of the newer modems.  These changes areuntested.  The SET ANSWER command is written but commented out.  ckuusr.h,ckcker.h, ckuus[r3].c, ckudia.c, 8 Jan 2002.From Jeff: fixes to --termtype:, --height:, --width:, --user:, and filling inof --rcharset:, which required extracting code from settrm() into a separateparse-method-independent remote character-set setting routine.  ckuus[7y].c,8 Jan 2002.From Jeff: More work on TERMINAL CHARACTER-SET code reorganization, andreinstatement of SET TERMINAL CHARACTER-SET in K95G.  Also, fix char/CHARwarnings in Telnet module.  ckuus7.c, ckctel.c, 9 Jan 2002.Made SET TERM CHARACTER-SET visible for all builds, including K95G, and filledin HELP text for it.  ckuus[27].c, 9 Jan 2002.Added help text for new extended options.  ckuusy.c, 9 Jan 2002.Commented out the return(-2) statement at the end of xgnbyte() to make the"Statement not reached" errors go away, after checking to make sure that therewas no path that could fall through to the end.  I'm 99.99% sure there isn't,but that doesn't mean that some compilers might not still complain.  ckcfns.c,9 Jan 2002.From Jeff: fix typo in the K95 extended-option help text; add moresemaphores to network i/o.  ckuusy.c, ckcnet.c, 10 Jan 2002.Undid ansiisms in set{lcl,rem}charset() declarations.  ckuus7.c, 10 Jan 2002.Removed a duplicated clause from the install target.  makefile, 10 Jan 2002.From Jeff: more semaphores.  ckcnet.c, 11 Jan 2002.Moved references to tmpusrid and tmpstring out of NOSPL #ifdefs -- they canbe used with NOSPL.  setlin(): ckuus7.c, 13 Jan 2002.Made a dummy dologend() routine outside of #ifndef NOICP, so we don't haveto enclose every reference to dologend in #ifdefs.  (I had added a bunch ofcalls to dologend() throughout the code to handle automatic LOCUS switching.)ckuus3.c, 13 Jan 2002.Moved "extern int nettype" outside of NOICP #ifdefs in ckuus4.c for NOICPbuilds.  13 Jan 2002.Moved a misplaced #ifdef in the VERSION command.  ckuusr.c, 13 Jan 2002.Did 81 different feature-selection builds on Linux (RH 7.0), all OK after thechanges listed above for today.  13 Jan 2002.Added prototypes for set{rem,lcl}charset().  ckcxla.h, 13 Jan 2002.Added ckcxla.h to dependencies for ckuusy.c.  ckvker.com, 13 Jan 2002.Made a correction to the HELP SET LOCUS text and supplied a missing commafor HELP REMOTE.  ckuus2.c, 13 Jan 2002.Built OK on HP-UX 11.11 (K&R and ANSI), Solaris 8 (cc), Solaris 2.5.1 (gcc),SunOS 4.1.3 (cc and gcc), VMS 7.1 (DEC C, net and nonet), Unixware 7.1.1,Tru64 4.0G, HP-UX 10.20 (K&R), AIX 4.3.3, FreeBSD 2.2.8, Slackware 8.0, IRIX6.5.13f, IRIX 5.3 (??? Can't tell -- the computer ran out of swap space -- butit was OK a few days ago), VMS 5.5-2 (VAX C, UCX + nonet)...  HP-UX 9.05, ...Some corrections to comments in HP targets from PeterE.  makefile, 14 Jan 2002.Corrections to prototypes for set{rem,lcl}charset() (VOID, not void) from Jeff.ckcxla.h, 14 Jan 2002.Builds, cont'd...  SINIX 5.42, Red Hat Linux 5.2 on i386, SuSE 7.0 on S/390, Red Hat 7.1 on IA64, QNX 4.25, HP-UX 5.21/WinTCP, ..., Dell Coleman <dell@aleph.tum.com> noticed that in AIX, the COPY command alwayssays "Source and destination are the same file" when the destination filedoesn't exist.  This is because in AIX, realpath() fails with ENOENT (errno2).  The zfnqfp() code already accounts for this, but evidently not wellenough.  So I did what I should have done long ago.  zfnqfp() was originallyaccomplished with do-it-yourself code.  Later I added support for realpath(),and partitioned the routine into mutually exclusive compile-time sections:#ifdef CKREALPATH realpath()... #else do-it-yourself... #endif.  But ifrealpath() failed, there was no recourse to the do-it-yourself code.  Today Ireplaced the #else with the #endif, so the do-it-yourself part is alwaysincluded and is executed if the realpath() call fails.  Built and tested onAIX 4.3.3 and Solaris 2.5.1, as well as on Linux with and without therealpath() code included.  zfnqfp(): ckufio.c, 16 Jan 2002.Separated K95 and C-Kermit test version numbers, so C-Kermit can be RC.02while K95 is Beta.01.  ckcmai.c, 16 Jan 2002.Inhibited 0-length writes by conol() and conoll(), since they cause bigtrouble with the AIX 4.3.3 pty driver, e.g. when you have an SSH connectioninto AIX and run C-Kermit there.  ckutio.c, 16 Jan 2002.Suppressed "Switching LOCUS..." messages from FTP client when it was invokedfrom the command line.  ckcfns.c, 17 Jan 2002.Dave Sneddon noticed that FOPEN /APPEND gets "?Write access denied" in VMSif the file exists.  This is apparently because VMS zchko() does the wrongthing.  Commenting out the call zchko() in the VMS case gets past this butthen the appended part of the file has different attributes than the orignalpart, e.g.:  abc  <- original line (horizontal, normal)  d    <- appended line (vertical)  e  fVMS fopen() takes an optional 4th argument: a series of RMS keyword=valuepairs.  Kermit doesn't give any.  Experimentation shows that appending toa Stream_LF works fine.  That'll be a restriction for now, until somebodysends in code to get the RMS attributes of the original file and feed themto fopen().  Also need code to fix VMS zhcko() to say whether it's OK toappend to a file.  ckuus7.c, 17 Jan 2002.Somebody suggested I could get a working Kermit for Neutrino 2+ by doing theQNX6 build on Neutrino itself.  I verified that this can't be done -- at leastnot by me -- since Netutrino 2+ doesn't have a compiler, and we already knowthe version cross-built for it on QNX4 doesn't work.  17 Jan 2002.From Jeff: SET SSH GSSAPI KEY-EXCHANGE { ON, OFF } parsing, SHOW SSH.ckuus3.c, 18 Jan 2002.PeterE suggested that SET ESCAPE allow 8-bit escape characters because of thedifficulty in entering Ctrl-\ on European keyboards and the hardship (e.g. toEMACS and VI users) of sacrificing another C0 control character.  Likeeverything these days, this turns out to be rather a bigger deal than it wouldseem.  The SET ESCAPE parser calls setcc(), which accepts control charactersin various formats (literal, ^X notation, or numbers), and gives an errorreturn if the value is not 0-31 or 127.  This is changed easily enough to alsoallow numbers between 128 and 255.  But who else calls setcc()?  The commandsfor setting Kermit packet start and end characters.  No big deal, this givespeople a bit more flexibility in case they need it, but it won't bedocumented.  setcc(): ckuus7.c, 18 Jan 2002.Since code to display the escape character is scattered all over the place,and some of it indexes into an array based on the character value (which wouldnow dump core if the escape character was > 128), I put the code in one place,a new shoesc() routine in ckuusx.c (which needs to be outside #ifndef NOICP,since the CONNECT modules use it even in command-line only builds).  Alsodiscovered that this code was indexing into the nm[] array with tt_escape toget "enabled" or "disabled", which is no longer appropriate, so fixed thistoo.  ckuusr.h, ckuus[5x].c, 18 Jan 2002.Made SHOW ESCAPE, SHOW TERM, and the various CONNECT modules call shoesc(),and updated HELP SET ESC.  ckuus[25].c, ckucns.c, ck[cuvd9]con.c, 18 Jan 2002.After all that, it occurred to me that this is a really bad idea for K95,with all the confusion about Console code pages, OEM code pages, Windowscode pages, and Unicode.  But I tried "echo \161" at the K95 prompt and gotthe expected 8-bit character in both the Console version and the GUI, somaybe it's OK after all.Removed the automatic IKSD login code from setlin() since it complicatesinteractive anonymous login.  ckuus7.c, 20 Jan 2002.An #ifdef clause from Matthew Clarke to avoid "redeclaration of free" errorwhen building a curses version of C-Kermit for AIX 2.2.1 on RT PC.  ckuusx.c,22 Jan 2002.Took care of one detail I omitted when adding the 8-bit escape character:not stripping the 8th bit before comparing the keyboard char with the escapechar.  ck[uv]con.c, ckucns.c, 24 Jan 2002.Started to go through Jeff's changes of the last week but he had run trim -ton them, which untabifies, so the diffs were huge.  Retabifying Jeff's filesonly makes matters worse.  So instead of comparing each old and new sourcefile in EMACS windows with M-X Compare-Windows like I usually do (which can'tbe told to ignore whitespace), I had to work from the diff -c -b listings.In ascending order of size of diffs:ckcker.h: Add I_AM_SSHSUB definition.ckuusr.h: XXLINK and VN_PERSONAL, etc, definitions.ckuusy.c: Support for "I Am SSHSUB" invocation.ckuus5.c: Support for new K95 directory structure.

⌨️ 快捷键说明

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