8   Usage: wermit [cmdfile] [-x arg [-x arg]...[-yyy]..] [ = text ] ] -x is an option requiring an argument, -y an option with no argument. actions: -s files send files -r receive files -s - send from stdin -k receive files to stdout -x enter server mode -f finish remote server -g files get remote files from server (quote wildcards) -a name alternate file name, used with -s, -r, -g -c connect (before file transfer), used with -l and -b -n connect (after file transfer), used with -l and -b settings: -l dev communication line device -q quiet during file transfer -j host network host name[:port] -i binary transfer (-T = text) -b bps line speed, e.g. 19200 -t half duplex, xon handshake -p x parity, x = e,o,m,s, or n -d log debug info to debug.log -y name alternate init file name -Y no init file -e n receive packet length -w write over files -v n sliding window slots -z force foreground -m name modem type -R remote-only advisory If no action command is included, or -S is, enter interactive dialog. Type HELP OPTIONS at the prompt for further info. ~8 Feb 20007.0.197C-KermitCopyright (C) 1985, 2000, The Trustees of Columbia University in the City of New York. All rights reserved. PERMISSIONS:The C-Kermit software may be obtained directly from the Kermit Project atColumbia University (or from any source explicitly licensed by the KermitProject or implicitly licensed by Clause (A) below) by any individual forhis or her OWN USE, and by any company or other organization for its ownINTERNAL DISTRIBUTION and use, including installation on servers that areaccessed by customers or clients, WITHOUT EXPLICIT LICENSE.Conditions for REDISTRIBUTION are as follows:(A) The C-Kermit software, in source and/or binary form, may be included WITHOUT EXPLICIT LICENSE in distributions of OPERATING SYSTEMS that have OSI (Open Source Initiative, www.opensource.org) approved licenses, even if non-Open-Source applications (but not operating systems) are included in the same distribution. Such distributions include, but are not limited to, CD-ROM, FTP site, Web site, or preinstalled software on a new GENERAL-PURPOSE computer, as long as the primary character of the distribution is an Open Source operating system with accompanying utilities. The C-Kermit source code may not be changed without the consent of the Kermit Project, which will not be unreasonably withheld (this is simply a matter of keeping a consistent and supportable code base).(B) Inclusion of C-Kermit software in whole or in part, in any form, in or with any product not covered by Clause (A), or its distribution by any commercial enterprise to its actual or potential customers or clients except as in Clause (A), requires a license from the Kermit Project, Columbia University; contact kermit@columbia.edu.The name of Columbia University may not be used to endorse or promoteproducts derived from or including the C-Kermit software without specificprior written permission.DISCLAIMER: THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE TRUSTEES OF COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT WARRANTY BY THE TRUSTEES OF COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE TRUSTEES OF COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK SHALL NOT BE LIABLE FOR ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. YOU SHALL INDEMNIFY AND HOLD HARMLESS THE TRUSTEES OF COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK, ITS EMPLOYEES AND AGENTS FROM AND AGAINST ANY AND ALL CLAIMS, DEMANDS, LOSS, DAMAGE OR EXPENSE (INCLUDING ATTORNEYS' FEES) ARISING OUT OF YOUR USE OF THIS SOFTWARE.The above copyright notice, permissions notice, and disclaimer may not beremoved, altered, or obscured and shall be included in all copies of theC-Kermit software. The Trustees of Columbia University in the City ofNew York reserve the right to revoke this permission if any of the termsof use set forth above are breached.For further information, contact the Kermit Project, Columbia University,612 West 115th Street, New York NY 10025-7799, USA; phone +1 (212) 854 3703,fax +1 (212) 663 8202 or +1 (212) 662 6442, email kermit@columbia.edu,Web http://www.columbia.edu/kermit/ or http://www.kermit-project.org/. Entering server mode. If your local Kermit software is menu driven, use the menus to send commands to the server. Otherwise, enter the escape sequence to return to your local Kermit prompt and issue commands from there. Use SEND and GET for file transfer. Use REMOTE HELP for a list of other available services. Use BYE or FINISH to end server mode. /etc/iksd.confKermitXMODEMXMODEM-CRCYMODEMYMODEM-gZMODEMOtherU1nonexon/xoffrts/ctsdtr/cdetx/ackstringxxx1xxx2dtr/ctskeepautoremotedirect-serialmodemtcp/ipx.25decnetlatnetbiosnamed-pipesshpipe0anonymousA1Apple IIA3MacintoshD7VMSDARSTS/EDBRT11F3AOS/VSI1VM/CMSI2MVS/TSOI4MUSICI7CICSI9MVS/ROSCOEK2Atari STL3AmigaMVStratus VOSN3Apollo AegisUNIXU8MS-DOSUDOS-9UNWindows-32UOOS/2*.txt*.c*.h*.r*.w*.cpp*.ksc*.bwr*.upd*.html*.htm*.mss*.tex*.nr[Mm]akefile*.hex*.hqx*.for*.f77*.f*.F*.s*.pas*.java*.el*.lisp*.sh*.perl*.awk*.sno*.spt*.sed*.TXT*read.me*READ.ME.**/.**.gz*.Z*.tgz*.gif*.tar*.zip*.o*.so*.a*.out*.exe*.jpg*.jpeg*.tif*.tiff*.pdf*.so.**.class*.rpm*.bmp*.bz2*.BMP*.dll*.doc*.vxd*.xl**.lzh*.lhz[wk]ermitisabsoluteisabsolute rcinitflowinitproto spsizinitproto spsizrikslogin clienthost Internet Kermit Service ready at %s%s C-Kermit ready at %s%s %s MAIN clienthostlogin loopMAIN LOGIN tryTELOPT_SB(TELOPT_KERMIT).kermit.me_startMAIN LOGINIKSD starting in server modeIKSD starting with Username promptAccess denied. Login Timeoutinserverdotakeinisstelnetmain executing init filemain exits init fileInterrupt during initialization or command-line processing.C-Kermit quitting...cl_commandsckcmai got interruptmain cmdfil\%0Interrupt during initialization or command-line processing.setprefix%s %s-., Kermit versiontelnetrloginiksdhowcalledmain cmdini() doneMAIN feolmain: no memory for keymapmain: no memory for macrotabCan't initialize!ckcmai mynamerx %ssx -a %ssx %src %srbsb -a %ssb %srzsz -a %ssz %skermit -xkermit -rkermit -ir{{./.readme}{README.TXT}{READ.ME}}Can't allocate i/o buffers!main ckhostCan't open device: /dev/ttyCan't allocate packet buffers!main about to call ttopen() inservercan't initialize i/oMAINmain SO_OOBINLINEmain argc after prescan()main about to cc_executemain 2 cfilefmain argcmain zstatemain setting interrupt trapzoutbuffer mallocgetiobs okC-Kermit library, 7.0.009, 29 Nov 1999NULSOHSTXETXEOTENQACKBELBSHTLFVTFFCRSOSIDLEDC1DC2DC3DC4NAKSYNETBCANEMSUBESCFSGSRSUSXXXBPHNBHINDNELSSAESAHTSHTJVTSPLDPLURISS2SS3DCSPU1PU2STSCCHMWSPAEPASOSSCICSISTOSCPMAPCNBSDELSHYmakelist smakelist elementmakelist last element...MAKESTR MALLOC FAILURE ckmatch stringckmatch patternckmatch skip$@fileselectfileselect fdatefileselect safileselect sbfileselect snafileselect snbfileselect filesizefileselect minsiz skippingfileselect maxsiz skipping*.~[0-9]*~fileselect skipping backupfileselect xlist emptyfileselect xlistfileselect skippingfileselect selecting-10chknumevenoddmarkspacenoneinvalid%02ld:%02ld:%02ldUNIX Communications support, 7.0.231, 31 Dec 1999 QNX 32-bit/dev/ttynonesetuphangupresetcloseLINESxttgwsiz LINESCOLUMNSxttgwsiz COLUMNSchars waitingle_inbufbuffer is fullle_putcharle_putsle_putstrttgwsiz QNX rttgwsiz QNX c***************SIGHUP receivedsysinit calling priv_iniFatal: setuid failure. Fatal: setgid failure. Fatal: C-Kermit setuid to root! sysinit ttyname(0)sysinit CTTNAMsysinit cttnamsysinit uname machinesysinit uname sysnamesysinit uname releasesysinit uname versionUSERsysinit uidbuf from USERLOGNAMEsysinit uidbuf from LOGNAMEsysinit uidbuf from whoami()sysinit final uidbufJOBACCTPRINTERDISPLAYUNIXLOCATIONsysinit startupdirttopen telnetfdttopen entry modem ttyfd lclttopen MAXNAMLEN *NOT* definedttopen BSD4 *NOT* definedttopen BSD42 *NOT* definedttopen MYREAD definedttopen ttnamettopen ttnmsvttopen netttopen got open network fdttopen PTY: nopushttopen PTYttopen pipe: nopushPipe errorFork errorwfdopen failurettopen net xttopen got open fdttopen fdflagttopen timottopen xlocalttopen alarmmodemttopenttopen ttyfdttopen alarm returnttopen errnottopen EACCESS/dev/null%s is not a terminal device ttopen not a ttyttopen ttname=CTTNAMttopen ttname=cttnamttopen ttyname(ttyfd) xlocalttopen setting ttyfd = 0ttopen stdio redirectedttopen ttlock failsttopen tcgetattr ttold.c_lflagttopen tcgetattr ttraw.c_lflagttopen tcgetattr tttvt.c_lflagttopen calling carrctlttopen carrctl okttopen tcsetattrttopen ttspeedttopen *lclttopen lock filettclos ttyfdttclos netconnttclos xlocalttclos closing netttclos ttyfd after netclosttclos about to call ttunlckWarning, problem releasing lock ttclos alarmttclos ALARM TRAP errnottclos() timeout: %s ttclos Attclos calling tthang()ttclos tthang()ttclos Bttclos calling ttres()ttclos ttres()ttclos Cttclos calling closettclos close()ttclos D?WARNING - close failed: %s errno = %d ttclos failedttclos donetthang POSIX styletthang tcgetattrtthang cfgetospeedtthang cfgetispeedtthang cfsetospeedtthang cfsetispeedtthang tcsetattr B0tthang cfsetospeed prevtthang cfsetispeed prevtthang tcsetattr restorettres BSD44ORPOSIXttres resultttres return codettlock QNX open_countWARNING: "%s" looks busy... NOLOCKtthflow QNX entry statustthflow QNX getattr failsttpkt parityttpkt xflowttpkt speedttpkt ttpmskttpkt netconnttpkt calling ttsspdttpkt ttsspd resultttpkt 2 stopbitsttpkt 1 stopbitttpkt 8 bits + even parityttpkt 8 bits + odd parityttpkt 8 bits + invalid parityttpkt calling tcsetattr(TCSETAW)ttpkt BSD44ORPOSIX tcsetattr(TCSADRAIN) failttpkt successttsetflowttvt ttyfdttvt tvtflgttvt speedttvt flowttvt network connection, skipping...ttvt modes already set, skipping...ttvt using external fd, skipping...ttvt setting modes...ttvt SVORPOSIX flow XON/XOFFttvt SVORPOSIX flow NONEttvt SVORPOSIX flow KEEPttvt SVORPOSIX flow HARDttvt 8 bits + even parityttvt 8 bits + odd parityttvt 8 bits + invalid parityttvt donettsspd cpsttsspd ttyfdttsspd xlocalttsspd okttsspd sttsspd failsttsspd tcgetattrttsspd tcsetattrcongspdttgspd ttyfdttgspd cfgetospeed 1 POSIXttgspd cfgetospeed 2 BSDORPOSIXttgspd codettgspd speedttpushback nttpushback my_countmygetbuf IMPROPERLY CALLED with my_countmygetbuf readmygetbuf errnomygetbuf TCP errormygetbuf SERIAL errorSVORPOSIX myfillbuf calling read()SVORPOSIX myfillbufSVORPOSIX myfillbuf ttcarrSVORPOSIX myfillbuf errnottinl calling tn_doop()txttinl tn_doop() returnedu_start and !inserverme_start and serverttflux my_countttflui le_inbuf chttflui ttpipettflui netfluittflui ttyfdttflui POSIXconbgt process group testjcNOJCconbgt jcconbgt osigintconbgt signal testconbgt isatty testconbgt backgrdconint backgrdconint jcconint background ignoring signals, jcconint foreground catching signals, jcconnoi%din_chk entryin_chk ttyfdin_chk ttptyin_chk ttpushin_chk carrier lostin_chk close-on-disconnectin_chk FIONREAD return codein_chk FIONREAD countin_chk FIONREAD errnoin_chk my_countin_chk nin_chk resultttxin MYREADttxin myread returnsttxin xttol sttol dblflagttol doubledttol tryttol okttol write errorttol TCP errorttol partialttoc timeoutttoc flowttoc tcflowttoc errnottinl maxttinl timottinl alarmttinl timoutttinl startttinl eolttinl unsavingttinl myread failure, nttinl myread errnocontinuingttinl EINTR myread iclosingttinl non-EINTR -3ttinl network myread failure^%c... Canceled... ttinl skippingttinl lengthttinl extended lengthttinl bad seqttinl EOP lengthttinl ittinl csavedttinl removedttinl got eolttinl senses parityttinl packet beforettinl packet after ttinl gotttpushttincchttinc le_getcharttinc error on ptyttinc myreadttinc restoring oldalarmttsndb ttyfdsndbrk POSIXttwait select errnottwait OKttwait select xmsleep SELECT 1msleep SELECT 2msleep QNX selectgtimer%fgftimer.A{Gzt?ztime GFTIMER gettimeofdaycongm getting modesconcb cgmfconcb backgrdconcb ttyfdconcb ttfdflgconcb isattyconcb suspendconcb cccbrk.c_flagconcb c_cc[VINTR]concb returnsconbinconres cgmfconres isatty okconres restoring tcsetattrconchk contypttinc LocalEchoInBufconinc(0) errnoconinc timeout logic errorconinc alarm setconinc(timo) nconinc(timo) errnottscarrcarrctl?Sorry, device is not open ttruncmd fail: nopushttruncmd systemttruncmd waitttruncmd wait statuspttruncmd wait pexitstat:%s%s %s UNIX File support, 7.0.156, 30 Dec 1999 QNX 32-bitrm -f cp mv pwd ls -l cat Maillpdf who echo/usr/adm/wtmp.1WTMP open failedWTMP write errorWTMP record OKcksyslog s1cksyslog s2cksyslog s3%s: %s %scksyslog errno/var/log/iksd.logdoiklog openxferlog open failure %s: %mdoiklog open errnoxferlog: %s open okzopeni namezopeni called with ZSYSFN, failing!Terminal input not allowedzopeni: attempts input from unredirected stdinrzopeni fopenzopeni fullnamefile[%d] %s: open failed (%m)file[%d] %s: open read okzopenozopeno fcb dispzopeno fcb typezopeno fcb charzopeno fcb is NULLzopeno fp[n]=stdoutwazopeno appendzopeno fullnamezopeno fopen argzopeno failed errnoappendcreatefile[%d] %s: %s failed (%m)zopeno zobufsizezopeno ZOFILE nonblockingzopeno ZOFILE unbufferedfile[%d] %s: %s okzopeno okzclosezclose zclosfzclose zclosf fp[n]zclose fclose failszclose error flushing last bufferzclose iklogopen*ikskermit_%.24s %d %s %ld %s %c %s %c %c %s %s %d %s zclose iksdmsgzclose returnszsinl zchin failzsinlzinfill kactiveZINFILL feofzinfill calling ttwaitzinfill ttwaitZINFILL freadZINFILL ferrorZINFILL errnoZINFILL count 0 EOF return -1ZINFILL count 0 not EOF return -2 %czoutdump zoutcntzoutdump wrotezoutdump write errorzoutdump write returnschkfn out of range/dev/nullSTATzgetfs S_ISLNK needrlinkzgetfs readlinkzgetfs readlink errnozgetfs readlink resultzchki stat failszchki not regular filezchki stat ok:zchki access failed:zchki access ok:zchkozchko: Malloc error 46 zchko izchko itsadir.zchko access failed:zchko access ok:zdeletzdelet fullnamefile[] %s: delete failed (%m)file[] %s: delete oknzrtol name.%snzrtol fullnamenzrtol sizing MAXNAMLENnzrtol sizingNONAMEnzrtol new namezstrip beforezstrip after tilde-strippingzstrip afternzltor name.././nzltor fullnamenzltor name2zchdirzchdir 2zchdir 3HOMEzgtdir SVORPOSIX CWDBLzxcmd fails: nopushzxcmdzxcmd outzxcmd pipe failure/bin/shzxcmd pidSHELLgetpwuid()zxcmd shpath-czxcmd fork failurezxcmd fcntl 1 pipe flagszxcmd fcntl 2 resultzclosf filnumzclosf outzclosf pclosezclosf pexitstatzclosf fp[filnum]zclosf fp[ZSYSFN]zclosf killing pidzclosf wait statuspzclosf wait pexitstatzxpand entryzxpand xdironlyzxpand xfilonlyzxpand fn 1zxpand fn 2zxpand isdir 1zxpand fn 3zxpand okzxpand fcountnzxpandnzxpand xdironlynzxpand xfilonlynzxpand xmatchdotnzxpand xrecursivenzxpand xnobackupznextznewn suffix removalznewn suffix removal 2znewnznewn max 1znewn max 2znewn namepartznewn len.~*~znewn A matches.~%d~znewn A new nameznewn B deltaznewn B matchesznewn B new namezrename oldzrename new/zrename dirzrename no dirfile[] %s: rename to %s failed (%m)file[] %s: renamed to %s okzcopy src argzcopy dst argzcopy files identical: stat()source file not foundzcopy srczcopy dst 1zcopy files identical: strcmp()zcopy source is directoryzcopy dst 2zcopy open sourcezcopy open destzcopy final readzcopy errnofile[] %s: copy to %s failed (%m)file[] %s: copy to %s okzgperm----------%ozipermzsattr buf.st_mode & 0777zsattr lpermszsattr gpermsU1zdtstr timearglocaltime returns nullzdtstr tm_yearzstrdt YEAR-2000 ALERT 1: localtime yearzdatstr year%04d%02d%02d %02d:%02d:%02dzdatstrzfcdatzfcdat statzfcdat lstat failedzfcdat buffer.st_mtimezstrdtBad creation date zstrdt date check 1zstrdt date check 2zstrdt date check 3zstrdt so far so goodzstrdt yearzstrdt fails - yearzstrdt 4 bad date zstrdt 6 bad date zstrdt 9 bad date zstrdt 12 bad date zstrdt 15 bad date zstrdt tmx 1zstrdt tmx 3 (DST)zstimezstime datezstime: nothing to dozstime: zstrdt failszstime: tmzstime: A-pkt date ok zstime: Can't stat file:zstime lpermszstime gpermszstime system idzstime file perms beforezstime isguestzstime ckxpermszstime isguest sb.st_modezstime octal lpermzstime mask 1zstime mask 2zstime gprotectzstime S_IRUSRzstime S_IWUSRzstime S_IXUSRzstime mask xzstime mask x|maskzstime flagzstime S_IFMT x%04ozstime file perms afterzstime: sb.st_atimezstime setpermszstime DIRECTORY bit onzstime DIRECTORY bit offzstime chmodzstime 0: can't set modtime for filezstime 0: modtime set for filezstime 1: comparepacketmail %s < %szprint filezprint flagszprint printernamezprint printpipecat %s | %scat %s >> %s%s %s < %szprint command%s %ssplitpath**splitpath mallocsplitpath malloc failuresplitpath xpatlastSPLITPATHfgen patfgen current directoryfgen stathackfgen scratchfgen xpatslashfgen string spacefgen can't malloc string space fgen xpatfgen xpatlastfgen xpatabsolutefgentraverse add: end of path segmenttraverse entry sofartraverse entry xpattraverse entry xpatlasttraverse entry pl -> nparttraverse xpatslash absolutetraverse xpatslash relativetraverse xpatslash ckmatchtraverse add: recursive, match, && !isdirtraverse sofar 2traverse segisdirtraverse itswild traverse existstraverse not foundtraverse sofar 3traverse opening directorytraverse opendir()traverse opendir() failedtraverse skippingtraverse add: recursive && isdir && segisdir or matchtraverse mresult xpattraverse mresult pl -> nparttraverse mresult sofar segisdirtraverse mresult sofar itsadirtraverse mresult xmatchdottraverse mresult s1 kludgetraverse mresult depthtraverse mresult xpatslashtraverse mresult nambuftraverse mresult itswildtraverse mresult segisdirtraverse add: match && !itsadiraddresultaddresult skipaddresult ARRAY FULLaddresult OUT OF SPACEaddresult ADDLOGNAMEtilde_expand?Privilege cancellation failure shz_exec commandz_exec arg 0z_exec arg 1z_exec tz_exec errno-iisdir statisdir errnoisdir S_ISLNK islinkisdir islinkisdir statbuf.st_modezmkdirzmkdir tilde_expandzmkdir tp after tilde_expansionzmkdir makingzmkdir failed, errnozfseekOLD zfnqfp fnamezfnqfp xpzfnqfp realpath failszfnqfp realpath pathzfnqfp realpath name?Local resource failure: malloc getpwnam()sgetpwnamuserzvuser ckxsyslogzvuser CKSYSLOG definedlogin: user %sftpanonymouszvuser anonymous ckxanon(unknown host)login: anonymous login not allowed: %szvuser anon forbidden by ftpusers filelogin: anonymous login forbidden by ftpusers file: %szvuser anon sgetpwnam(ftp) OKzvuser anon sgetpwnam(ftp) FAILEDlogin: anonymous getpwnam(ftp) failed: %szvuser sgetpwnam ok/usr/bin/bashzvuser shellzvuser checkuserzvuser refused 1login: invalid shell %s for %s %szvuser refused 2login: %s login forbidden by ftpusers file: %szvuser sgetpwnam NULLlogin: getpwnam(%s) failed: %scheckuser name/etc/ftpuserscheckuser userfilecheckuser linecheckuser REFUSEDcheckuser OKlogoutWTMP logoutiksdckermitzsyslog syslog openedxxxxxx(null)zvpasslogin: anonymous guests must specify a passwordxxzvpass deniediks_%04xWTMP loginzvpass anon chrootzvpass anon chroot FAILEDzvpass anon chdir FAILEDzvpass anon chroot/chdir OKzvpass non-guest chdir FAILEDzvpass non-guest chdir OKzvpass setuid FAILEDzvpass setuid OKGUEST fncact=Ranonymous:Anonymous login. login: anonymous %s %sUser %s logged in. login: %s %sUSER=%sLOGNAME=%sHOME=%szvpass guestzvpass zvunamezvpass guestpasszvpass dirzvpass homezvpass anonrootC-Kermit functions, 7.0.187, 20 Dec 1999DisabledLocal onlyRemote onlyEnabledError receiving filerenamereplacebackupappenddiscardaskupdate SERIOUS ERROR: encstr data == NULLencstrencstr memptr 1encstr spsizencstr getpkt rcencstr string too bigputfilputfil zchout write error, setting czseenputfil zchout write error, setting czseenBDECODEbdecode write error - errno%cxpnbyte RESETxpnbyte axpnbyte UTF-8 conversion errorxpnbyte haveucxpnbyte uc.x_short Axpnbyte feolxpnbyte uc.x_short Bxpnbyte bufxpnbyte ucxpnbyte sjxpnbyte euxpnbyte bad euxpnbyte impossible combinationxpnbyte BAD FALLTHRUDECODEdecode write errnomaxdata spsiz 1maxdata spsiz 2maxdata len 1maxdata len 2SERIOUS ERROR: bgetpkt data == NULLbgetpkt bufmaxbgetpkt timeout sizebgetpkt: input errorbgetpkt empty filexgnbyte SEND from bufxgnbyte 1st UCS2xgnbyte UCS2 goodbom swapxgnbyte UCS2 badbom swapxgnbyte UCS2 no BOM X swapxgnbyte UCS2 no BOM Y swapxgnbyte UCS2xgnbyte UTF-8 input errorxgnbyte UTF8->UTF2XGNBYTE EOFXGNBYTE xXGNBYTE KANA SJxgnbyte zminchar 1[UNICODE][other]xgnbyte thischarxgnbyte uc eolxgnbyte xx rcxgnbyte xx ucxgnbyte UCS->EUC UCSxgnbyte UCS->EUC EUCxgnbyte UCS->EUC xlabuf[0]xgnbyte UCS->EUC xlacountxgnbyte UCS->EUC rcxgnbyte decoding errorxgnbyte xcxgnbyte ucs2_to_utf8 errorxgnbyte UTF8 buf[0]xgnbyte UTF8 xlabufxgnbyte UTF8 xlacountxgnbyte errorxgnbyte send CRLFxgnbyte send feolxgnbyte to UCS2 BExgnbyte to UCS2 LExgnbyte cxgnbyte xlaptrxgnbyte xlacountBAD BAD xgnbyte bad xlatypeSERIOUS ERROR: getpkt data == NULLgetpkt first uflaggetpkt first rtgetpkt zkanji: input errorgetpkt zkanji: empty string/filegetpkt: empty stringgetpkt funcstrgetpkt xgnbytegetpkt zminchar Agetpkt zminchar Bgetpkt timeout sizegetpkt: input errorgetpkt empty filegetpkt 1st chargetpkt eof crc16getpkt eof ffcgetpkt nleftxgnbyte B zmincharxgnbyte C zminchargetpkt EOPgetpkt leftovergetpkt osizegetpkt eof/eottinit flagtinit spsiztinit timinttinit winlotinit getsbufpktinit winloTransaction beginsbinarytextGlobal file mode:Collision action:rinit fncactresetc fsizefnlist: no memory for cmargbuffnlist nfilsfnlist cmargfnlist cmarg2stdinCalibrationsinit xpsinit gnfilToo many files match wildcardCancelledRead access deniedFile is not readableNo files matchFile not foundsinit nfilssinit filnamsinit oksipkt pktnumsipkt ksipkt getsbufxsinit krcvfil rdatapCALIBRATENONAMEAccess deniedrcvfil rcvexceptrcvfil skippingException listrcvfil discard refused: exception listrcvfil cmarg2rcvfil srvcmd 2rcvfil access deniedWrite access deniedrcvfil srvcmd 1Receiving!%srcvfil pipesendrcvfil rcvfilter rcvfile pipesend filterrcvfil pipename?Sorry, receive filter + filename too long, %d max. Name too longrcvfil asrcvfil dirflgrcvfil ofn1x/dev/nullrcvfil existsrcvfil permsrcvfil fncactrcvfil appendCan't append to a directory error - can't append to directory appending toCan't rename existing directory error - can't rename directory backup:rcvfil backup ofn1rcvfil backup ofn2 refused: namercvfil overwriteCan't overwrite existing directory error - can't overwrite directoryoverwritingrcvfil updateFile has same name as existing directory error - directory exists:rcvfil bad collision actionrcvfil ofn1rcvfil ofn2rcvfil ofpermsrcvfil calling zmkdirzmkdir fails error - directory creation failure:Directory creation failure. path created:rcvfil fspecrcvfilx: nrcvfilx: ofn1rcvfil fpfsecsreof fncactreof discardreof discardingreof successreof cxseenreof czseenreof rdatapreof closf moving received file toreof MOVE zrenamereof RENAME zrename renaming received file toreof returnssfile xsfile send filter sfile cmarg2sfile binary 1sfile wearealikesfile xfermodesfile tcharsetsfile binary 2sfile sendmodesfile pktnamsfile fnspathsfile fncnvsfile calibratesfile pipesendsfile sndfiltersfile xpathsfile xfncnvFILE%02ldsfile filnam 1sfile pktnam 1sfile pipesend filtersfile pipename?Sorry, send filter + filename too long, %d max. sfile filnam 2sfile pktnam 2sfile error - Recover vs TextRecovery attempted in TEXT mode: %ssfile X packetsfile binarySendingsfile q as mode: binary mode: text file character settransparent xfer character setSending from:SFILE fpfsecsSFILE fsecssdata entry, firstsdata drainsdata draining, winlosdata sbufnumsdata countdownsdata streaming pktnumsdata nxtpkt pktnumsdata packetsdata cx/zseen windowingsdata cx/zseen nonwindowingsdata spsizsdata binarysdata paritysdata eof, drainsdata pktnumsdata lensdata datasdata ttchkszeofDseofseof can't get s-buffersxeof nxtpkt failssxeof packetseot nxtpktrpar max 1rpar sprmlenrpar max 2rpar 8bq sqrpar 8bq ebqrpar xfermoderpar whatami2rparspar biggest 1spar rprmlenrpar biggest 2spar packetspar 8bq rqspar 8bq sqspar 8bq ebqspar 8bq rqfspar setting parity to spacespar capasspar lscapuspar lscaprspar ebqflgspar swcaprspar swcapuspar yspar lpcapuspar lp lenspar slow-start spsizspar lp spmaxspar windowspar window after adjustmentspar no windowsspar sending, redefine spmaxspar biggestspar whatruspar streamokspar clearrqspar urclearspar sysindex xspar sysindex yspar sysindex biggestspar whoareyouspar sysindexspar whatru2spar whatru2 xfermodeRemote system type: proto whoareuD7proto special VMS prefixinggnfile sndsrcgnfile filcntgnfile whatgnfile binary = gnf_binarygnfile pipesendCALIBRATIONTransaction cancelledgnfile czseengnfile filefile EOFgnfile filefile filnamgnfile nfils?Internal error expanding ADD list gnfile addlist filnamgnfile cmlist filnamgnfile ngetpathgnfile getpathgnfile absolute.gnfile wildgnfile nzxpandgnfile znextgnfile donegnfile setting sndsrc backgnfile skipping:not sentSkippedClient Command Status Description REMOTE LOGIN required Transfer file(s) from server to client. GET %-14s%s Transfer file(s) from client to server. SEND %-14s%s Send file(s) as e-mail. MAIL %-14s%s Assign value to server variable or macro. REMOTE ASSIGN %-14s%s Change server's directory. REMOTE CD %-14s%s Copy a file on the server. REMOTE COPY %-14s%s Delete a file on the server. REMOTE DELETE %-14s%s List files on the server. REMOTE DIRECTORY %-14s%s Exit from Kermit server program. REMOTE EXIT %-14s%s Execute a shell command on the server. REMOTE HOST %-14s%s Send a file to the server for printing. REMOTE PRINT %-14s%s Get value of server variable or macro. REMOTE QUERY %-14s%s Create a directory on the server. REMOTE MKDIR %-14s%s Remove a directory on the server. REMOTE RMDIR %-14s%s Rename a file on the server. REMOTE RENAME %-14s%s Set a parameter on the server REMOTE SET %-14s%s Inquire about disk space on the server. REMOTE SPACE %-14s%s Display a server file on your screen. REMOTE TYPE %-14s%s List who is logged in to the server. REMOTE WHO %-14s%s Exit from Kermit server program.Return the server to its command prompt. FINISH %-14s%s Log the server out and disconnect. BYE %-14s%s REMOTE HELPC-Kermit %s,%s Internet Kermit Service (EXPERIMENTAL) typenxtdir funcnxtnxtdir funclennxtdir funcbufnxtdir return 1*.~[0-9]*~nxtdir ckmatchnxtdir zgetfsnxtdir zcfdat0000-00-00 00:00:00domydir permsnxtdir linkname%10s%-10s %s %s %-10s %s %s -> %10s%10ld %s %s%s%s %10ld %s %s%s%s yiess%sSummary: %ld director%s, %ld file%s, %ld byte%s%snxtdir return 2snddirsnddir name./*snddir name 1snddir name 2Listing files: %s%s%s*/*snddir directorysnddir nzxpand nxpndDIRECTORY %sDIRECTORYsinit()skipping %10s: %s%sdeleted directory: %s%s%s%ld file%s deleted, %ld byte%s freed%sDeleting "%s"%sREMOTE DELETEDirectory requested: cwdChanged directory tocwd failedFailed to change directory tosyscmdsyscmd zxcmd oksyscmd zxcmd failedremsetremset xfer charset lookupRSET FILE CHAR nameREMOTE SET xfermodeadjpkl lenadjpkl slotsadjpkl bufsizadjpkl new lenwhoarewe xfermodewhoarewe g_xfermodewhoarewe remote sysidL3N3whoarewe wearealikewhoarewe setting fncnvwhoarewe setting binaryB00RTT RECVRTT RECV ERROR spacketsRTT RECV ERROR sequenceRTT SENDRTT SEND ERRORRTT stddev1RTT stddev2RTT delay RTT rcvtimoinput sstateinput nakstateinput sndtypinput xitstainput whatinput CONNECTION BROKENinput winloinput rseqtbl[winlo]input return pre-stashed packetinput rpackinput echo discardedinput type D=input typeUser cancelled.FAILED - InterruptedFAILED - Connection lostXXX wasclosedrpack receive window fullReceive window full.Transmission error on reliable link.input got E, nakstateZZZ crunched zZZZ xZZZ x not recd yetZZZ x not NAK'd yetZZZ NAKing winloToo many retries.SERVER IDLE TIMEOUTinput receive-state timeout, winloinput sending NAK for winloinput sent too many naksinput rsn=winloinput out of sequence, rsninput rseqtbl[rsn]input recv can't find index for rcvd pktSliding windows protocol error.input recv chkwinSequence error on reliable link.STREAMING input streamingSTREAMING input sndtypinput send returning pre-stashed ACKinput streaming typeinput sendecho discardedInterruptedConnection lostReceive window full wslots winlo pktnumTransmission error on reliable link.input send got E, nakstateToo many retriesinput send state timeout, winloinput send resending winloinput send too many resendsinput T cut packet lengthinput send rsninput send winloinput send chkwinbestlen ack xbestlen ack typebestlen Bbestlen retrybestlen lenbestlen spacketsbestlen Abestlen wslotsbestlen maxsendbestlen spsiz Abestlen spsiz Bbestlen spsiz Cbestlen spsiz Dinput send rotated send windowinput send mark pktinput send ACK for previousinput send ACK out of windowNAK received on reliable link.input send NAKinput N cu~}t packet length in windowNAK for next packet, windowingNAK for next packet, no windowing NAK out of windowNAK out of windowinput send unexpected typeinput about to flushinput rsninput returning typeparchk nparchk startchktimo streamingchktimo timochktimo flagchktimo spmaxchktimo urpsizchktimo plenchktimo new timospack nspack dataspack dspack lenspack copyspack mydataspack sseqtbl[n]spack sending packet out of windowSTREAMING spack skippingspack spktlspack ttol returnsFAILED: Connection lostspack ttol msecspack calling screen, mydata=@@chk1chk2chk3nxtpkt pktnumnxtpkt winlo nxtpkt nnxtpkt chkwinnxtpkt getsbuf failureSTREAMING fastack kSTREAMING fastack can't getsbufSTREAMING fastack xacknsackns kackns can't getsbufackns winloackns nack1nack bad pkt numnacknack can't getsbufresend seqRetransmissionRESEND PKT NOT IN WINDOWRESEND kresend pktinfo index retry(resend)resend ttol msecresend ttol returns@@errpktProtocol Error:errpkt drainingDraining incoming packets, wait...Drain complete.?scmdString too longscmd spackGET Packet Internal Error 1sopkt NULL listsopktsopkt encstrsopkt overflowGET Packet Too Long for Serversopkt leftoversopkt fieldGET Packet Internal Error 8@ sopkt o->opktitemsopkt datasopkt opktcntGET Packet Internal Error 9sopkt pktnumsopkt spackSend Packet Failuresopkt rcsrinit recursivesrinit regetsrinit retrievesrinit opktsrinit ooptssrinit omodesrinit cmargGET with no filenamesrinit null cmargGET Packet Internal Error 2srinit malloc fail O1Ox%dGET Packet Internal Error 3srinit malloc fail O2GET Packet Internal Error 4srinit malloc fail M1Mx%dGET Packet Internal Error 5GET Packet Too Long for ServerGET Packet Internal Error 6srinit malloc fail F1GET Packet Internal Error 7srinit malloc fail F2GET Packet Too Long for Serverch == LFkstartch = CRkstart SOPkstart EOLkstart EOP chkspktkstart ksbufp - ksbuf >= 94zstart Zmodem SOPZmodem downloadreceive /protocol:zmodemset proto kermit, server, set protocol gset proto kermit,server,set proto xmodemset proto kermit,server,set proto xmodem-crcset proto kermit,server, set protocol yset proto kermit,server,set proto zmodemserverreceive /protocol:kermitrpack pktnumrpack ksbufautodownload parityautodownload parchkrpack timintrpack rcvtimorpack streamingrpack timint 0 || streaming but rcvtimorpack ttinl lenrpack ttinl msecrpack: ttinl failsrpack ^C serverrpack ^C en_finrpack fatalioBad packet headerrpack packet length less than 3Bad packet lengthrpack bad sequence numberBad sequence numberrpack echorpack bctlrpack chklenpacket too longrpack block check Bchecked charsblock check (1)should be (1)Checksum errorblock check (2)should be (2)block check (3)should be (3)CRC errorbad type B block check(crunched)rpack block check OKrpack got dup@@%c-xx-%02d-%c-%02d-%02d- tstats xfsecststats filcnttstats fpxfsecststats fptsecsTransaction complete files transferred total file characters communication line in communication line out elapsed time (seconds) effective data rate {Gzt?A{Gzt?Afstats tfcfstats whatfstats epktmsg complete, sizesizetypedatecreatoraccountareapasswordblocksizeaccessencodingdispositionprotectionoriginformatsys-dependent23456789:;<=>name@ckmkdir 1 fcmkdirrmdir%s: no name givenckmkdir 2+UNIXOROSKckmkdir 3ckmkdir 4ckmkdir rccreationremovalDirectory %s not implemented in this version of C-Kermit%s %s: %s%s: removeduprsizdofastinibufs sinibufs rini_pkts: no memory for s_pktini_pkts: no memory for s_pktinibufs size 1inibufs size zinibufs overflowinibufs bigbuf malloc failedinibufs size 2inibufs bigsbsizinibufs bigrbsizmakebufmakebuf bufsizmakebuf MAXWSmksbuf makebuf returnmkrbuf makebuf returnwindowgetsbuf bad arggetsbuf packetgetsbuf pgetsbuf data == NULLgetrbuf new rbufnumfreesbuf sseqtbl[n]freerbuf no such slotfreerbuf packetfreerbuf rbufnumfreerpkt seqchkwin packetchkwin winlochkwin slotsSEND BUFFERS:buffer inuse address length data type seq flag retries%4d%6d%10d%5d%6d%4c%5d%6d ...[%.72s%s] [(empty string)] [(null pointer)] free: %d, winlo: %d RECEIVE BUFFERS:buffer inuse address length data type seq flag retriessattr flagsattr zsattrsattr init max%ld%dsattrsattr numsetsattr leftsattr sendingunknownrsattrrsattr refused refused:rsattr RESEND nrsattr RESEND zrsattr RESEND sendstartgtattr: no memory for dsbufgattr bad recfmgattr file typegattr binary 1 refused: typegattr attribute A=textgattr binary 2 refused: dategattr encodingI196I190I6/204I6/100gattr xfer charset lookupgattr: xfer charset unknown refused: character setgattr switch tcharsetgattr fcharsetgattr switch fcharsetgattr unk encoding attribute refused: encoding refused: bad disposition refused: mail disabled refused: print disabledgattr RESENDgattr: no memory for spbufgattr length refused: length bytes refused: length Kgattr fsizeN+gattr RESEND not binarygattr RESEND OKN?gattr returninitattr ofpermsAttributes for incoming file length in K file type creation date creator account area password blksize access encoding disposition lprotection gprotection systemid recfm sysparam length replyopena fopena discardopena xflgopena remfileopena remappdopena dispopen dispositionopena disposopena rename failsCan't create backup fileopena rename okopena [file]=mode: local name: mode: binary mode: text file character-set: xfer character-set: opena charsetCan't open output fileFailure to openError:opena erroropenc zxcmdcanned: cxseen czseenopeni nameopeni sndsrcopeni file numberaccess deniedopeni CD disabledAccess deniedCommand or pipe failureopeni pipesend zxcmdopeni zopeni 1openi zopeni 2Can't open fileopeni failedopeni messageopeno stdouf zopenoopeno: name open cancelledopeno pipesendopeno zxcmdauthorization failureopeno CD disabledopeno failedopeno ok, nameopent zopenockopenx fsizeclsif i_isopenclsif zcloseclsif successclsif xferstatclsif fsizeclsif ffcclsif cxseenclsif czseenclsif discardInterruptedRefused: %sclsif fstatsIncompleteclsof dispclsof cxseenclsof successclsof o_isopenFailure to closeCan't close fileclsof incomplete discarded incomplete: discardedDiscardedclsof fstats 1closf incomplete kept incomplete: keptclsof fstats 2Character Set Translation 7.0.038, 10 Nov 1999TRANSPARENTtransparentASCIIasciiISO 8859-1 Latin-1I6/100latin1-isoISO 8859-2 Latin-2I6/101latin2-isoISO 8859-5 Latin/CyrillicI6/144cyrillic-isoJapanese EUCI14/87/13euc-jpISO 8859-8 Latin/HebrewI6/138hebrew-isoISO 8859-7 Latin/GreekI6/126greek-isoISO 8859-15 Latin-9I6/203latin9-isoISO 10646 / Unicode UCS-2I162ucs2ISO 10646 / Unicode UTF-8I190utf8elot928-greekjapanese-eucllalatlatilatinUS ASCIIBritish/UK ISO-646britishDutch ISO-646dutchFinnish ISO-646finnishFrench ISO-646frenchCanadian-French NRCcanadian-frenchGerman ISO-646germanHungarian ISO-646hungarianItalian ISO-646italianNorwegian/Danish ISO-646norwegian/danishPortuguese ISO-646portugueseSpanish ISO-646spanishSwedish ISO-646swedishSwiss NRCswissDEC Multinationaldec-multinationalNeXT Multinationalnext-multinationalPC Code Page 437cp437PC Code Page 850cp850PC Code Page 852cp852Apple Macintosh Latinmacintosh-latinData General Internationaldg-internationalHewlett Packard Roman8hp-roman8CP866 Cyrilliccp866Short KOIshort-koiOld KOI-8 Cyrillickoi8-cyrillicJapanese JIS7jis7-kanjiJapanese Shift JISshift-jis-kanjiJapanese DEC Kanjidec-kanjiHebrew-7 DEChebrew-7CP862 Hebrewcp862-hebrewELOT 927 Greekelot927-greekCP869 Greekcp869-greekPC Code Page 858cp858PC Code Page 855cp855-cyrillicWindows Code Page 1251cp1251-cyrillicBulgarian PC Code Pagebulgaria-pcWindows Code Page 1250cp1250Polish Mazovia PC Code Pagemazovia-pcKOI8-R Russian+Boxdrawingkoi8rKOI8-U Ukrainian+Boxdrawingkoi8uapple-quickdrawcp1252cp866-cyrillicdanishfr-canadianhehebhebrhebrehebrewiso2022jp-kanjikkokoikoi8norwegianASCII (American English)DanishDutchFinnishFrenchGermanGreekHebrewHungarianIcelandicItalianJapaneseNorwegianPortugueseRussianSpanishSwedishSwissenglishgreekicelandicjapanesenonerussianukrainiansj_to_eu bad sjsetxlatype fcssetxlatype tcssetxlatype bad tcssetxlatype bad fcssetxlatype transparent because TCS==Transparentsetxlatype Unicode tcssetxlatype Unicode fcssetxlatype Unicode xfusetxlatype Unicode xufsetxlatype transparent because TCS==FCSsetxlatype Japanese tcssetxlatype Japanese fcssetxlatype Byte tcssetxlatype Byte fcssetxlatype xlatypeinitxlate csininitxlate csoutinitxlate bad csininitxlate bad csoutinitxlate Unicode xfuinitxlate Unicode xufinitxlate xlatypeinitcsets nxlsinitcsets nxlrinitcsets TERM LOCAL CSETinitcsets TERM REMOTE CSETWart Version 2.14, 10 Nov 1999C-Kermit Protocol Module 7.0.135, 1 Jan 2000streamonserver=1RESUMEserver=0PROTO inputserver DELETE disabled so fncact RENAMESERVERUser cancelledrcv_s_pktY winloproto G packet scmdREGET sstateError sending stringY vstateCPCPRO YCPCPRO Y xY winloCPCPRO Y not changing stateE winloLogin requiredGETserverDeleting files is disabledGET /DELETEGET /RECURSIVEGET /RECURSIVE /DELETEGET /RECOVERCKCPRO O sgetinit failCKCPRO O sgetinit doneEXTENDED GETCKCPRO O sgetinit TBCCKCPRO O sgetinit failCKCPRO O sgetinit doneCKCPRO O sgetinit TBCBadly formed server commandREMOTE HOST disabledHOST commands not availableREMOTE HOSTCan't do system commandsrv_timeoutDid you say RECEIVE instead of GET?Unimplemented server functionI srv_loginREMOTE CDREMOTE CD disabledCan't change directoryREMOTE TYPE disabledREMOTE PWDREMOTE DIRECTORYREMOTE DIRECTORY disabledREMOTE DIRAccess deniedNo files matchCan't list directoryREMOTE DELETEREMOTE DELETE disabledIt's a directoryFile not foundDELETE failedFINISHSERVER FINISHFINISH disabledREMOTE EXITEXIT disabledBYESERVER BYEBYE disabledC-Kermit BYE - Loggin out...REMOTE HELPCan't send helpsrv_renamesrv_copyREMOTE SETREMOTE SET disabledUnknown REMOTE SET parameterREMOTE TYPECan't type fileREMOTE MKDIRREMOTE MKDIR disabledDirectory access restrictedDirectory creation failureREMOTE RMDIRREMOTE RMDIR disabledDirectory removal failureREMOTE SPACEREMOTE SPACE disabledCan't check spaceREMOTE WHOREMOTE WHO disabledCan't do who commandsrv_queryInterruptedQUIT disabledSERVER (generic) GOT UNEXPECTED 'q'Unimplemented REMOTE commandY rcv_shortreplyF winlo 1F winlo 2Can't open windowRECEIVEsrv_firstdatackcpro.w B tmpdir restoringXZError writing dataCan't create fileCan't print fileCan't mail fileCan't delete temp fileCan't close fileRESEND capabilities not negotiatedSENDCan't execute commandCan't open file remote name:Can't send attributesY cxseenY cxseenY cxseenY CALLING SEOF() deleting moving source tosend MOVE zrenamesend RENAME zrename renaming source toY gnfilesseot justoneUnknown errorckcpro.w justone at E pktProtocol errorckcpro.w E tmpdir restoredERRORUnexpected packet type%s -s %c%s%c %s%s %srcv_shortreplyIPKTZEROHACKrcv_shortreply remfilercv_shortreply fallthruREMOTE QUERYREMOTE QUERY disabledCan't get valueValue too longCan't send valueREMOTE ASSIGN disabledREMOTE ASSIGN failedREMOTE COPYREMOTE COPY disabledCan't copy fileREMOTE RENAMEREMOTE RENAME disabledCan't rename fileREMOTE LOGIN x_loginREMOTE LOGIN x_loggedAlready logged in.REMOTE LOGOUTLogged outREMOTE LOGIN lenREMOTE LOGINUsername too longREMOTE LOGIN 1REMOTE LOGIN 2REMOTE LOGIN 3REMOTE LOGIN 4Logged inLogged in as guest - restrictions applyLogin failedAccess denied.Logout ignoredLogin ignored.Logout ignored. IKSD IDLE TIMEOUT: %d sec SERVER IDLE TIMEOUT: %d sec Connection lostSERVER DISCONNECTSERVER (top) GOT UNEXPECTED 'q'SEND disabledreceive download dirreceive current dirreceive zchdir okreceive zchdir failedproto set binary modeA Kermit server is not available A Kermit Server is not availableproto()A Kermit Server is not availableIKS client/server failureproto reset binary mode failed:proto xferstatxxproto entry justone?No connection Sorry, you must 'set speed' firstfailed: proto ttopen localCan't open lineproto ttopen localCan't condition lineproto ttgmdmCarrier required but not detectedsrgcjhk ckcpro ttruncmd?Sorry, no external protocol defined for %s server backgrdserver quietSHOULD NOT SEE THIS IF IN BACKGROUND!KERMIT READY TO SERVE...Entering server mode on Type Ctrl-C to quit.KERMIT READY TO SERVE... Return to your local Kermit and give a SEND command.KERMIT READY TO RECEIVE...Return to your local Kermit and give a RECEIVE command.KERMIT READY TO SEND...Return to your local Kermit and give a SERVER command.KERMIT READY TO GET...KERMIT READY TO SEND SERVER COMMAND...proto calling wart, justoneC-Kermit server doneGET disabledsgetinit whatrusgetinit binary (1)sgetinit binary (2)sgetinit csgetinit lensgetinit psgetinit O valsgetinit M valsgetinit filenamesgetinit EOPUnknown GET Parametersgetinit unknown parametersgetinit unquoted filenamesgetinitsgetinit pipesendsgetinit O-Packet TBCsgetinit O-Packet done - havefsGET without filenamesgetinit winloCommand package 7.0.121, 24 Dec 1999aprilaugustdecemberfebruaryjanuaryjulyjunemarchmaynovemberoctoberseptemberCommand? daysmonthsweekswksyearsyrs:%s%s%s %s%s%s ?Memory allocation failure ?Name too long - %s prompt sxprompt sy %spushcmd savbufpushqcmd savbuffatal error: unable to allocate command bufferscmini dpx&cmpushcmpush: no memory for cmp&cmpopcmnum: illegal radix - %d cmnum: cmfldcmnum 1st chknum okcmnum xxesc okcmnum zp 1cmnum zp 2cmnum 2nd chknum okcmnum xxesc 2 okcmnum exp eval okOutput filecmofi cmfld returnscmofi 1.5cmofi 2?Name too long cmofi 3?Wildcards not allowed - %s cmofi 4cmofi 5: is directory/dev/ttycmofi 6: failure?Write permission denied - %s cmofi 7: okcmifi2 path?Default name too long cmifi gtwordcmifi switch x IKSD IDLE TIMEOUT: %d sec ?Timed out Command or field too long cmifi brstripExpanded name too long cmifi tilde_expand?cmifi: malloc error cmifi svcmifi itsadir...cmifi y itsadircmifi *xp pre-zxpandcmifi y nzxpandcmifi y atmbufcmifi diractive catch-all zxpandcmifi sv wild?Wildcard matches more than one directory /cmifip add pathdirectoriesfiles?No %s match - %s ?Too many %s match - %s cmifi sv not wildcmifi nfiles?Not a directory - %s ?Read permission denied ?Read permission denied - %s ?File not readable - %s ?File not found - %s cmifi esc, xc%s Default name too long %c cmifi nzxpandcmifi filbufcmifi partialcmifi partial k%scmifi partial cmdbuf?Partial name too long cmifi partial atmbufcmifi unique?Directory name too long cmifi directory atmbuf?Completed name too long Directory name Input file specification %s?Expanded name too long cmifi ? *xp, cccmifi ? wildcmifi matchdot: %s , one of the following: cmfld xdef 1cmfld xdef 2?Default too long cmfld atmbuf 1cmfld: gtwordcmfld xcmfld 1cmfld 2cmfld zzstringValue too long cmfld 3cmfld returns Please complete this field %s%scmtxt, cmflgscmtxt: fresh startcmtxt:cmtxt gtwordcmtxt x IKSD IDLE TIMEOUT: %d sec cmtxt calling (*f)cmtxt (*f) returnscmtxt: addbuf Text string?Unexpected return code from gtword() - %d ?Keyword table missing cmkey: pmsgcmkey: cmflgscmkey table lengthcmkey cmflgscmkey zzcmkey cccmkey gtword xc IKSD IDLE TIMEOUT: %d sec cmkey atxbuf after *fEvaluated keyword too long ?Not a switch - %s ?Ambiguous - %s cmkey token:?No keywords match - %s cmkey Esc cccmkey: defaultcmkey Esc pmsgcmkey lookup ycmkey lookup zcmkey partial zcmkey partial ncmkey partial jcmkey partial kcmkey partial len?No keywords match - "%s" cmkey flgs%s:cmkey: addbuf?Evaluated keyword too long No keywords match One of the following: %s, one of the following: or the name of a macro ("do ?" for a list) or the token %c or one of the tokens: %s %d - Unexpected return code from gtword cmkey gtword zz00cmcvtdatecmcvtdate nowcmcvtdate date too long+-TtYycmcvtdate NEWcmcvtdate offset ncmcvtdate unit startcmcvtdate time pointercmcvtdate unitcmcvtdate lookup failscmcvtdate offset units 00:00:00cmcvtdate dayscmcvtdate weeks%04d%02d%scmcvtdate months%04d%scmcvtdate yearstodaycmcvtdate todaytomorrowcmcvtdate tomorrowyesterdaycmcvtdate yesterdaycmcvtdate yyyymmddcmcvtdate yyyymmdd hh:mm:sscmcvtdate yyyymmdd xxxcmcvtdate date bad timesepcmcvtdate null ztimecmcvtdate emtpy ztimecmcvtdate fail Acmcvtdate fail Bcmcvtdate fail C%02dcmcvtdate fail Dcmcvtdate fail Ecmcvtdate dotime scmcvtdate dotime pcmcvtdate fail K%s%s%02dcmcvtdate timesep:cmcvtdate fail Fcmcvtdate time icmcvtdate time fld[0]cmcvtdate time fld[1]cmcvtdate time fld[2]cmcvtdate fail Gcmcvtdate fail Hcmcvtdate fail Icmcvtdate fail Jcmcvtdate yearcmcvtdate monthcmcvtdate xcmcvtdate hhcmcvtdate mmcmcvtdate ss%s%s%02d %02d:%02d:%02dcmcvtdate hourcmcvtdate minutecmcvtdate secondcmcvtdate resultDate and/or timecmdate cmfld rccmdate 1cmdate 2?Evaluated date too long Invalid date or time - "%s" commandOops, command recall error cmcfm: cmflgscmcfm: atmbuf?Not confirmed - %s Press the Return or Enter key to confirm the command cmfdb in->fcodecmfdb cmnumcmfdb cmoficmfdb cmifi2 xcmfdb cmifi2 ncmfdb cmfldcmfdb cmtxtcmfdb cmkeycmfdb cmcfmcmfdb - unexpected function code?cmfdb - unexpected function code: %d cmfdb xcmfdb cmflgscmfdb crflagcmfdb qmflagcmfdb esflagcmfdb out->nresultcmfdb cmdbuf & crflagcmfdb codecmfdb failure xcmfdb failure errbitsDoes not match filename or switchDoes not match filename or keywordNot a number or valid keywordNot a number or valid switchNot valid in this position?%s: "%s" ungword cmflgsunungw atmbufgtword brkchargtword brkgtword ungetting from pp?Saved word too long gtword returning atmbufgtword cmdbufgtword bpgtword ppgtword timelimitgtword cgtword dpx,echofexitinggtword c < 0gtword EOFgtword chargtword echof 2?Field too long error 1 gtword too long #1erasinggtword iscontdgtword too long #2?Field too long error 2 crflag is setgtwordgtword too long #3?Too long #3 gtword too long #4?Too long #4 %s %s%sgtword quote 0gtword quote 1gtword quote 3gtword quote?Command too long, maximum length: %d. pushccmdgetc()cgtword IACgtword CR telnet errorgtword CR to LFgtword skipping LFgtword skipping NULgtword NUL Trustees of Columbia University in the City of New York. Type INTRO for a brief introduction to C-Kermit. Type VERSION for version and copyright information. Type HELP followed by a command name for help about a specific command. Type MANUAL to access the C-Kermit manual page. Type NEWS for news about new features. Type SUPPORT to learn how to get technical support. Press ? (question mark) at the prompt, or anywhere within a command, for a menu (context-sensitive help, menu on demand). Type HELP OPTIONS for help with command-line options.DOCUMENTATION: "Using C-Kermit" by Frank da Cruz and Christine M. Gianone,Digital Press / Butterworth-Heinemann, latest edition. Please purchase thisbook. It shows you how to use C-Kermit, answers your questions, reduces theload on our help desk, and book sales are the primary source of funding forC-Kermit development. More info: http://www.columbia.edu/kermit/.Welcome to C-Kermit 7.0.196.Major new features (not necessarily available on all platforms) include: . Internet Kermit Service Daemon and client. . More-powerful filename-matching patterns . Recursive directory-tree transfer and directory listing. . Automatic per-file text/binary mode switching. . Fast Kermit protocol settings are now the default. . File-transfer selection and other option switches (HELP SEND, HELP GET). . File-transfer pipes and filters. . New streaming Kermit protocol for use on reliable connections. . More-flexible wildcards for filename matching (HELP WILDCARD). . Numerous modem and dialing improvements. . More/higher serial speeds on most platforms (SET SPEED ?). . New data-bits/parity/stop-bits options (HELP SET SERIAL). . File-permission preservation in UNIX and VMS. . Improvements in CD and other directory-related commands. . Unicode - the Universal Character Set (UCS-2 and UTF-8) . Greek character sets. . New Euro-compliant and other character sets. . Automatic character-set switching (HELP ASSOCIATE). . New script programming features, functions, and variables. . "kerbang" scripts. . General-purpose file i/o and floating-point arithmetic packages. . New MANUAL command to access online documentation (HELP MANUAL). . Performance improvements. . Bug fixes.These new features are documented in the ckermit2.txt file, to be used asa supplement to the manual, "Using C-Kermit", second edition (1997),until the third edition is ready.If the release date shown by the VERSION command is long past, be sure tocheck with the Kermit Project to see if there have been updates.Welcome to UNIX C-Kermit communications software for: . Error-free and efficient file transfer . Terminal connection . Script programming . International character set conversion Supporting: . Serial connections, direct or dialed. . Automatic modem dialing . TCP/IP network connections While typing commands, you may use the following special characters: . DEL, RUBOUT, BACKSPACE, CTRL-H: Delete the most recent character typed. . CTRL-W: Delete the most recent word typed. . CTRL-U: Delete the current line. . CTRL-R: Redisplay the current line. . CTRL-P: Command recall - go backwards in command recall buffer. . CTRL-B: Command recall - same as Ctrl-P. . CTRL-N: Command recall - go forward in command recall buffer. . ? (question mark) Display a menu for the current command field. . ESC (or TAB) Attempt to complete the current field. . \ (backslash) include the following character literally or introduce a backslash code, variable, or function. Command words other than filenames can be abbreviated in most contexts. Basic C-Kermit commands: EXIT exit from C-Kermit HELP request general help HELP command request help about the given command TAKE execute commands from a file TYPE display a file on your screen Commands for file transfer: SEND send files RECEIVE receive files GET get files from a Kermit server RESEND recover an interrupted send REGET recover an interrupted get from a server SERVER be a Kermit server File-transfer speed selection: FAST use fast settings -- THIS IS THE DEFAULT CAUTIOUS use slower, more cautious settings ROBUST use extremely slow and cautious settings File-transfer performance fine tuning: SET RECEIVE PACKET-LENGTH Kermit packet size SET WINDOW number of sliding window slots SET PREFIXING amount of control-character prefixing Important settings: SET PARITY communications parity SET FLOW communications flow control, such as RTS/CTS SET FILE file settings, for example TYPE TEXT or TYPE BINARY To make a direct serial connection: SET LINE select serial communication device SET SPEED select communication speed CONNECT begin terminal connection To dial out with a modem: SET DIAL DIRECTORY specify dialing directory file (optional) SET DIAL COUNTRY-CODE country you are dialing from (*) SET DIAL AREA-CODE area-code you are dialing from (*) LOOKUP lookup entries in your dialing directory (*) SET MODEM TYPE select modem type SET LINE select serial communication device SET SPEED select communication speed DIAL dial the phone number CONNECT begin terminal connectionFurther info: HELP DIAL, HELP SET MODEM, HELP SET LINE, HELP SET DIAL(*) (For use with optional dialing directory) To make a network connection: SET NETWORK DIRECTORY Specify a network services directory (optional) LOOKUP Lookup entries in your network directory SET NETWORK TYPE Select network type (if more than one available) SET HOST Make a network connection but stay in command mode CONNECT Begin terminal connection TELNET Select a TCP/IP host and CONNECT to it RLOGIN Select a TCP/IP host and RLOGIN to it To return from a terminal connection to the C-Kermit prompt: Type your escape character followed by the letter C.To display your escape character: SHOW ESCAPETo display other settings: SHOW COMMUNICATIONS, SHOW TERMINAL, SHOW FILE, SHOW PROTOCOL, etc.For further information about a particular command, type HELP xxx,where xxx is the name of the command. For documentation, news of newreleases, and information about other Kermit software, contact: The Kermit Project E-mail: kermit-orders@columbia.edu Columbia University Web: http://www.columbia.edu/kermit/ 612 West 115th Street Voice: +1 (212) 854-3703 New York NY 10025-7799 Fax: +1 (212) 663-8202 USASyntax: SCREEN { CLEAR, CLEOL, MOVE row column } Performs screen-formatting actions. Correct operation of these commands depends on proper terminal setup on both ends of the connection -- mainly that the host terminal type is set to agree with the kind of terminal or the emulation you are viewing C-Kermit through.SCREEN CLEAR Moves the cursor to home position and clears the entire screen. Synonyms: CLS, CLEAR SCREEN.SCREEN CLEOL Clears from the current cursor position to the end of the line.SCREEN MOVE row column Moves the cursor to the indicated row and column. The row and column numbers are 1-based so on a 24x80 screen, the home position is 1 1 and the lower right corner is 24 80. If a row or column number is given that too large for what Kermit or the operating system thinks is your screen size, the appropriate number is substituted.Also see: SHOW VARIABLE TERMINAL, SHOW VARIABLE COLS, SHOW VAR ROWS, SHOW COMMAND.Syntax: INPUT { number-of-seconds, time-of-day } [ text ]Example: INPUT 5 Login: or INPUT 23:59:59 RING Waits up to the given number of seconds, or until the given time of day for the given text to arrive on the connection. If no text is given, INPUT waits for any character. For use in script programs with IF FAILURE and IF SUCCESS. Also see MINPUT, REINPUT, SET INPUT. See HELP PAUSE for details on time-of-day format. The text, if given, can be a \pattern() invocation, in which case it is treated as a regular expression rather than a literal string (HELP REGULAR-EXPRESSIONS for details).Syntax: OUTPUT text Sends the text out the communications connection, as if you had typed it during CONNECT mode. The text may contain backslash codes, variables, etc, plus the following special codes: \N - Send a NUL (ASCII 0) character (you can't use \0 for this). \B - Send a BREAK signal. \L - Send a Long BREAK signal.Also see SET OUTPUT.SET PARITY NONE Chooses 8 data bits and no parity.SET PARITY { EVEN, ODD, MARK, SPACE } Chooses 7 data bits plus the indicated kind of parity. Forces 8th-bit prefixing during file transfer.SET PARITY HARDWARE { EVEN, ODD } Chooses 8 data bits plus the indicated kind of parity.Also see SET TERMINAL BYTESIZE, SET SERIAL, and SET STOP-BITS.Syntax: SET ESCAPE number Decimal ASCII value for escape character during CONNECT, normally 28 (Control-\). Type the escape character followed by C to get back to the C-Kermit prompt or followed by ? to see other options.You may also enter the escape character as ^X (circumflex followed by aletter or one of: @, ^, _, [, \, or ], to indicate a control character;for example, SET ESC ^_ sets your escape character to Ctrl-Underscore.SET OUTPUT PACING How many milliseconds to pause after sending each OUTPUT character, normally 0.SET OUTPUT SPECIAL-ESCAPES { ON, OFF } Whether to process the special OUTPUT-only escapes \B, \L, and \N. Normally ON (they are processed).Syntax: SET INPUT parameter valueSET INPUT AUTODOWNLOAD { ON, OFF } Controls whether autodownloads are allowed during INPUT command execution.SET INPUT BUFFER-LENGTH number-of-bytes Removes the old INPUT buffer and creates a new one with the given length.SET INPUT CANCELLATION { ON, OFF }Whether an INPUT in progress can be can interrupted from the keyboard.SET INPUT CASE { IGNORE, OBSERVE } Tells whether alphabetic case is to be significant in string comparisons. This setting is local to the current macro or command file, and is inherited by subordinate macros and take files.SET INPUT ECHO { ON, OFF } Tells whether to display arriving characters read by INPUT on the screen.SET INPUT SILENCE The maximum number to seconds of silence (no input at all) before the INPUT command times out, 0 for no maximum.SET INPUT TIMEOUT-ACTION { PROCEED, QUIT } Tells whether to proceed or quit from a script program if an INPUT command fails. PROCEED (default) allows use of IF SUCCESS / IF FAILURE commands. This setting is local to the current macro or command ~file, and is inherited by subordinate macros and take files.SET FUNCTION DIAGNOSTICS { ON, OFF } Whether to issue diagnostic messages for illegal function calls and references to nonexistent built-in variables. ON by default.SET FUNCTION ERROR { ON, OFF } Whether an illegal function call or reference to a nonexistent built-in variable should cause a command to fail. OFF by default.Syntax: SET PROTOCOL { KERMIT, XMODEM, YMODEM, ZMODEM } [ s1 s2 s3 s4 s5 s6 ] Selects protocol to use for transferring files. s1 and s2 are commands to output prior to SENDing with this protocol, to automatically start the RECEIVE process on the other end in binary or text mode, respectively. If the protocol is KERMIT, s3 is the command to start a Kermit server on the remote computer, and there are no s4-s6 commands. Otherwise, s3 and s4 are commands used on this computer for sending files with this protocol in binary or text mode, respectively; s5 and s6 are the commands for receiving files with this protocol. Use "%s" in any of these strings to represent the filename(s). Use { braces } if any command contains spaces. Examples: set proto kermit {kermit -YQir} {kermit -YQTr} {kermit -YQx} set proto ymodem rb {rb -a} {sb %s} {sb -a %s} rb rbExternal protocols require REDIRECT and external file transfer programs thatuse redirectable standard input/output. SHOW PROTOCOL displays the current settings.Syntax: BYE Shut down and log out a remote Kermit serverSyntax: DIRECTORY [ switches ] [ filespec ] Lists files. The filespec may be a filename, possibly containing wildcard characters, or a directory name. If no filespec is given, all files in the current directory are listed. If a directory name is given, all the files in it are listed. Optional switches: /BRIEF List filenames only. /VERBOSE + Also list permissions, size, and date. /FILES Show files but not directories. /DIRECTORIES Show directories but not files. /ALL + Show both files and directories. /ARRAY:&a Store file list in specified array (e.g. \%a[]). /PAGE Pause after each screenful. /NOPAGE Don't pause after each screenful. /DOTFILES Include files whose names start with dot (period). /NODOTFILES + Don't include files whose names start with dot. /BACKUP + Include backup files (names end with .~n~). /NOBACKUP Don't include backup files. /HEADING Include heading and summary. /NOHEADING + Don't include heading or summary. /XFERMODE Show pattern-based transfer mode (T=Text, B=Binary). /MESSAGE:text Add brief message to each listing line. /NOMESSAGE + Don't add message to each listing line. /NOXFERMODE + Don't show pattern-based transfer mode /ISODATE + In verbose listings, show date in ISO 8061 format. /ENGLISHDATE In verbose listings, show date in "English" format. /RECURSIVE Descend through subdirectories. /NORECURSIVE + Don't descend through subdirectories. /SORT:key Sort by key, NAME, DATE, or SIZE; default key is NAME. /NOSORT + Don't sort. /ASCENDING + If sorting, sort in ascending order. /REVERSE If sorting, sort in reverse order.Factory defaults are marked with +. Default for paging depends on SETCOMMAND MORE-PROMPTING. Use SET OPTIONS DIRECTORY [ switches ] to changedefaults; use SHOW OPTIONS to display customized defaults.Syntax: DELETE [ switches... ] filespec Deletes a file or files on the computer where C-Kermit is running. The filespec may denote a single file or can include wildcard characters to match multiple files. RM is a synonym for DELETE. Switches include:/AFTER:date-time Specifies that only those files modified after the given date-time are to be deleted. HELP DATE for info about date-time formats./BEFORE:date-time Specifies that only those files modified before the given date-time are to be deleted./NOT-AFTER:date-time Specifies that only those files modified at or before the given date-time/NOT-BEFORE:date-time Specifies that only those files modified at or after the given date-time/LARGER-THAN:number Specifies that only those files longer than the given number of bytes are to be deleted./SMALLER-THAN:number Specifies that only those files smaller than the given number of bytes are to be sent./EXCEPT:pattern Specifies that any files whose names match the pattern, which can be a regular filename or may contain wildcards, are not to be deleted. To specify multiple patterns (up to 8), use outer braces around the group and inner braces around each pattern: /EXCEPT:{{pattern1}{pattern2}...}/DOTFILES Include (delete) files whose names begin with "."./NODOTFILES Skip (don't delete) files whose names begin with "."./LIST List each file and tell whether it was deleted. Synonyms: /LOG, /VERBOSE./NOLIST Don't list files while deleting. Synonyms: /NOLOG, /QUIET./HEADING Print heading and summary information./NOHEADING Don't print heading and summary information./PAGE If listing, pause after each screenful./NOPAGE Don't pause after each screenful./ASK Interactively ask permission to delete each file./NOASK Delete files without asking permission./SIMULATE Preview files selected for deletion without actually deleting them. Implies /LIST.Use SET OPTIONS DELETE to make selected switches effective for every DELETEcommand unless you override them; use SHOW OPTIONS to see selections currentlyin effect. Also see HELP PURGE, HELP WILDCARD.ASSOCIATE FILE-CHARACTER-SET Tells C-Kermit that whenever the given file-character set is selected, and SEND CHARACTER-SET (q.v.) is AUTOMATIC, the given transfer character-set is selected automatically.ASSOCIATE XFER-CHARACTER-SET Tells C-Kermit that whenever the given transfer-character set is selected, either by command or by an announcer attached to an incoming text file, and SEND CHARACTER-SET is AUTOMATIC, the specified file character-set is to be selected automatically. Synonym: ASSOCIATE TRANSFER-CHARACTER-SET.Use SHOW ASSOCIATIONS to list the current character-set associations, andSHOW CHARACTER-SETS to list the current settings.A "wildcard" or "regular expression" is notation used in a filenameto match multiple files or in a search string when searching through text.For example, in "send *.txt" the asterisk is a wildcard. Kermit commandsthat accept filenames also accepts wildcards, except commands that areallowed to operate on only one file, such as TRANSMIT or COPY.This version of Kermit accepts the following wildcards:* Matches any sequence of zero or more characters. For example, "ck*.c" matches all files whose names start with "ck" and end with ".c" including "ck.c".? Matches any single character. For example, "ck?.c" matches all files whose names are exactly 5 characters long and start with "ck" and end with ".c". When typing commands at the prompt, you must precede any question mark to be used for matching by a backslash (\) to override the normal function of question mark, which is providing menus and file lists.[abc] Square brackets enclosing a list of characters matches any character in the list. Example: ckuusr.[ch] matches ckuusr.c and ckuusr.h.[a-z] Square brackets enclosing a range of characters matches any character in the range; a hyphen (-) separates the low and high elements of the range. For example, [a-z] matches any character from a to z.[acdm-z] Lists and ranges may be combined. This example matches a, c, d, or any letter from m through z.{string1,string2,...} Braces enclose a list of strings to be matched. For example: ck{ufio,vcon,cmai}.c matches ckufio.c, ckvcon.c, or ckcmai.c. The strings may themselves contain *, ?, [abc], [a-z], or other lists of strings.To force a special pattern character to be taken literally, precede it witha backslash, e.g. [a\-z] matches a, hyphen, and z rather than a through z.The same wildcard syntax can be used for patterns in the IF MATCH command,in SWITCH case labels, the \fsearch(), \frsearch(), \fpattern(), and\farraylook() functions, and in file binary- and text-patterns (see HELP IF,HELP SWITCH, HELP FUNC, HELP SET FILE).FAST, CAUTIOUS, and ROBUST are predefined macros that set severalfile-transfer parameters at once to achieve the desired file-transfer goal.FAST chooses a large packet size, a large window size, and a fair amount ofcontrol-character unprefixing at the risk of possible failure on someconnections. FAST is the default tuning in C-Kermit 7.0 and later. In caseFAST file transfers fail for you on a particular connection, try CAUTIOUS.If that fails too, try ROBUST. You can also change the definitions of eachmacro with the DEFINE command. To see the current definitions, type"show macro fast", "show macro cautious", or "show macro robust".Syntax: PURGE [ switches ] [ filespec ] Deletes backup files; that is, files whose names end in ".~n~", where n is a number. PURGE by itself deletes all backup files in the current directory. Switches: Specifies that only those files modified after the given date-time are to be purged. HELP DATE for info about date-time formats. Specifies that only those files modified before the given date-time are to be purged. Specifies that only those files modified at or before the given date-time Specifies that only those files modified at or after the given date-time Specifies that only those files longer than the given number of bytes are to be purged. Specifies that only those files smaller than the given number of bytes are Specifies that any files whose names match the pattern, which can be a regular filename or may contain wildcards, are not to be purged. To specify multiple patterns (up to 8), use outer braces around the group and inner braces around each pattern: /EXCEPT:{{pattern1}{pattern2}...} Include (purge) files whose names begin with ".". Skip (don't purge) files whose names begin with "."./RECURSIVE Descends through the current or specified directory tree./KEEP:n Retain the 'n' most recent (highest-numbered) backup files for each file. By default, none are kept. If /KEEP is given without a number, 1 is used. Display each file as it is processed and say whether it is purged or kept. Synonyms: /LOG, /VERBOSE. The PURGE command should operate silently (default). Synonyms: /NOLOG, /QUIET. Print heading and summary information. Don't print heading and summary information. When /LIST is in effect, pause at the end of each screenful, even if COMMAND MORE-PROMPTING is OFF. Don't pause, even if COMMAND MORE-PROMPTING is ON. Interactively ask permission to delete each backup file. Purge backup files without asking permission. Inhibits the actual deletion of files; use to preview which files would actually be deleted. Implies /LIST.Use SET OPTIONS PURGE [ switches ] to change defaults; use SHOW OPTIONS todisplay customized defaults. Also see HELP DELETE, HELP WILDCARD.Syntax: CLOSE [ item ] Close the indicated item. The default item is CONNECTION, which is the current SET LINE or SET HOST connection. The other items are: CX-LOG (connection log, opened with LOG CX) SESSION-LOG (opened with LOG SESSION) TRANSACTION-LOG (opened with LOG TRANSACTIONS) PACKET-LOG (opened with LOG PACKETS) DEBUG-LOG (opened with LOG DEBUG) READ-FILE (opened with OPEN READ) WRITE-FILE (opened with OPEN WRITE or OPEN APPEND)Type HELP LOG and HELP OPEN for further info.Syntax: MINPUT n [ string1 [ string2 [ ... ] ] ]Example: MINPUT 5 Login: {Username: } {NO CARRIER} BUSY RING For use in script programs. Waits up to n seconds for any one of the strings to arrive on the communication device. If no strings are given, the command waits for any character at all to arrive. Strings are separated by spaces; use { braces } for grouping. If any of the strings is encountered within the timeout interval, the command succeeds and the \v(minput) variable is set to the number of the string that was matched: 1, 2, 3, etc. If none of the strings arrives, the command times out, fails, and \v(minput) is set to 0.Also see: INPUT, REINPUT, SET INPUT.Syntax: CONNECT (or C, or CQ) [ switches ] Connect to a remote computer via the serial communications device given in the most recent SET LINE command, or to the network host named in the most recent SET HOST command. Type the escape character followed by C to get back to the C-Kermit prompt, or followed by ? for a list of CONNECT-mode escape commands.Include the /QUIETLY switch to suppress the informational message thattells you how to escape back, etc. CQ is a synonym for CONNECT /QUIETLY.Other switches include:/TRIGGER:string One or more strings to look for that will cause automatic return to command mode. To specify one string, just put it right after the colon, e.g. "/TRIGGER:Goodbye". If the string contains any spaces, you must enclose it in braces, e.g. "/TRIGGER:{READY TO SEND...}". To specify more than one trigger, use the following format: /TRIGGER:{{string1}{string2}...{stringn}} Upon return from CONNECT mode, the variable \v(trigger) is set to the trigger string, if any, that was actually encountered. This value, like all other CONNECT switches applies only to the CONNECT command with which it is given, and overrides (temporarily) any global SET TERMINAL TRIGGER string that might be in effect.Syntax: MGET [ switches... ] remote-filespec [ remote-filespec ... ]Just like GET (q.v.) except allows a list of remote file specifications,separated by spaces.Syntax: GET [ switches... ] remote-filespec [ as-name ] Tells the other Kermit, which must be in (or support autoswitching into) server mode, to send the named file or files. If the remote-filespec or the as-name contain spaces, they must be enclosed in braces. If as-name is the name of an existing local directory, incoming files are placed in that directory; if it is the name of directory that does not exist, Kermit tries to create it. Optional switches include:/AS-NAME:text Specifies "text" as the name to store the incoming file under, or directory to store it in. You can also specify the as-name as the second filename on the GET command line./BINARY Performs this transfer in binary mode without affecting the global transfer mode./COMMAND Receives the file into the standard input of a command, rather than saving it on disk. The /AS-NAME or the second "filename" on the GET command line is interpreted as the name of a command./DELETE Asks the other Kermit to delete the file (or each file in the group) after it has been transferred successfully. Specifies that any files whose names match the pattern, which can be a regular filename, or may contain "*" and/or "?" metacharacters, are to be refused. To specify multiple patterns (up to 8), use outer braces around the group, and inner braces around each pattern: /EXCEPT:{{pattern1}{pattern2}...}/FILENAMES:{CONVERTED,LITERAL} Overrides the global SET FILE NAMES setting for this transfer only./FILTER:command Causes the incoming file to passed through the given command (standard input/output filter) before being written to disk./MOVE-TO:directory-name Specifies that each file that arrives should be moved to the specified directory after, and only if, it has been received successfully./PATHNAMES:{OFF,ABSOLUTE,RELATIVE,AUTO} Overrides the global SET RECEIVE PATHNAMES setting for this transfer./QUIET When sending in local mode, this suppresses the file-transfer display./RECOVER Used to recover from a previously interrupted transfer; GET /RECOVER is equivalent REGET. Works only in binary mode. Tells the server to descend through the directory tree when locating the files to be sent./RENAME-TO:string Specifies that each file that arrives should be renamed as specified after, and only if, it has been received successfully. The string should normally contain variables like \v(filename) or \v(filenum)./TEXT Performs this transfer in text mode without affecting the globalAlso see HELP MGET, HELP SEND, HELP RECEIVE, HELP SERVER, HELP REMOTE.Syntax: LOG (or L) filename [ { NEW, APPEND } ]Record information in a log file:CX Connections made with SET LINE, SET PORT, SET HOST, DIAL, TELNET, etc. The default filename is CX.LOG in your home directory and APPEND is the default mode for opening.DEBUG Debugging information, to help track down bugs in the C-Kermit program. The default log name is debug.log in current directory.PACKETS Kermit packets, to help with protocol problems. The default filename is packet.log in current directory.SESSION Records your CONNECT session (default: session.log in current directory).TRANSACTIONS Names and statistics about files transferred (default: transact.log in current directory; see HELP SET TRANSACTION-LOG for transaction-log format options.)If you include the APPEND keyword after the filename, the existing log file,if any, is appended to; otherwise a new file is created (except APPEND isthe default for the connection log). Use CLOSE to stop logging.Note: The filename can also be a pipe, e.g.: log transactions |lpr log debug {| grep "^TELNET" > debug.log}Braces are required if the pipeline or filename contains spaces.Syntax: SCRIPT text A limited and cryptic "login assistant", carried over from old C-Kermit releases for comptability, but not recommended for use. Instead, please use the full script programming language described in chapters 17-19 of "Using C-Kermit". Login to a remote system using the text provided. The login script is intended to operate similarly to UNIX uucp "L.sys" entries. A login script is a sequence of the form: expect send [expect send] . . . where 'expect' is a prompt or message to be issued by the remote site, and 'send' is the names, numbers, etc, to return. The send may also be the keyword EOT to send Control-D, or BREAK (or \\b) to send a break signal. Letters in send may be prefixed by ~ to send special characters: ~b backspace, ~s space, ~q '?', ~n linefeed, ~r return, ~c don't append a return, and ~o[o[o]] for octal of a character. As with some UUCP systems, sent strings are followed by ~r unless they end with ~c. Only the last 7 characters in each expect are matched. A null expect, e.g. ~0 or two adjacent dashes, causes a short delay. If you expect that a sequence might not arrive, as with uucp, conditional sequences may be expressed in the form: -send-expect[-send-expect[...]] where dashed sequences are followed as long as previous expects fail.Syntax: TYPE [ switches... ] file Displays a file on the screen. Pauses automatically at end of each screenful if COMMAND MORE-PROMPTING is ON. Optional switches: /PAGE Pause at the end of each screenful even if COMMAND MORE-PROMPTING OFF. Synonym: /MORE /NOPAGE Don't pause at the end of each screen even if COMMAND MORE-PROMPTING ON. /HEAD:n Only type the first 'n' lines of the file. /TAIL:n Only type the last 'n' lines of the file. /MATCH:pattern Only type lines that match the given pattern. HELP WILDCARDS for info info about patterns. /HEAD and /TAIL apply after /MATCH. /PREFIX:string Print the given string at the beginning of each line. /WIDTH:number Truncate each line at the given column number before printing. /COUNT Count lines (and matches) and print the count(s) but not the lines.You can use SET OPTIONS TYPE to set the defaults for /PAGE or /NOPAGE and/WIDTH. Use SHOW OPTIONS to see current TYPE options.Syntax: CLEAR [ item-name ]Clears the named item. If no item is named, DEVICE-AND-INPUT is assumed. ALARM Clears any pending alarm (see SET ALARM). APC-STATUS Clears Application Program Command status. BINARY-PATTERNS Clears the file binary-patterns list. DEVICE Clears the current port or network input buffer. DEVICE-AND-INPUT Clears both the device and the INPUT buffer. DIAL-STATUS Clears the \v(dialstatus) variable. INPUT Clears the INPUT command buffer and the \v(input) variable. SEND-LIST Clears the current SEND list (see ADD). TEXT-PATTERNS Clears the file text-patterns list.Syntax: DATE [ date-time ] Prints the current date and time in standard format: yyyymmdd_hh:mm:ss. If a date-time is given, converts it to standard format. Various date-time formats are acceptable. The rules for the date-time are: . The date, if given, must precede the time. . The year must be four digits. . If the year comes first, the second field is the month. . The day, month, and year may be separated by spaces, /, -, or underscore. . The date and time may be separated by spaces or underscore. . The month may be numeric (1 = January) or spelled out or abbreviated in English. . The time may be in 24-hour format or 12-hour format. . If the hour is 12 or less, AM is assumed unless AM or PM is included. . If the date is omitted but a time is given, the current date is assumed. . If the time is given but date omitted, 00:00:00 is assumed. . If both the date and time are omitted, the current date and time are assumed. The following shortcuts can also be used: TODAY Today's date, optionally followed by a time; 00:00:00 if no time given. YESTERDAY Yesterday's date, optionally followed by a time (default 00:00:00). TOMORROW Tomorrows's date, optionally followed by a time (default 00:00:00). + A date in the future relative to the current date; may be DAYS WEEKS, MONTHS, or YEARS. Optionally followed by a time (default 00:00:00). Examples: +3days, +7weeks. - A date in the past relative to the current date, optionally followed by a time (default 00:00:00). Examples: -1year, -37months.All the formats shown above are acceptable as arguments to date-time switchessuch as /AFTER: or /BEFORE, and to functions such as \fcvtdate() that takedate-time strings as arguments.Syntax: SEND (or S) [ switches...] [ filespec [ as-name ] ] Sends the file or files specified by filespec. If the filespec is omitted the SEND-LIST is used (HELP ADD for more info). The filespec may contain wildcard characters. An 'as-name' may be given to specify the name(s) the files(s) are sent under; if the as-name is omitted, each file is sent under its own name. Also see HELP MSEND, HELP WILDCARD. Optional switches include:/ARRAY: Specifies that the data to be sent comes from the given array, such as \&a[]. A range may be specified, e.g. SEND /ARRAY:&a[100:199]. Leave the brackets empty or omit them altogether to send the whole 1-based array. Include /TEXT to have Kermit supply a line terminator at the end of each array element (and translate character sets if character-set translations are set up), or /BINARY to treat the array as one long string of characters to be sent as-is. If an as-name is not specified, the array is sent with the name _ARRAY_X_, where "X" is replaced by actual array letter./AS-NAME: Specifies as the name to send the file under instead of its real name. This is equivalent to giving an as-name after the filespec. Performs this transfer in binary mode without affecting the global Performs this transfer in text mode without affecting the global/NOBACKUP Skip (don't send) Kermit or EMACS backup files (files with names that end with .~n~, where n is a number). Include (send) files whose names begin with ".". Don't send files whose names begin with ".". Sends the output from a command, rather than the contents of a file. The first "filename" on the SEND command line is interpreted as the name of a command; the second (if any) is the as-name./FILENAMES:{CONVERTED,LITERAL} Overrides the global SET FILE NAMES setting for this transfer only./PATHNAMES:{OFF,ABSOLUTE,RELATIVE} Overrides the global SET SEND PATHNAMES setting for this transfer. Specifies a command (standard input/output filter) to pass the file through before sending it. Deletes the file (or each file in the group) after it has been sent successfully (applies only to real files). When sending in local mode, this suppresses the file-transfer display. Used to recover from a previously interrupted transfer; SEND /RECOVER is equivalent RESEND (use in binary mode only). Tells C-Kermit to look not only in the given or current directory for files that match the filespec, but also in all its subdirectories, and all their subdirectories, etc./RENAME-TO:name Tells C-Kermit to rename each source file that is sent successfully to the given name (usually you should include \v(filename) in the new name, which is replaced by the original filename./MOVE-TO:directory Tells C-Kermit to move each source file that is sent successfully to the given directory./STARTING:number Starts sending the file from the given byte position. SEND /STARTING:n filename is equivalent to PSEND filename n./SUBJECT:text Specifies the subject of an email message, to be used with /MAIL. If the text contains spaces, it must be enclosed in braces./MAIL:address Sends the file as e-mail to the given address; use with /SUBJECT:./PRINT:options Sends the file to be printed, with optional options for the printer./PROTOCOL:name Uses the given protocol to send the file (Kermit, Zmodem, etc) for this transfer without changing global protocol. Specifies that only those files modified after the given date-time are to be sent. HELP DATE for info about date-time formats. Specifies that only those files modified before the given date-time are to be sent. Specifies that only those files modified at or before the given date-time Specifies that only those files modified at or after the given date-time Specifies that only those files longer than the given number of bytes are Specifies that only those files smaller than the given number of bytes are Specifies that any files whose names match the pattern, which can be a regular filename, or may contain "*" and/or "?" metacharacters, are not to be sent. To specify multiple patterns (up to 8), use outer braces around the group, and inner braces around each pattern: /EXCEPT:{{pattern1}{pattern2}...}/LISTFILE:filename Specifies the name of a file that contains the list of names of files that are to be sent. The filenames should be listed one name per line in this file (but a name can contain wildcards).Also see HELP RECEIVE, HELP GET, HELP SERVER, HELP REMOTE.Syntax: RECEIVE (or R) [ switches... ] [ as-name ] Wait for a file to arrive from the other Kermit, which must be given a SEND command. If the optional as-name is given, the incoming file or files are stored under that name, otherwise it will be stored under the name it arrives with. If the filespec denotes a directory, the incoming file or files will be placed in that directory.Optional switches include: Specifies "text" as the name to store the incoming file under. You can also specify the as-name as a filename on the command line. Skips text-mode conversions unless the incoming file arrives with binary attribute Receives the file into the standard input of a command, rather than saving it on disk. The /AS-NAME or the "filename" on the RECEIVE command line is interpreted as the name of a command. Specifies that any files whose names match the pattern, which can be a regular filename, or may contain "*" and/or "?" metacharacters, are to be refused. To specify multiple patterns (up to 8), use outer braces around the group, and inner braces around each pattern: /EXCEPT:{{pattern1}{pattern2}...}/FILENAMES:{CONVERTED,LITERAL} Overrides the global SET FILE NAMES setting for this transfer only. Causes the incoming file to passed through the given command (standard input/output filter) before being written to disk. Specifies that each file that arrives should be moved to the specified directory after, and only if, it has been received successfully./PATHNAMES:{OFF,ABSOLUTE,RELATIVE,AUTO} Overrides the global SET RECEIVE PATHNAMES setting for this transfer. Use the given protocol to receive the incoming file(s). When sending in local mode, this suppresses the file-transfer display. Equivalent to /PATHNAMES:RELATIVE. Specifies that each file that arrives should be renamed as specified after, and only if, it has been received successfully. The string should normally contain variables like \v(filename) or \v(filenum). Forces text-mode conversions unless the incoming file has the binaryAlso see HELP SEND, HELP GET, HELP SERVER, HELP REMOTE.Syntax: RESEND filespec [name] Resend the file or files, whose previous transfer was interrupted. Picks up from where previous transfer left off, IF the receiver was told to SET FILE INCOMPLETE KEEP. Only works for binary-mode transfers. Requires the other Kermit to have RESEND capability.Syntax: REGET filespec Ask a server to RESEND a file to C-Kermit.Syntax: PSEND filespec position [name] Just like SEND, except sends the file starting at the given byte position.Syntax: MSEND [ switches... ] filespec [ filespec [ ... ] ] Sends the files specified by the filespecs. One or more filespecs may be listed, separated by spaces. Any or all filespecs may contain wildcards and they may be in different directories. Alternative names cannot be given. Switches include /BINARY /DELETE /MAIL /PROTOCOL /QUIET /RECOVER /TEXT; see HELP SEND for descriptions.ADD SEND-LIST filespec [ [ ] ] Adds the specified file or files to the current SEND list. Use SHOW SEND-LIST and CLEAR SEND-LIST to display and clear the list; use SEND by itself to send the files from it.ADD BINARY-PATTERNS [ [ ... ] ] Adds the pattern(s), if any, to the SET FILE BINARY-PATTERNS list.ADD TEXT-PATTERNS [ [ ... ] ] Adds the pattern(s), if any, to the SET FILE TEXT-PATTERNS list. Use SHOW PATTERNS to see the lists. See HELP SET FILE for further info.REMOVE BINARY-PATTERNS [ [ ... ] ] Removes the pattern(s), if any, from the SET FILE BINARY-PATTERNS listREMOVE TEXT-PATTERNS [ [ ... ] ] Removes the given patterns from the SET FILE TEXT-PATTERNS list. Use SHOW PATTERNS to see the lists. See HELP SET FILE for further info.Syntax: SERVER Enter server mode on the current connection. All further commands are taken in packet form from the other Kermit program. Use FINISH, BYE, or REMOTE EXIT to get C-Kermit out of server mode. The SET command establishes communication, file, scripting, or other parameters. The SHOW command can be used to display the values of SET parameters. Help is available f~yor each individual parameter; type HELP SET ? to see what's available.Syntax: SET KEY k textOr: SET KEY CLEAR Configure the key whose "scan code" is k to send the given text when pressed during CONNECT mode. SET KEY CLEAR restores all the default key mappings. If there is no text, the default key binding is restored for the key k. SET KEY mappings take place before terminal character-set translation. To find out the scan code and mapping for a particular key, use the SHOW KEY command.Syntax: SET BLOCK-CHECK type Type of packet block check to be used for error detection, 1, 2, 3, or BLANK-FREE-2. Type 1 is standard, and catches most errors. Types 2 and 3 specify more rigorous checking at the cost of higher overhead. The BLANK-FREE-2 type is the same as Type 2, but is guaranteed to contain no blanks.Syntax: SET DEBUG { SESSION, ON, OFF, TIMESTAMP }SET DEBUG ON Opens a debug log file named debug.log in the current directory. Use LOG DEBUG if you want specify a different log file name or path.SET DEBUG OFF Stops debug logging and session debugging.SET DEBUG SESSION Displays control and 8-bit characters symbolically during CONNECT mode. Equivalent to SET TERMINAL DEBUG ON.SET DEBUG TIMESTAMP { ON, OFF } Enables/Disables timestamps on debug log entries.Syntax: SET CONTROL-CHARACTER { PREFIXED, UNPREFIXED } { ..., ALL } is the numeric ASCII code for a control character 1-31,127-159,255. The word "ALL" means all characters in this range. PREFIXED means the given control character must be converted to a printable character and prefixed, the default for all control characters. UNPREFIXED means you think it is safe to send the given control character as-is, without a prefix. USE THIS OPTION AT YOUR OWN RISK! SHOW CONTROL to see current settings. SET CONTROL PREFIXED ALL is recommended for safety. You can include multiple values in one command, separated by spaces.Syntax: SET MODEM ...Note: Many of the SET MODEM parameters are configured automatically whenyou SET MODEM TYPE, according to the modem's capabilities. SHOW MODEM tosee them. Also see HELP DIAL and HELP SET DIAL.SET MODEM TYPE Tells Kermit which kind of modem you have, so it can issue the appropriate modem-specific commands for configuration, dialing, and hanging up. For a list of the modem types known to Kermit, type "set modem type ?". Use SET MODEM TYPE NONE (the default) for direct serial connections. Use SET MODEM TYPE USER-DEFINED to use a type of modem that is not built in to Kermit, and then user SET MODEM CAPABILITIES, SET MODEM DIAL-COMMAND, and SET MODEM COMMAND to tell Kermit how to configure and control it. Give the SET MODEM TYPE command BEFORE the SET LINE command so Kermit can open the communications device in the correct mode for dialing.SET MODEM CAPABILITIES Use this command for changing Kermit's idea of your modem's capabilities, for example, if your modem is supposed to have built-in error correction but in fact does not. Also use this command to define the capabilities of a USER-DEFINED modem. Capabilities are: AT AT-commands DC data-compression EC error-correction HWFC hardware-flow ITU v25bis-commands SWFC software-flow KS kermit-spoof SB speed-buffering TB TelebitSET MODEM CARRIER-WATCH { AUTO, ON, OFF } Synonym for SET CARRIER-WATCH (q.v.)SET MODEM COMPRESSION { ON, OFF } Enables/disables the modem's data compression feature, if any.SET MODEM DIAL-COMMAND The text replaces Kermit's built-in modem dialing command. It must include '%s' (percent s) as a place-holder for the telephone numbers given in your DIAL commands.SET MODEM ERROR-CORRECTION { ON, OFF } Enables/disables the modem's error-correction feature, if any.SET MODEM ESCAPE-CHARACTER number Numeric ASCII value of modem's escape character, e.g. 43 for '+'. For Hayes-compatible modems, Kermit uses three copies, e.g. "+++".SET MODEM FLOW-CONTROL {AUTO, NONE, RTS/CTS, XON/XOFF} Selects the type of local flow control to be used by the modem.SET MODEM HANGUP-METHOD { MODEM-COMMAND, RS232-SIGNAL } How hangup operations should be done. MODEM-COMMAND means try to escape back to the modem's command processor and give a modem-specific hangup command. RS232-SIGNAL means turn off the DTR signal.SET MODEM KERMIT-SPOOF {ON, OFF} If the selected modem type supports the Kermit protocol directly, use this command to turn its Kermit protocol function on or off.SET MODEM MAXIMUM-SPEED Specify the maximum interface speed for the modem.SET MODEM NAME Descriptive name for a USER-DEFINED modem.SET MODEM SPEAKER {ON, OFF} Turns the modem's speaker on or off during dialing.SET MODEM SPEED-MATCHING {ON, OFF} ON means that C-Kermit changes its serial interface speed to agree with the speed reported by the modem's CONNECT message, if any. OFF means Kermit should not change its interface speed.SET MODEM VOLUME {LOW, MEDIUM, HIGH} Selects the desired modem speaker volume for when the speaker is ON.SET MODEM COMMAND commands are used to override built-in modem commands foreach modem type, or to fill in commands for the USER-DEFINED modem type.Omitting the optional [ text ] restores the built-in modem-specific command,if any:SET MODEM COMMAND AUTOANSWER {ON, OFF} [ text ] Modem commands to turn autoanswer on and off.SET MODEM COMMAND COMPRESSION {ON, OFF} [ text ] Modem commands to turn data compression on and off.SET MODEM COMMAND ERROR-CORRECTION {ON, OFF} [ text ] Modem commands to turn error correction on and off.SET MODEM COMMAND HANGUP [ text ] Command that tells the modem to hang up the connection.SET MODEM COMMAND IGNORE-DIALTONE [ text ] Command that tells the modem not to wait for dialtone before dialing.SET MODEM COMMAND INIT-STRING [ text ] The 'text' is a replacement for C-Kermit's built-in initialization command for the modem.SET MODEM COMMAND PREDIAL-INIT [ text ] A second INIT-STRING that is to be sent to the modem just prior to dialing.SET MODEM COMMAND HARDWARE-FLOW [ text ] Modem command to enable hardware flow control (RTS/CTS) in the modem.SET MODEM COMMAND SOFTWARE-FLOW [ text ] Modem command to enable local software flow control (Xon/Xoff) in modem.SET MODEM COMMAND SPEAKER { ON, OFF } [ text ] Modem command to turn the modem's speaker on or off.SET MODEM COMMAND NO-FLOW-CONTROL [ text ] Modem command to disable local flow control in the modem.SET MODEM COMMAND PULSE [ text ] Modem command to select pulse dialing.SET MODEM COMMAND TONE [ text ] Modem command to select tone dialing.SET MODEM COMMAND VOLUME { LOW, MEDIUM, HIGH } [ text ] Modem command to set the modem's speaker volume.The SET DIAL command establishes or changes all parameters related todialing the telephone. Also see HELP DIAL and HELP SET MODEM. Use SHOWDIAL to display all of the SET DIAL values.SET DIAL COUNTRY-CODE Tells Kermit the telephonic country-code of the country you are dialing from, so it can tell whether a portable-format phone number from your dialing directory will result in a national or an international call. Examples: 1 for USA, Canada, Puerto Rico, etc; 7 for Russia, 39 for Italy, 351 for Portugal, 47 for Norway, 44 for the UK, 972 for Israel, 81 for Japan, ... If you have not already set your DIAL INTL-PREFIX and LD-PREFIX, then this command sets default values for them: 011 and 1, respectively, for country code 1; 00 and 0, respectively, for all other country codes. If these are not your true international and long-distance dialing prefixes, then you should follow this command by DIAL INTL-PREFIX and LD-PREFIX to let Kermit know what they really are.SET DIAL AREA-CODE [ ] Tells Kermit the area or city code that you are dialing from, so it can tell whether a portable-format phone number from the dialing directory is local or long distance. Be careful not to include your long-distance dialing prefix as part of your area code; for example, the area code for central London is 171, not 0171.SET DIAL CONFIRMATION {ON, OFF} Kermit does various transformations on a telephone number retrieved from the dialing directory prior to dialing (use LOOKUP to see them). In case the result might be wrong, you can use SET DIAL CONFIRM ON to have Kermit ask you if it is OK to dial the number, and if not, to let you type in a replacement.SET DIAL CONNECT { AUTO, ON, OFF } Whether to CONNECT (enter terminal mode) automatically after successfully dialing. ON means to do this; OFF means not to. AUTO (the default) means do it if the DIAL command was given interactively, but don't do it if the DIAL command was issued from a macro or command file. If you specify ON or AUTO, you may follow this by one of the keywords VERBOSE or QUIET, to indicate whether the verbose 4-line 'Connecting...' message is to be displayed if DIAL succeeds and Kermit goes into CONNECT mode.SET DIAL CONVERT-DIRECTORY {ASK, ON, OFF} The format of Kermit's dialing directory changed in version 5A(192). This command tells Kermit what to do when it encounters an old-style directory: ASK you whether to convert it, or convert it automatically (ON), or leave it alone (OFF). Old-style directories can still be used without conversion, but the parity and speed fields are ignored.SET DIAL DIRECTORY [ filename [ filename [ filename [ ... ] ] ] ] The name(s) of your dialing directory file(s). If you do not supply any filenames, the dialing directory feature is disabled and all numbers are dialed literally as given in the DIAL command. If you supply more than one directory, all of them are searched.SET DIAL SORT {ON, OFF} When multiple entries are obtained from your dialing directory, they are sorted in "cheapest-first" order. If this does not produce the desired effect, SET DIAL SORT OFF to disable sorting, and the numbers will be dialed in the order in which they were found.SET DIAL DISPLAY {ON, OFF} Whether to display dialing progress on the screen; default is OFF.SET DIAL HANGUP {ON, OFF} Whether to hang up the phone prior to dialing; default is ON.SET DIAL IGNORE-DIALTONE {ON, OFF} Whether to ignore dialtone when dialing; default is OFF.SET DIAL MACRO [ name ] Specify the name of a macro to execute on every phone number dialed, just prior to dialing it, in order to perform any last-minute alterations.SET DIAL METHOD {AUTO, DEFAULT, TONE, PULSE} Whether to use the modem's DEFAULT dialing method, or to force TONE or PULSE dialing. AUTO (the default) means to choose tone or pulse dialing based on the country code. (Also see SET DIAL TONE-COUNTRIES and SET DIAL PULSE-COUNTRIES.)SET DIAL PACING number How many milliseconds to pause between sending each character to the modem dialer. The default is -1, meaning to use the number from the built-in modem database. SET DIAL PULSE-COUNTRIES [ cc [ cc [ ... ] ] ] Sets the list of countries in which pulse dialing is required. Each cc is a country code.SET DIAL TEST { ON, OFF } OFF for normal dialing. Set to ON to test dialing procedures without actually dialing.SET DIAL TONE-COUNTRIES [ cc [ cc [ ... ] ] ] Sets the list of countries in which tone dialing is available. Each ccSET DIAL TIMEOUT number How many seconds to wait for a dialed call to complete. Use this command to override the DIAL command's automatic timeout calculation. A value of 0 turns off this feature and returns to Kermit's automatic dial timeout calculation.SET DIAL RESTRICT { INTERNATIONAL, LOCAL, LONG-DISTANCE, NONE } Prevents placing calls of the type indicated, or greater. For example SET DIAL RESTRICT LONG prevents placing of long-distance and international calls. If this command is not given, there are no restrictions. Useful when dialing a list of numbers fetched from a dialing directory.SET DIAL RETRIES How many times to redial each number if the dialing result is busy or no no answer, until the call is succesfully answered. The default is 0 because automatic redialing is illegal in some countries.SET DIAL INTERVAL How many seconds to pause between automatic redial attempts; default 10.The following commands apply to all phone numbers, whether given literallyor found in the dialing directory:SET DIAL PREFIX [ text ] Establish a prefix to be applied to all phone numbers that are dialed, for example to disable call waiting.SET DIAL SUFFIX [ text ] Establish a suffix to be added after all phone numbers that are dialed.The following commands apply only to portable-format numbers obtained fromthe dialing directory; i.e. numbers that start with a "+" sign andcountry code, followed by area code in parentheses, followed by the phonenumber.SET DIAL LC-AREA-CODES [ ] Species a list of area codes to which dialing is local, i.e. does not require the LD-PREFIX. Up to 32 area codes may be listed, separated by spaces. Any area codes in this list will be included in the final dial string so do not include your own area code if it should not be dialed.SET DIAL LC-PREFIX [ ] Specifies a prefix to be applied to local calls made from portable dialing directory entries. Normally no prefix is used for local calls.SET DIAL LC-SUFFIX [ ] Specifies a suffix to be applied to local calls made from portable dialing directory entries. Normally no suffix is used for local calls.SET DIAL LD-PREFIX [ ] Your long-distance dialing prefix, to be used with portable dialing directory entries that result in long-distance calls.SET DIAL LD-SUFFIX [ ] Long-distance dialing suffix, if any, to be used with portable dialing directory entries that result in long-distance calls. This would normally be used for appending a calling-card number to the phone number.SET DIAL FORCE-LONG-DISTANCE { ON, OFF } Whether to force long-distance dialing for calls that normally would be local. For use (e.g.) in France.SET DIAL TOLL-FREE-AREA-CODE [ [ [ ... ] ] ] Tells Kermit the toll-free area code(s) in your country.SET DIAL TOLL-FREE-PREFIX [ ] You toll-free dialing prefix, in case it is different from your long- distance dialing prefix.SET DIAL INTL-PREFIX Your international dialing prefix, to be used with portable dialing directory entries that result in international calls.SET DIAL INTL-SUFFIX International dialing suffix, if any, to be used with portable dialing directory entries that result in international calls.SET DIAL PBX-OUTSIDE-PREFIX Use this to tell Kermit how to get an outside line when dialing from a Private Branch Exchange (PBX).SET DIAL PBX-EXCHANGE [ [ ... ] ] If PBX-OUTSIDE-PREFIX is set, then you can use this command to tell Kermit the leading digits of one or more local phone numbers that identify it as being on your PBX, so it can make an internal call by deleting those digits from the phone number.SET DIAL PBX-INTERNAL-PREFIX If PBX-EXCHANGE is set, and Kermit determines from it that a call is internal, then this prefix, if any, is added to the number prior to dialing. Use this if internal calls from your PBX require a special prefix.Syntax: SET FLOW [ switch ] value Selects the type of flow control to use during file transfer, terminal connection, and script execution. Switches let you associate a particular kind of flow control with each kind of connection: /REMOTE, /MODEM, /DIRECT-SERIAL, /TCPIP, etc; type "set flow ?" for a list of available switches. Then whenever you make a connection, the associated flow-control is chosen automatically. The flow-control values are NONE, KEEP, XON/XOFF, and possibly RTS/CTS and some others; again, type "set flow ?" for a list. KEEP tells Kermit not to try to change the current flow-control method for the connection. If you omit the switch and simply supply a value, this value becomes the current flow control type, overriding any default value that might have been chosen in your most recent SET LINE, SET PORT, or SET HOST, or other connection-establishment command. Type SHOW FLOW-CONTROL to see the current defaults for each connection type as well as the current connection type and flow-control setting. SHOW COMMUNICATIONS also shows the current flow-control setting.Syntax: SET FILE parameter valueSets file-related parameters. Use SHOW FILE to view them. Also see SETTRANSFER and SET PROTOCOL.SET FILE TYPE { TEXT, BINARY } How file contents are to be treated during file transfer in the absence of any other indication. TYPE can be TEXT for conversion of record format and character set, which is usually needed when transferring text files between unlike platforms (such as UNIX and Windows), or BINARY for no conversion if TRANSFER MODE is MANUAL, which is not the default. Use BINARY with TRANSFER MODE MANUAL for executable programs or binary data or whenever you wish to duplicate the original contents of the file, byte for byte. In most modern Kermit programs, the file sender informs the receiver of the file type automatically. However, when sending files from C-Kermit to an ancient or non-Columbia Kermit implementation, you might need to set the corresponding file type at the receiver as well. When TRANSFER MODE is AUTOMATIC (as it is by default), various automatic methods (depending on the platform) are used to determine whether a file is transferred in text or binary mode; these methods (which might include filename pattern matching (see SET FILE PATTERNS below), client/server "kindred-spirit" recognition, or source file record format) supersede the FILE TYPE setting but can, themselves, be superseded by including a /BINARY or /TEXT switch in the SEND, GET, or RECEIVE command. When TRANSFER MODE is MANUAL, the FILE TYPE setting takes precedence.SET FILE PATTERNS { ON, OFF, AUTO } ON means to use filename pattern lists to determine whether to send a file in text or binary mode. OFF means to send all files in the prevailing mode. AUTO (the default) is like ON if the other Kermit accepts Attribute packets and like OFF otherwise.SET FILE BINARY-PATTERNS [ [ ... ] ] Zero or more filename patterns which, if matched, cause a file to be sent in binary mode when FILE PATTERNS are ON. HELP WILDCARDS for a description of pattern syntax. SHOW PATTERNS to see the current file pattern lists.SET FILE TEXT-PATTERNS [ [ ... ] ] Zero or more filename patterns which, if matched, cause a file to be sent in text mode when FILE PATTERNS is ON; if a file does not match a text or binary pattern, the prevailing SET FILE TYPE is used.SET FILE BYTESIZE { 7, 8 } Normally 8. If 7, truncate the 8th bit of all file bytes.SET FILE CHARACTER-SET name Tells the encoding of the local file, ASCII by default. The names ITALIAN, PORTUGUESE, NORWEGIAN, etc, refer to 7-bit ISO-646 national character sets. LATIN1 is the 8-bit ISO 8859-1 Latin Alphabet 1 for Western European languages. NEXT is the 8-bit character set of the NeXT workstation. The CPnnn sets are for PCs. MACINTOSH-LATIN is for the Macintosh. LATIN2 is ISO 8859-2 for Eastern European languages that are written with Roman letters. Mazovia is a PC code page used in Poland. KOI-CYRILLIC, CYRILLIC-ISO, and CP866 are 8-bit Cyrillic character sets. SHORT-KOI is a 7-bit ASCII coding for Cyrillic. BULGARIA-PC is a PC code page used in Bulgaria HEBREW-ISO is ISO 8859-8 Latin/Hebrew. CP862 is the Hebrew PC code page. HEBREW-7 is like ASCII with the lowercase letters replaced by Hebrew. GREEK-ISO is ISO 8859-7 Latin/Greek. CP869 is the Greek PC code page. ELOT-927 is like ASCII with the lowercase letters replaced by Greek. JAPANESE-EUC, JIS7-KANJI, DEC-KANJI, and SHIFT-JIS-KANJI are Japanese Kanji character sets. UCS-2 is the 2-byte form of the Universal Character Set. UTF-8 is the serialized form of the Universal Character Set. Type SET FILE CHAR ? for a complete list of file character sets.SET FILE COLLISION option Tells what to do when a file arrives that has the same name as an existing file. The options are: BACKUP (default) - Rename the old file to a new, unique name and store the incoming file under the name it was sent with. OVERWRITE - Overwrite (replace) the existing file. APPEND - Append the incoming file to the end of the existing file. DISCARD - Refuse and/or discard the incoming file. RENAME - Give the incoming file a unique name. UPDATE - Accept the incoming file only if newer than the existing file.SET FILE DESTINATION { DISK, PRINTER, SCREEN, NOWHERE } DISK (default): Store incoming files on disk. PRINTER: Send incoming files to SET PRINTER device. SCREEN: Display incoming files on screen (local mode only). NOWHERE: Do not put incoming files anywhere (use for calibration).SET FILE DISPLAY option Selects the format of the file transfer display for local-mode file transfer. The choices are: BRIEF A line per file, showing size, mode, status, and throughput. SERIAL One dot is printed for every K bytes transferred. CRT Numbers are continuously updated on a single screen line. This format can be used on any video display terminal. FULLSCREEN A fully formatted 24x80 screen showing lots of information. This requires a terminal or terminal emulator. NONE No file transfer display at all.SET FILE DOWNLOAD-DIRECTORY [ ] The directory into which all received files should be placed. By default, received files go into your current directory.SET FILE END-OF-LINE { CR, CRLF, LF } Use this command to specify nonstandard line terminators for text files.SET FILE INCOMPLETE { AUTO, KEEP, DISCARD } What to do with an incompletely received file: KEEP (default), or DISCARD. AUTO (the default) means DISCARD if transfer is in text mode, KEEP if it is in binary mode.SET FILE NAMES { CONVERTED, LITERAL } File names are normally CONVERTED to "common form" during transmission (e.g. lowercase to uppercase, extra periods changed to underscore, etc). LITERAL means use filenames literally (useful between like systems). Also see SET SEND PATHNAMES and SET RECEIVE PATHNAMES.SET FILE OUTPUT { { BUFFERED, UNBUFFERED } [ size ], BLOCKING, NONBLOCKING } Lets you control the disk output buffer for incoming files. Buffered blocking writes are normal. Nonblocking writes might be faster on some systems but might also be risky, depending on the underlying file service. Unbuffered writes might be useful in critical applications to ensure that cached disk writes are not lost in a crash, but will probably also be slower. The optional size parameter after BUFFERED or UNBUFFERED lets you change the disk output buffer size; this might make a difference in performance.SET FILE UCS BOM { ON, OFF } Whether to write a Byte Order Mark when creating a UCS-2 file.SET FILE UCS BYTE-ORDER { BIG-ENDIAN, LITTLE-ENDIAN } Byte order to use when creating UCS-2 files, and to use when reading UCS-2 files that do not start with a Byte Order Mark.SET FILE WARNING { ON, OFF } SET FILE WARNING is superseded by the newer command, SET FILE COLLISION. SET FILE WARNING ON is equivalent to SET FILE COLLISION RENAME and SET FILE WARNING OFF is equivalent to SET FILE COLLISION OVERWRITE.Syntax: SET HANDSHAKE { NONE, XON, LF, BELL, ESC, CODE number } Character to use for half duplex line turnaround handshake during file transfer. C-Kermit waits for this character from the other computer before sending its next packet. Default is NONE; you can give one of the other names like BELL or ESC, or use SET HANDSHAKE CODE to specify the numeric code value of the handshake character. Type SET HANDSH ? for a complete list of possibilities.SET SERVER CD-MESSAGE {ON,OFF} Tells whether the server, after successfully executing a REMOTE CD command, should send the contents of the new directory's READ.ME (or similar) file to your screen.SET SERVER CD-MESSAGE FILE name Tells the name of the file to be displayed as a CD-MESSAGE, such as READ.ME (SHOW SERVER tells the current CD-MESSAGE FILE name). To specify more than one filename to look for, use {{name1}{name2}..}. Synonym: SET CD MESSAGE FILE .SET SERVER DISPLAY {ON,OFF} Tells whether local-mode C-Kermit during server operation should put a file transfer display on the screen. Default is OFF.SET SERVER GET-PATH [ directory [ directory [ ... ] ] ] Tells the C-Kermit server where to look for files whose names it receives from client GET commands when the names are not fully specified pathnames. Default is no GET-PATH, so C-Kermit looks only in its current directory.SET SERVER IDLE-TIMEOUT seconds Idle time limit while in server mode, 0 for no limit. NOTE: SERVER IDLE-TIMEOUT and SERVER TIMEOUT are mutually exclusive.SET SERVER KEEPALIVE {ON,OFF} Tells whether C-Kermit should send "keepalive" packets while executing REMOTE HOST commands, which is useful in case the command takes a long time to produce any output and therefore might cause the operation to time out. ON by default; turn it OFF if it causes trouble with the client or slows down the server too much.SET SERVER LOGIN [ username [ password [ account ] ] ] Sets up a username and optional password which must be supplied before the server will respond to any commands other than REMOTE LOGIN. The account is ignored. If you enter SET SERVER LOGIN by itself, then login is no longer required. Only one SET SERVER LOGIN command can be in effect at a time; C-Kermit does not support multiple user/password pairs.SET SERVER TIMEOUT n Server command wait timeout interval, how often the C-Kermit server issues a NAK while waiting for a command packet. Specify 0 for no NAKs at all. Default is 0.The REMOTE command sends file management instructions or other commandsto a Kermit server. There should already be a Kermit running in servermode on the other end of the currently selected line. Type REMOTE ? tosee a list of available remote commands. Type HELP REMOTE x to getfurther information about a particular remote command 'x'.All REMOTE commands except LOGIN and LOGOUT have R-command shortcuts;for example, RDIR for REMOTE DIR, RCD for REMOTE CD, etc.Syntax: IF [NOT] condition commandlistIf the condition is (is not) true, do the commandlist. The commandlistcan be a single command, or a list of commands separated by commas andenclosed in braces. The condition can be a single condition or a group ofconditions separated by AND (&&) or OR (||) and enclosed in parentheses.Examples: IF EXIST oofa.txt IF ( EXIST oofa.txt || = \v(nday) 3 ) IF ( EXIST oofa.txt || = \v(nday) 3 ) { , , ... }The conditions are: SUCCESS - The previous command succeeded OK - Synonym for SUCCESS FAILURE - The previous command failed ERROR - Synonym for FAILURE FLAG - Succeeds if SET FLAG ON, fails if SET FLAG OFF BACKGROUND - C-Kermit is running in the background FOREGROUND - C-Kermit is running in the foreground REMOTE-ONLY - C-Kermit was started with the -R command-line option ALARM - SET ALARM time has passed ASKTIMEOUT - The most recent ASK, ASKQ, GETC, or GETOK timed out EMULATION - Succeeds if executed while in CONNECT mode AVAILABLE CRYPTO - Encryption is available AVAILABLE KERBEROS4 - Kerberos 4 authentication is available AVAILABLE KERBEROS5 - Kerberos 5 authentication is available AVAILABLE NTLM - NTLM authentication is available AVAILABLE SRP - SRP authentication is available AVAILABLE SSL - SSL/TLS authentication is available MATCH string pattern - Succeeds if string matches pattern FLOAT number - Succeeds if floating-point number COMMAND word - Succeeds if word is built-in command DEFINED variablename or macroname - The named variable or macro is defined NUMERIC variable or constant - The variable or constant is numeric EXIST filename - The named file exists ABSOLUTE filename - The filename is absolute, not relative DIRECTORY string - The string is the name of a directory READABLE filename - Succeeds if the file is readable WRITEABLE filename - Succeeds if the file is writeable NEWER file1 file2 - The 1st file is newer than the 2nd one OPEN { READ-FILE,SESSION-LOG,...} - The given file or log is open OPEN CONNECTION - A connection is open COUNT - subtract one from COUNT, execute the command if the result is greater than zero (see SET COUNT) EQUAL s1 s2 - s1 and s2 (character strings or variables) are equal LLT s1 s2 - s1 is lexically (alphabetically) less than s2 LGT s1 s1 - s1 is lexically (alphabetically) greater than s2 = n1 n2 - n1 and n2 (numbers or variables containing numbers) are equal < n1 n2 - n1 is arithmetically less than n2 <= n1 n2 - n1 is arithmetically less than or equal to n2 > n1 n2 - n1 is arithmetically greater than n2 >= n1 n2 - n1 is arithmetically greater than or equal to n2 (number by itself) - fails if the number is 0, succeeds otherwise TRUE - always succeeds FALSE - always failsThe IF command may be followed on the next line by an ELSE command. Example: IF < \%x 10 ECHO It's less ELSE echo It's not lessIt can also include an ELSE part on the same line if braces are used: IF < \%x 10 { ECHO It's less } ELSE { ECHO It's not less }Also see HELP WILDCARD (for IF MATCH pattern syntax).Syntax: EVALUATE variable expression Evaluates the expression and assigns its value to the given variable. The expression can contain numbers and/or numeric-valued variables or functions, combined with mathematical operators and parentheses in traditional notation. Operators include +-/*(), etc. Example: EVALUATE \%n (1+1) * (\%a / 3). NOTE: Prior to C-Kermit 7.0, the syntax was "EVALUATE expression" (no variable), and the result was printed. Use SET EVAL { OLD, NEW } to choose the old or new behavior, which is NEW by default.Alse see: HELP FUNCTION EVAL.Syntax: XIF condition { commandlist } [ ELSE { commandlist } ] Obsolete. Same as IF (see HELP IF).Syntax: FOR variablename initial-value final-value increment { commandlist } FOR loop. Execute the comma-separated commands in the commandlist the number of times given by the initial value, final value and increment. Example: FOR \%i 10 1 -1 { pause 1, echo \%i }Syntax: WHILE condition { commandlist } WHILE loop. Execute the comma-separated commands in the bracketed commandlist wh~ile the condition is true. Conditions are the same as for IF commands.Syntax: SWITCH { case-list } Selects from a group of commands based on the value of a variable. The case-list is a series of lines like these: :x, command, command, ..., break where "x" is a possible value for the variable. At the end of the case-list, you can put a "default" label to catch when the variable does not match any of the labels: :default, command, command, ...The case label "x" can be a character, a string, a variable, a functioninvocation, a pattern, or any combination of these. See HELP WILDCARDSfor information about patterns.Syntax: OPEN mode filename For use with READ and WRITE commands. Open the local file in the specified mode: READ, WRITE, or APPEND. !READ and !WRITE mean to read from or write to a system command rather than a file. Examples: OPEN READ oofa.txt OPEN !READ sort foo.barSyntax: ASKQ variablename [ prompt ]Example: ASKQ \%p { Password:} Issues the prompt and defines the variable to be whatever you type in. The characters that you type do not echo on the screen. Use braces to preserve leading and/or trailing spaces in the prompt. To include a question mark, precede it by backslash (\).Also see SET ASK-TIMER.Syntax: ASK variablename [ prompt ]Example: ASK \%n { What is your name\? } Issues the prompt and defines the variable to be whatever you type in. Use braces to preserve leading and/or trailing spaces in the prompt. To include a question mark, precede it by backslash (\).Syntax: GETC variablename [ prompt ]Example: GETC \%c { Type any character to continue...} Issues the prompt and sets the variable to the first character you type. Use braces to preserve leading and/or trailing spaces in the prompt.Syntax: SET ASK-TIMER number For use with ASK, ASKQ, GETOK, and GETC. If ASK-TIMER is set to a number greater than 0, these commands will time out after the given number of seconds with no response. This command is "sticky", so to revert to untimed ASKs after a timed one, use SET ASK-TIMER 0. Also see IF ASKTIMEOUT.Syntax: DEFINE name [ definition ] Defines a macro or variable. Its value is the definition, taken literally. No expansion or evaluation of the definition is done. Thus if the definition includes any variable or function references, their names are included, rather than their values (compare with ASSIGN). If the definition is omitted, then the named variable or macro is undefined.A typical macro definition looks like this: DEFINE name command, command, command, ...for example: DEFINE vax set parity even, set duplex full, set flow xon/xoffwhich defines a Kermit command macro called 'vax'. The definition is acomma-separated list of Kermit commands. Use the DO command to executethe macro, or just type its name, followed optionally by arguments.The definition of a variable can be anything at all, for example: DEFINE \%a Monday DEFINE \%b 3These variables can be used almost anywhere, for example: ECHO Today is \%a SET BLOCK-CHECK \%bSyntax: ASSIGN variablename string.Example: ASSIGN \%a My name is \%b. Assigns the current value of the string to the variable (or macro). The definition string is fully evaluated before it is assigned, so that the values of any variables are contained are used, rather than their names. Compare with DEFINE. To illustrate the difference, try this: DEFINE \%a hello DEFINE \%x \%a ASSIGN \%y \%a DEFINE \%a goodbye ECHO \%x \%y This prints 'goodbye hello'.Syntax: DECREMENT variablename [ number ] Decrement (subtract one from) the value of a variable if the current value is numeric. If the number argument is given, subtract that number instead.Examples: DECR \%a, DECR \%a 7, DECR \%a \%nSyntax: INCREMENT variablename [ number ] Increment (add one to) the value of a variable if the current value is numeric. If the number argument is given, add that number instead.Examples: INCR \%a, INCR \%a 7, INCR \%a \%nSyntax: SET PRINTER [ { |command, filename } ] Specifies the command (such as "|lpr") or filename to be used by the PRINT command. If a filename is given, each PRINT command appends to the given file. If the SET PRINTER argument contains spaces, it must be enclosed in braces, e.g. "set printer {| lpr -Plaser}". If the argument is omitted the default value is restored. SHOW PRINTER lists the current printer. See HELP PRINT for further info.Syntax: SET EXIT ON-DISCONNECT { ON, OFF } When ON, C-Kermit EXITs automatically when a network connection is terminated either by the host or by issuing a HANGUP command.Syntax: SET EXIT STATUS number Set C-Kermit's program return code to the given number, which can be a constant, variable, function result, or arithmetic expression.Syntax: SET EXIT WARNING { ON, OFF, ALWAYS } When EXIT WARNING is ON, issue a warning message and ask for confirmation before EXITing if a connection to another computer might still be open. When EXIT WARNING is ALWAYS, confirmation is always requested. When OFF it is never requested. The default is ON.Syntax: PAUSE [ { number-of-seconds, hh:mm:ss } ]Example: PAUSE 3 or PAUSE 14:52:30 Do nothing for the specified number of seconds or until the given time of day in 24-hour hh:mm:ss notation. If the time of day is earlier than the current time, it is assumed to be tomorrow. If no argument given, one second is used. The pause can be interrupted by typing any character on the keyboard unless SLEEP CANCELLATION is OFF. If interrupted, PAUSE fails, otherwise it succeeds. Synonym: SLEEP.Syntax: MSLEEP [ number ]Example: MSLEEP 500 Do nothing for the specified number of milliseconds; if no number given, 100 milliseconds.Syntax: !, @, RUN, PUSH, or SPAWN, optionally followed by a command. Gives the command to the local operating system's command processor, and displays the results on the screen. If the command is omitted, enters the system's command line interpreter or shell; exit from it (the command for this is usually EXIT or QUIT or LOGOUT) to return to Kermit.Syntax: TRANSMIT { /COMMAND, /TEXT, /BINARY, /TRANSPARENT } filename Sends the contents of a file, without any error checking or correction, to the computer on the other end of your SET LINE or SET HOST connection (or if C-Kermit is in remote mode, displays it on the screen). The filename is the name of a single file (no wildcards) to be sent or, if the /COMMAND switch is included, the name of a command whose output is The file is sent according to your current FILE TYPE setting (BINARY or TEXT), which you can override with a /BINARY or /TEXT switch without changing the global setting. In text mode, it is sent a line at a time, with carriage return at the end of each line (as if you were typing it at your keyboard), and C-Kermit waits for a linefeed to echo before sending the next line. In binary mode, it is sent a character at a time, with no feedback required. Character sets are translated according to your current FILE and TERMINAL CHARACTER-SET settings when TRANSMIT is in text mode. Include /TRANSPARENT to disable character-set translation in text mode (/TRANSPARENT implies /TEXT). There can be no guarantee that the other computer will receive the file correctly and completely. Before you start the TRANSMIT command, you must put the other computer in data collection mode, for example by starting a text editor. TRANSMIT may be interrupted by Ctrl-C. Synonym: XMIT. See HELP SET TRANSMIT for further information.Syntax: TRANSLATE file1 cs1 cs2 [ file2 ] Translates file1 from the character set cs1 into the character set cs2 and stores the result in file2. The character sets can be any of C-Kermit's file character sets. If file2 is omitted, the translation is displayed on the screen. An appropriate intermediate character-set is chosen automatically, if necessary. Synonym: XLATE. Example: TRANSLATE lasagna.lat latin1 italian lasagna.nrcSyntax: WAIT { number-of-seconds, hh:mm:ss } [modem-signal(s)] wait 5 cd cts wait 23:59:59 cd Waits up to the given number of seconds or the given time of day for all the specified modem signals to appear on the serial communication device. Sets FAILURE if the signals do not appear in the given time or interrupted from the keyboard during the waiting period. Also see HELP PAUSE.Signals: cd = Carrier Detect; dsr = Dataset Ready; cts = Clear To Send; ri = Ring Indicate.Syntax: WRITE name text Writes the given text to the named log or file. The text text may include backslash codes, and is not terminated by a newline unless you include the appropriate code. The name parameter can be any of the following: DEBUG-LOG ERROR (standard error) FILE (the OPEN WRITE, OPEN !WRITE, or OPEN APPEND file, see HELP OPEN) PACKET-LOG SCREEN (compare with ECHO) SESSION-LOG TRANSACTION-LOGSyntax: LOOKUP name Looks up the given name in the dialing directory or directories, if any, specified in the most recent SET DIAL DIRECTORY command. Each matching entry is shown, along with any transformations that would be applied to portable-format entries based on your locale. HELP DIAL, HELP SET DIAL for further info.Syntax: ANSWER [ ] Waits for a modem call to come in. Prior SET MODEM TYPE and SET LINE required. If is 0 or not specified, Kermit waits forever or until interrupted, otherwise Kermit waits the given number of seconds. The ANSWER command puts the modem in autoanswer mode. Subsequent DIAL commands will automatically put it (back) in originate mode. SHOW MODEM, HELP SET MODEM for more info.Syntax: DIAL phonenumberExample: DIAL 7654321 Dials a number using an autodial modem. First you must SET MODEM TYPE, then SET LINE, then SET SPEED. Then give the DIAL command, including the phone number, for example: DIAL 7654321 If the modem is on a network modem server, SET HOST first, then SET MODEM, then DIAL. See also SET DIAL, SET MODEM, SET LINE, SET HOST, SET SPEED, REDIAL, and PDIAL.If the phonenumber starts with a letter, and if you have used the SET DIALDIRECTORY command to specify one or more dialing-directory files, Kermitlooks it up in the given file(s); if it is found, the name is replaced bythe number or numbers associated with the name. If it is not found, thename is sent to the modem literally.If the phonenumber starts with an equals sign ("="), this forces the partafter the = to be sent literally to the modem, even if it starts with aletter, without any directory lookup.You can also give a list of phone numbers enclosed in braces, e.g: dial {{7654321}{8765432}{+1 (212 555-1212}}(Each number is enclosed in braces and the entire list is also enclosed inbraces.) In this case, each number is tried until there is an answer. Thephone numbers in this kind of list can not be names of dialing directoryentries.A dialing directory is a plain text file, one entry per line: name phonenumber ; comments work 9876543 ; This is a comment e-mail +1 (212) 555 4321 ; My electronic mailbox heise +49 (511) 535 2301 ; Verlag Heinz Heise BBSIf a phone number starts with +, then it must include country code andarea code, and C-Kermit will try to handle these appropriately based onthe current locale (HELP SET DIAL for further info); these are calledPORTABLE entries. If it does not start with +, it is dialed literally.If more than one entry is found with the same name, Kermit dials all ofthem until the call is completed; if the entries are in portable format,Kermit dials then in cheap-to-expensive order: internal, then local, thenlong-distance, then international, based on its knowledge of your localcountry code and area code (see HELP SET DIAL).Specify your dialing directory file(s) with the SET DIAL DIRECTORY command.Syntax: TELNET [ switches ] [ host [ service ] ] Equivalent to SET NETWORK TYPE TCP/IP, SET HOST host [ service ] /TELNET, IF SUCCESS CONNECT. If host is omitted, the previous connection (if any) is resumed. Depending on how Kermit has been built switches may be available to require a secure authentication method and bidirectional encryption. See HELP SET TELNET for more info. /USERID:[] This switch is equivalent to SET LOGIN USERID or SET TELNET ENVIRONMENT USER . If a string is given, it sent to host during Telnet negotiations; if this switch is given but the string is omitted, no user ID is sent to the host. If this switch is not given, your current USERID value, \v(userid), is sent. When a userid is sent to the host it is a request to login as the specified user.TELOPT { AO, AYT, BREAK, CANCEL, EC, EL, EOF, EOR, GA, IP, DMARK, NOP, SE, SUSP, SB [ option ], DO [ option ], DONT [ option ], WILL [ option ], WONT [option] } This command lets you send all the Telnet protocol commands. Note that certain commands do not require a response, and therefore can be used as nondestructive "probes" to see if the Telnet session is still open; e.g.: set host xyzcorp.com ... telopt nop if fail stop 1 Connection lost TELOPT NOP is sent twice because the failure of the connection will not be detected until the second send is attempted. This command is meant primarily as a debugging tool for the expert user.Syntax: ARRAY verb operands...Declares arrays and performs various operations on them. Arrays havethe following syntax: \&a[n]where "a" is a letter and n is a number or a variable with a numeric valueor an arithmetic expression. The value of an array element can be anythingat all -- a number, a character, a string, a filename, etc.The following ARRAY verbs are available:[ ARRAY ] DECLARE arrayname[n] [ = initializers... ] Declares an array of the given size, n. The resulting array has n+1 elements, 0 through n. Array elements can be used just like any other variables. Initial values can be given for elements 1, 2, ... by including = followed by one or more values separated by spaces. If you omit the size, the array is sized according to the number of initializers; if none are given the array is destroyed and undeclared if it already existed. The ARRAY keyword is optional. Synonym: [ ARRAY ] DCL.ARRAY SHOW [ arrayname ] Displays the contents of the given array. A range specifier can be included to display a segment of the array, e.g. "array show \&a[1:24]." If the arrayname is omitted, all declared arrays are listed, but their contents is not shown. Synonym: SHOW ARRAY.ARRAY CLEAR arrayname Clears all elements of the array, i.e. sets them to empty values. You may include a range specifier to clear a segment of the array rather than the whole array, e.g. "array clear \%a[22:38]"ARRAY SET arrayname value Sets all elements of the array to the given value. You may specify a range to set a segment of the array, e.g. "array set \%a[2:9] 0"ARRAY DESTROY arrayname Destroys and undeclares the given array.ARRAY RESIZE arrayname number Changes the size of the given array, which must already exist, to the number given. If the number is smaller than the current size, the extra elements are discarded; if it is larger, new empty elements are added.ARRAY COPY array1 array2 Copys array1 to array2. If array2 has not been declared, it is created automatically. Range specifiers may be given on one or both arrays.[ ARRAY ] SORT [ switches ] array-name [ array2 ] Sorts the given array lexically according to the switches. Element 0 of the array is excluded from sorting by default. The ARRAY keyword is optional. If a second array name is given, that array is sorted according to the first one. Switches: /CASE:{ON,OFF} If ON, alphabetic case matters; if OFF it is ignored. If this switch is omitted, the current SET CASE setting applies. /KEY:number Position (1-based column number) at which comparisons begin, 1 by default. /NUMERIC Specifies a numeric rather than lexical sort. /RANGE:low[:high] The range of elements, low through high, to be sorted. If this switch is not given, elements 1 through the dimensioned size are sorted. If :high is omitted, the dimensioned size is used. To include element 0 in a sort, use /RANGE:0 (to sort the whole array) or /RANGE:0:n (to sort elements 0 through n). You can use a range specifier in the array name instead of the /RANGE switch. /REVERSE Sort in reverse order. If this switch is not given, the array is sorted in ascending order.Various functions are available for array operations; see HELP FUNCTION fordetails. These include \fdimension(), \farraylook(), \ffiles(), \fsplit(),and many more.Syntax: COPY [ switches ] file1 file2 Copies the source file (file1) to the destination file (file2). If file2 is a directory, this command copies file1 under its own name to the given directory. Only one file at a time may be copied; wildcards are not supported. Switches: /LIST Print the filenames and status while copying. Synonyms: /LOG, /VERBOSE /NOLIST Copy silently (default). Synonyms: /NOLOG, /QUIET /SWAP-BYTES Swap bytes while copying. /FROMB64 Convert from Base64 encoding while copying. /TOB64 Convert to Base64 encoding while copying.Syntax: RENAME [ switches ] file1 file2 Renames the source file (file1) to the destination file (file2). If file2 is a directory, this command moves file1 under its own name to the given directory. Only one file at a time may be renamed; wildcards are not Print the filenames and status while renaming. Synonyms: /LOG, /VERBOSE Rename silently (default). Synonyms: /NOLOG, /QUIETCommand-line options are given after the program name in the systemcommand that you use to start C-Kermit. Example: kermit -i -s oofa.exetells C-Kermit to send (-s) the file oofa.exe in binary (-i) mode.Command-line options are case-sensitive; "-s" is different from "-S".If any "action options" are included on the command line, C-Kermit exitsafter executing its command-line options. If -S is included, or no actionoptions were given, C-Kermit enters its interactive command parser andissues its prompt.Command-line options are single characters preceded by dash (-). Somerequire an "argument," others do not. If an argument contains spaces, itmust be enclosed in doublequotes: kermit -s "filename with spaces"An option that does not require an argument can be bundled with other options: kermit -Qis oofa.exeExceptions to the rules: . If the first command-line option is a filename, Kermit executes commands from the file. Additional command-line options can follow the filename. . The special option "=" (equal sign) or "--" (double hyphen) means to treat the rest of the command line as data, rather than commands; this data is placed in the argument vector array, \&@[], along with the other items on the command line, and also in the top-level \%1..\%9 variables. . A similar option "+" (plus sign) means: the name of a Kermit script file follows. This file is to be executed, and its name assigned to \%0 and \&_[0]. All subsequent command-line arguments are to be ignored by Kermit but made available to the script as \%1, \%2, ..., as well as in the argument-vector arrays. The initialization file is not executed automatically in this case. . The -s option can accept multiple filenames, separated by spaces. . the -j and -J options allow an optional second argument, the TCP port name or number.Type "help options all" to list all the command-line options.Type "help option x" to see the help message for option x.C-Kermit also offers a selection of "extended command-line" options.These begin with two dashes, followed by a keyword, and then, if the optionhas arguments, a colon (:) or equal sign (=) followed by the argument.Unlike single-letter options, extended option keywords aren't case sensitiveand they can be abbreviated to any length that still distinguishes them fromother extended-option keywords. Example: kermit --banner:oofa.txtwhich designates the file oofa.txt to be printed upon startup, rather thanthe built-in banner (greeting) text. To obtain a list of availableextended options, type "help extended-options ?". To get help about allextended options, type "help extended-options". To get help about aparticular extended option, type "help extended-option xxx", where "xxx"is the option keyword.At present, most of the extended options apply only to the Internet KermitService Daemon (IKSD). Type "help iksd" for details.Syntax: FILE [ switches ] [ ] Opens, closes, reads, writes, and manages local files.The FILE commands are: FILE OPEN (or FOPEN) -- Open a local file. FILE CLOSE (or FCLOSE) -- Close an open file. FILE READ (or FREAD) -- Read data from an open file. FILE WRITE (or FWRITE) -- Write data to an open file. FILE LIST (or FLIST) -- List open files. FILE STATUS (or FSTATUS) -- Show status of a channel. FILE REWIND (or FREWIND) -- Rewind an open file FILE COUNT (or FCOUNT) -- Count lines or bytes in an open file FILE SEEK (or FSEEK) -- Seek to specified spot in an open file. FILE FLUSH (or FFLUSH) -- Flush output buffers for an open file.Type HELP FILE OPEN or HELP FOPEN for details about FILE OPEN;type HELP FILE CLOSE or HELP FCLOSE for details about FILE CLOSE, and so on.The following variables are related to the FILE command: \v(f_max) -- Maximum number of files that can be open at once \v(f_error) -- Completion code of most recent FILE command or function \v(f_count) -- Result of most recent FILE COUNT commandThe following functions are related to the FILE command: \F_eof() -- Check if channel is at EOF \F_pos() -- Get channel read/write position (byte number) \F_line() -- Get channel read/write position (line number) \F_handle() -- Get file handle \F_status() -- Get channel status \F_getchar() -- Read character \F_getline() -- Read line \F_getblock() -- Read block \F_putchar() -- Write character \F_putline() -- Write line \F_putblock() -- Write block \F_errmsg() -- Error message from most recent FILE command or functionType HELP for information about each one.Syntax: FILE OPEN [ switches ] Opens the file indicated by in the mode indicated by the switches, if any, or if no switches are included, in read-only mode, and assigns a channel number for the file to the given variable. Synonym: FOPEN. Switches:/READ Open the file for reading./WRITE Open the file for writing. If /READ was not also specified, this creates a new file. If /READ was specifed, the existing file is preserved, but writing is allowed. In both cases, the read/write pointer is initially at the beginning of the file./APPEND If the file does not exist, create a new file and open it for writing. If the file exists, open it for writing, but with the write pointer positioned at the end. This option is ignored in UNIX.Switches can be combined in an way that makes sense and is supported by theunderlying operating system.Syntax: FILE CLOSE Closes the file on the given channel if it was open. Also see HELP FILE OPEN. Synonym: FCLOSE.Syntax: FILE FLUSH Flushes output buffers on the given channel if it was open, forcing all material previously written to be committed to disk. Synonym: FFLUSH. Also available as \F_flush().Syntax: FILE LIST Lists the channel number, name, modes, and position of each file opened with FILE OPEN. Synonym: FLIST.Syntax: FILE READ [ switches ] [ ] Reads data from the file on the given channel number into the , if one was given; if no variable was given, the result is printed on the screen. The variable should be a macro name rather than a \%x variable or array element if you want backslash characters in the file to be taken literally. Synonym: FREAD. Switches:/LINE Specifies that a line of text is to be read. A line is defined according to the underlying operating system's text-file format. For example, in UNIX a line is a sequence of characters up to and including a linefeed. The line terminator (if any) is removed before assigning the text to the variable. If no switches are included with the FILE READ command, /LINE is assumed./SIZE:number Specifies that the given number of bytes (characters) is to be read. This gives a semblance of "record i/o" for files that do not necessarily contain lines. The resulting block of characters is assigned to the variable without any editing./CHARACTER Equivalent to /SIZE:1. If FILE READ /CHAR succeeds but the is empty, this indicates a NUL byte was read.Synonym: FREAD.Also available as \F_getchar(), \F_getline(), \F_getblock().Syntax: FILE REWIND If the channel is open, moves the read/write pointer to the beginning of the file. Equivalent to FILE SEEK 0. Synonym: FREWIND. Also available as \F_rewind().Syntax: FILE SEEK [ switches ] { [{+,-}], EOF } Switches are /BYTE, /LINE, /RELATIVE, ABSOLUTE. Moves the file pointer for this file to the given position in the file. Subsequent FILE READs or WRITEs will take place at that position. If neither the /RELATIVE nor /ABSOLUTE switch is given, an unsigned is absolute; a signed number is relative. EOF means to move to the end of the file. Synonym: FSEEK. Also available as \F_seek().Syntax: FILE STATUS If the channel is open, this command shows the name of the file, the switches it was opened with, and the current read/write position. Synonym: FSTATUSSyntax: FILE COUNT [ { /BYTES, /LINES, /LIST, /NOLIST } ] If the channel is open, this command prints the nubmer of bytes (default) or lines in the file if at top level or if /LIST is included; if /NOLIST is given, the result is not printed. In all cases the result is assigned to \v(f_count). Synonym: FCOUNTFILE WRITE [ switches ] Writes the given text to the file on the given channel number. The can be literal text or a variable, or any combination. If the text might contain leading or trailing spaces, it must be enclosed in braces if you want to preserve them. Synonym: FWRITE. Switches: Specifies that an appropriate line terminator is to be added to the end of the . If no switches are included, /LINE is assumed. Specifies that the given number of bytes (characters) is to be written. If the given is longer than the requested size, it is truncated; if is shorter, it is padded according /LPAD and /RPAD switches. Synonym: /BLOCK./LPAD[:value] If /SIZE was given, but the is shorter than the requested size, the text is padded on the left with sufficient copies of the character whose ASCII value is given to write the given length. If no value is specified, 32 (the code for Space) is used. The value can also be 0 to write the indicated number of NUL bytes. If /SIZE was not given, this switch is ignored./RPAD[:value] Like LPAD, but pads on the right./STRING Specifies that the is to be written as-is, with no terminator added. Specifies that one character should be written. If the is empty or not given, a NUL character is written; otherwise the first character of is given.Synonym FWRITE.Also available as \F_putchar(), \F_putline(), \F_putblock().Syntax: SET TRANSMIT parameter valueControls the behavior of the TRANSMIT command (see HELP TRANSMIT):SET TRANSMIT ECHO { ON, OFF } Whether to echo text to your screen as it is being transmitted.SET TRANSMIT EOF text Text to send after end of file is reached, e.g. \4 for Ctrl-DSET TRANSMIT FILL number ASCII value of a character to insert into blank lines, 0 for none. Applies only to text mode. 0 by default.SET TRANSMIT LINEFEED { ON, OFF } Transmit Linefeed as well as Carriage Return (CR) at the end of each line. Normally, only CR is sent.SET TRANSMIT LOCKING-SHIFT { ON, OFF } Whether to use SO/SI for transmitting 8-bit data when PARITY is not NONE.SET TRANSMIT PAUSE number How many milliseconds to pause after transmitting each line (text mode), or each character (binary mode).SET TRANSMIT PROMPT number ASCII value of character to look for from host before sending next line when TRANSMITting in text mode; normally 10 (Linefeed). 0 means none; don't wait for a prompt.SET TRANSMIT TIMEOUT number Number of seconds to wait for each character to echo when TRANSMIT ECHO is ON or TRANSMIT PROMPT is not 0. If 0 is specified, this means wait indefinitely for each echo.Synonym: SET XMIT. SHOW TRANSMIT displays current settings.Syntax: SET BACKGROUND { OFF, ON } SET BACKGROUND OFF forces prompts and messages to appear on your screen even though Kermit thinks it is running in the background.Syntax: SET BUFFERS n1 [ n2 ] Changes the overall amount of memory allocated for SEND and RECEIVE packet buffers, respectively. Bigger numbers let you have longer packets and more window slots. If n2 is omitted, the same value as n1 is used. NOTE: This command is not needed in this version of C-Kermit, which is already configured for maximum-size packet buffers.Syntax: SET COMMAND parameter valueSET COMMAND AUTODOWNLOAD { ON, OFF } Enables/Disables automatic recognition of Kermit packets while in command mode. ON by default.SET COMMAND BYTESIZE { 7, 8 } Informs C-Kermit of the bytesize of the communication path between itself and your keyboard and screen. 7 is assumed. SET COMMAND BYTE 8 to allow entry and display of 8-bit characters.SET COMMAND HEIGHT Informs C-Kermit of the number of rows in your command screen for the purposes of More?-prompting.SET COMMAND WIDTH Informs C-Kermit of the number of characters across your screen for purposes of screen formatting.SET COMMAND MORE-PROMPTING { ON, OFF } ON (the default) enables More?-prompting when C-Kermit needs to display text that does not fit vertically on your screen. OFF allows the text to scroll by without intervention. If your command window has scroll bars, you might prefer OFF.SET COMMAND RECALL-BUFFER-SIZE number How big you want C-Kermit's command recall buffer to be. By default, it holds 10 commands. You can make it any size you like, subject to memory constraints of the computer. A size of 0 disables command recall. Whenever you give this command, previous command history is lost.SET COMMAND QUOTING { ON, OFF } Whether to treat backslash and question mark as special characters (ON), or as ordinary data characters (OFF) in commands. ON by default.SET COMMAND RETRY { ON, OFF } Whether to reprompt you with the correct but incomplete portion of a syntactically incorr~uect command. ON by default.Use SHOW COMMAND to display these settings.Syntax: SET CARRIER-WATCH { AUTO, OFF, ON } Attempts to control treatment of carrier (the Data Carrier Detect signal) on serial communication (SET LINE or SET PORT) devices. ON means that carrier is required at all times. OFF means carrier is never required. AUTO (the default) means carrier is required at all times except during the DIAL command. Correct operation of carrier-watch depends on the capabilities of the underlying OS, drivers, devices, and cables. If you need to CONNECT to a serial device that is not asserting carrier, and Kermit won't let you, use SET CARRIER-WATCH OFF. Use SHOW COMMUNICATIONS to display the CARRIER-WATCH setting.Syntax: SET ATTRIBUTES name ON or OFF Use this command to enable (ON) or disable (OFF) the transmission of selected file attributes along with each file, and to handle or ignore selected incoming file attributes, including: CHARACTER-SET: The transfer character set for text files DATE: The file's creation date DISPOSITION: Unusual things to do with the file, like MAIL or PRINT LENGTH: The file's length PROTECTION: The files protection (permissions) SYSTEM-ID: Machine/Operating system of origin TYPE: The file's type (text or binary)You can also specify ALL to select all of them. Examples: SET ATTR DATE OFF SET ATTR LENGTH ON SET ATTR ALL OFFSyntax: SET TAKE parameter value Controls behavior of TAKE command:SET TAKE ECHO { ON, OFF } Tells whether commands read from a TAKE file should be displayed on the screen (if so, each command is shown at the time it is read, and labeled with a line number).SET TAKE ERROR { ON, OFF } Tells whether a TAKE command file should be automatically terminated when a command fails. This setting is local to the current command file, and inherited by subordinate command files.Syntax: SET TERMINAL parameter valueSET TERMINAL TYPE ... This command is not available because this version of C-Kermit does not include a terminal emulator. Instead, it is a "semitransparent pipe" (or a totally transparent one, if you configure it that way) to the computer or service you have made a connection to. Your console, workstation window, or the terminal emulator or terminal from which you are running C-Kermit provides the emulation.SET TERMINAL APC { ON, OFF, UNCHECKED } Controls execution of Application Program Commands sent by the host while C-Kermit is in CONNECT mode. ON allows execution of "safe" commands and disallows potentially dangerous commands such as DELETE, RENAME, OUTPUT, and RUN. OFF prevents execution of APCs. UNCHECKED allows execution of all APCs. OFF is the default.SET TERMINAL AUTODOWNLOAD { ON, OFF } Enables/disables automatic switching into file-transfer mode when a valid Kermit or ZMODEM packet of the appropriate type is received during CONNECT mode. Default is OFF.SET TERMINAL BYTESIZE { 7, 8 } Use 7- or 8-bit terminal characters between C-Kermit and the remote computer or service during CONNECT.SET TERMINAL CHARACTER-SET [ ] Specifies the character set used by the remote host, , and the character set used by C-Kermit locally, . If you don't specify the local character set, the current FILE CHARACTER-SET is used. When you specify two different character sets, C-Kermit translates between them during CONNECT. By default, both character sets are TRANSPARENT, and no translation is done.SET TERMINAL CR-DISPLAY { CRLF, NORMAL } Specifies how incoming carriage return characters are to be displayed on your screen.SET TERMINAL DEBUG { ON, OFF } Turns terminal session debugging on and off. When ON, incoming control characters are displayed symbolically, rather than be taken as formatting commands. SET TERMINAL DEBUG ON implies SET TELNET DEBUG ON.SET TERMINAL ECHO { LOCAL, REMOTE } Specifies which side does the echoing during terminal connection.SET TERMINAL ESCAPE-CHARACTER { ENABLED, DISABLED } Turns on/off the ability to escape back from CONNECT mode using the SET ESCAPE character. If you disable it, Kermit returns to its prompt only when the connection is closed by the other end. USE WITH EXTREME CAUTION. Also see HELP SET ESCAPE.SET TERMINAL HEIGHT Tells C-Kermit how many rows (lines) are on your CONNECT-mode screen.SET TERMINAL LOCKING-SHIFT { OFF, ON } Tells C-Kermit whether to use Shift-In/Shift-Out (Ctrl-O and Ctrl-N) to switch between 7-bit and 8-bit characters during CONNECT. OFF by default.SET TERMINAL NEWLINE-MODE { OFF, ON } Tells whether to send CRLF (Carriage Return and Line Feed) when you type CR (press the Return or Enter key) in CONNECT mode.SET TERMINAL PRINT { ON, OFF } Enables and disables host-initiated transparent printing in CONNECT mode.SET TERMINAL TRIGGER Specifies a string that, when detected during any subsequent CONNECT session, is to cause automatic return to command mode. Give this command without a string to cancel the current trigger. See HELP CONNECT for additional information.SET TERMINAL WIDTH Tells C-Kermit how many columns (characters) are on your CONNECT-mode screen.Type SHOW TERMINAL to see current terminal settings.SET HOST [ switches ] hostname-or-address [ service ] [ protocol-switch ] Establishes a connection to the specified network host on the currently selected network type. For TCP/IP connections, the default service is TELNET; specify a different TCP port number or service name to choose a different service. The first set of switches can be: /NETWORK-TYPE:name Makes the connection on the given type of network. Equivalent to SET NETWORK TYPE name prior to SET HOST, except that the selected network type is used only for this connection. Type "set host /net:?" to see a list. /NETWORK-TYPE:COMMAND means to make the connection through the given system command, such as "rlogin" or "cu". /CONNECT Enter CONNECT (terminal) mode automatically if the connection is successful. /SERVER Enter server mode automatically if the connection is successful. This switch is equivalent to SET LOGIN USERID or SET TELNET ENVIRONMENT USER . If a string is given, it sent to host during Telnet negotiations; if this switch is given but the string is omitted, no user ID is sent to the host. If this switch is not given, your current USERID value, \v(userid), is sent. When a userid is sent to the host it is a request to login as the specified user.The protocol-switches can be: /NO-TELNET-INIT Do not send initial Telnet negotiations even if this is a Telnet port. /RAW-SOCKET This is a connection to a raw TCP socket. /RLOGIN Use Rlogin protocol even if this is not an Rlogin port. /TELNET Send initial Telnet negotiations even if this is not a Telnet port. SET HOST kermit.columbia.edu SET HOST /CONNECT kermit.columbia.edu SET HOST * 1649 SET HOST /SERVER * 1649 SET HOST 128.59.39.2 SET HOST madlab.sprl.umich.edu 3000 SET HOST xyzcorp.com 2000 /RAW-SOCKET SET HOST /CONNECT /COMMAND rlogin xyzcorp.comThe TELNET command is equivalent to SET NETWORK TYPE TCP/IP,SET HOST name [ port ] /TELNET, IF SUCCESS CONNECTAlso see SET NETWORK, TELNET, SET TELNET.Synatx: SET AUTHENTICATION Sets defaults for the AUTHENTICATE command:Syntax: SET NETWORK { TYPE network-type, DIRECTORY [ file(s)... ] }Select the type of network to be used with SET HOST connections: SET NETWORK TYPE COMMAND ; Make a connection through an external command SET NETWORK TYPE TCP/IP ; Internet: Telnet, Rlogin, etc.If only one network type is listed above, that is the default network forSET HOST commands. Also see SET HOST, TELNET, RLOGIN.SET NETWORK DIRECTORY [ file [ file [ ... ] ] ] Specifies the name(s) of zero or more network directory files, similar to dialing directories (HELP DIAL for details). The general format of a network directory entry is: name network-type address [ network-specific-info ] [ ; comment ] For TCP/IP, the format is: name tcp/ip ip-hostname-or-address [ socket ] [ ; comment ]You can have multiple network directories and you can have multiple entrieswith the same name. SET HOST and TELNET commands look up thegiven in the directory and, if found, fill in the additional itemsfrom the entry, and then try all matching entries until one succeeds.SET TCP ADDRESS This allows a specific IP Address on a multihomed host to be used instead of allowing the TCP/IP stack to choose. This may be necessary when using authentication or listening for an incoming connection. Specify no to remove the preference.SET TCP KEEPALIVE { ON, OFF } Setting this ON might help to detect broken connections more quickly. (default is ON.)SET TCP LINGER { ON [timeout], OFF } Setting this ON ensures that a connection doesn't close before all outstanding data has been transferred and acknowledged. The timeout is measured in 10ths of milliseconds. The default is ON with a timeout of 0.SET TCP NODELAY { ON, OFF } ON means send short TCP packets immediately rather than waiting to accumulate a bunch of them before transmitting (Nagle Algorithm). (default is OFF.)SET TCP RECVBUF SET TCP SENDBUF TCP receive and send buffer sizes. (default is -1, use system defaults.)These items let you tune TCP networking performance on a per-connectionbasis by adjusting parameters you normally would not have access to. Youshould use these commands only if you feel that the TCP/IP protocol stackthat Kermit is using is giving you inadequate performance, and then only ifyou understand the concepts (see, for example, the Comer TCP/IP books), andthen at your own risk. These settings are displayed by SHOW NETWORK. Notall options are necessarily available in all Kermit versions; it depends onthe underlying TCP/IP services.The following TCP and/or IP parameter(s) may also be changed:SET TCP REVERSE-DNS-LOOKUP { AUTO, ON, OFF } Tells Kermit whether to perform reverse DNS lookup on TCP/IP connections so Kermit can determine the actual hostname of the host it is connected to, which is useful for connections to host pools, and is required for Kerberos connections to host pools and for incoming connections. If the other host does not have a DNS entry, the reverse lookup could take a long time (minutes) to fail, but the connection will still be made. Turn this option OFF for speedier connections if you do not need to know exactly which host you are connected to and you are not using Kerberos. AUTO, the default, means the lookup is done on hostnames, but not on numeric IP addresses unless Kerberos support is installed.SET TCP DNS-SERVICE-RECORDS {ON, OFF} Tells C-Kermit whether to try to use DNS SRV records to determine the host and port number upon which to find an advertised service. For example, if a host wants regular Telnet connections redirected to some port other than 23, this feature allows C-Kermit to ask the host which port it should use. Since not all domain servers are set up to answer such requests, this feature is OFF by default.SET TELOPT [ { /CLIENT, /SERVER } ]