8$ @ @Fw ~17 Mar 2003200303178.0.209C-KermitCopyright (C) 1985, 2003, 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/2isabsoluteisabsolute 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 Timeouton_logininserverdotakeinisstelnetmain executing init filemain exits init fileInterrupt during initialization or command-line processing.C-Kermit quitting...cl_commandsdoicp calling heraldckcmai got interruptmain cmdfil\%0Interrupt during initialization or command-line processing.setprefix-., Kermit versioniksdkermit?Incomplete IKSD URL dourl: out of memory@ Password::?Connection failed: %s , connect, if fail exit 1 IKSD login failedremote login , lineout directory, remote cd , set xfer bell off, set xfer displ brief, if fail exit 1 IKSD login failed, exit \m(rc), bye, .rc := \v(status), get , if fail exit 1 IKSD login faileddourl clcmdsdourl haveurltelnetftp?Sorry, %s URLs not supported rloginkermit-sshsubmain 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!Internet Kermit Service cannot be started at a terminal.main about to call ttopen() inservercan't initialize i/oMAINmain SO_OOBINLINEmain argc after prescan()howcalledmain about to cc_executemain 2 cfilefmain argcmain zstatemain setting interrupt trapzoutbuffer mallocgetiobs okC-Kermit library, 8.0.033, 16 Mar 2003NULSOHSTXETXEOTENQACKBELBSHTLFVTFFCRSOSIDLEDC1DC2DC3DC4NAKSYNETBCANEMSUBESCFSGSRSUSXXXBPHNBHINDNELSSAESAHTSHTJVTSPLDPLURISS2SS3DCSPU1PU2STSCCHMWSPAEPASOSSCICSISTOSCPMAPCNBSDELSHY%lx0%lxmakelist smakelist elementmakelist last element...MAKESTR MALLOC FAILURE CKMATCH ENTRY pat optCKMATCH ENTRY str depCKMATCH 1CKMATCH INIT patckmatch skipCKMATCH ACKMATCH ZERO dCKMATCH QUOTEDCKMATCH \ new matchCKMATCH \ no matchCKMATCH QUOTECKMATCH DCKMATCH ? patCKMATCH ? strCKMATCH [] CKMATCH [] matchCKMATCH {} CKMATCH .. stringCKMATCH .. ostringCKMATCH {} segmentCKMATCH {} matchposCKMATCH {} tpCKMATCH {} stringCKMATCH {} ostringCKMATCH {} recursingCKMATCH {} kCKMATCH {} savposCKMATCH {} matchCKMATCH * CKMATCH * n stringCKMATCH * n pattrnCKMATCH * n pCKMATCH * Index() stringCKMATCH * Index() pattrnCKMATCH * Index() resultCKMATCH * Rindex()CKMATCH * Rindex() pattrnCKMATCH * Rindex() resultCKMATCH * stringpos matchposCKMATCH * new match CKMATCH * new stringCKMATCH * new pattrnCKMATCH *$ CKMATCH *$ matchCKMATCH ** matchCKMATCH * kCKMATCH *CKMATCH cs=cp string= matchdepth=] matchpos=CKMATCH RETURN[$@-10chknumevenoddmarkspacenoneinvalid%02ld:%02ld:%02ld"{'([<"}')]>cksplitcksplit resultUNIX Communications support, 8.0.301, 20 Aug 2002 QNX 32-bit/dev/ttynonesetuphangupresetcloseLINESxttgwsiz LINESCOLUMNSxttgwsiz COLUMNSchars waitingle_inbufbuffer is fullle_putcharle_putsle_putstrttgwsiz QNX rttgwsiz QNX c***************SIGWINCH caughtSIGWINCH pty_fork_pidwinchh TIOCSWINSZwinchh TIOCSWINSZ errnowinchh killwinchh kill errnoSIGHUP receivedFatal: 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()UNKNOWNsysinit final uidbufJOBACCTPRINTERDISPLAYUNIXLOCATIONsysinit startupdirNCURSES_NO_SETBUF=1ttopen telnetfdttopen ttnamettopen ttnmsvttopen modemttopen netconnttopen ttyfdttopen *lclttopen ttmdmttopen ttnetttopen REOPEN netopenttopen MAXNAMLEN *NOT* definedttopen BSD4 *NOT* definedttopen BSD42 *NOT* definedttopen MYREAD definedttopen netttopen net ttfdflgttopen net ttyfdttopen PTY: nopushttopen PTYttopen pipe: nopushPipe errorFork errorwfdopen failurettopen net xttopen got open fdttopen non-net ttfdflgttopen non-net ttyfdttopen fdflagAttopen xlocalttopen fnamBttopen ttlockttopen ttlock failsttopen lkfttopen timottopen alarmttopen timed ttyfdttopen untimed ttyfdttopen errnoCttopen substituting 0ttopen perrorWarning, problem releasing lock ttopen EACCESS/dev/null%s is not a terminal device ttopen not a ttyWarning, problem releasing lock ttopen fnam=CTTNAMttopen fnam=cttnamttopen ttyname(ttyfd) xlocalttopen setting ttyfd = 0ttopen stdio redirectedttopen tcgetattr ttold.c_lflagttopen tcgetattr ttraw.c_lflagttopen tcgetattr tttvt.c_lflagttopen calling carrctlttopen carrctl okttopen tcsetattrttopen ttspeedttopen lock filettclos ttyfdttclos netconnttclos xlocalttclos closing netttclos ttyfd after netclosttclos alarmttclos ALARM TRAP errnottclos() timeout: %s ttclos Attclos exithangupttclos 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 about to call ttunlckWarning, problem releasing lock ttclos donetthang QNX tcdroplinetthang QNX tcsetattr restoretthang QNX tcsetattr restore errnotthang QNX iniflagstthang QNX F_SETFL errnottres 8 bits + even parityttres 8 bits + odd parityttres 8 bits + invalid parity: markttres 8 bits + invalid parity: spacettres BSD44ORPOSIXttres resultttres return codettlock QNX open_countttlock NOUUCPNOLOCKtthflow QNX entry statustthflow QNX getattr failsttpkt parityttpkt xflowttpkt speedttpkt ttpmskttpkt netconnttpkt modes already set, skipping...ttres 8 bits + invalid parity: markttres 8 bits + invalid parity: spacettpkt calling ttsspdttpkt ttsspd resultttpkt 2 stopbitsttpkt 1 stopbitttpkt IGNPARttpkt 8 bits + even parityttpkt 8 bits + odd parityttpkt 8 bits + invalid parityttpkt calling tcsetattr(TCSETAW)ttpkt BSD44ORPOSIX tcsetattrttpkt BSD44ORPOSIX tcsetattr errnottpkt okttsetflow flowttsetflow net modemttvt ttyfdttvt tvtflgttvt speedttvt flowttvt curcarrttvt modes already set, skipping...ttres 8 bits + invalid parity: markttres 8 bits + invalid parity: spacettvt 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 2 stopbitsttvt 1 stopbitttvt hwparity IGNPARttvt 8 bits + even parityttvt 8 bits + odd parityttvt 8 bits + invalid parityttvt BSD44ORPOSIX tcsetattrttvt BSD44ORPOSIX tcsetattr errnottvt okttsspd cpsttsspd ttyfdttsspd xlocalttsspd okttsspd sttsspd failsttsspd tcgetattrttsspd tcsetattrcongspdttspdlist no USETCSETSPEEDttspdlist B50ttspdlist B75ttspdlist B110ttspdlist B134ttspdlist B150ttspdlist B200ttspdlist B300ttspdlist B600ttspdlist B1200ttspdlist B1800ttspdlist B2400ttspdlist B4800ttspdlist B9600ttspdlist B19200ttspdlist B38400ttspdlist B57600ttspdlist B76800ttspdlist B1152000ttspdlist spdlistttgspd 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 conistateconint backgrdconint jcconint background ignoring signals, jcconint foreground catching signals, jcconnoi conistatein_chk entryin_chk ttyfdin_chk ttptyin_chk ttpushin_chk close-on-disconnectin_chk carrier lostin_chk ttgmdm I/O errorin_chk ttgmdm gotsigsin_chk FIONREAD return codein_chk FIONREAD countin_chk FIONREAD errnoin_chk my_countin_chk nin_chk resultttxin MYREADttxin myread returnsttxin xttol sttol dblflagttol doubled sttol 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 POSIXsndbrk tcsendbreakttwait select errnottwait OKttwait select xmsleep SELECT 1msleep SELECT 2msleep QNX selectgtimer%fgftimer.A{Gzt?ztime s==NULLztime GFTIMER gettimeofdaycongm getting modescongetbuf char losscongetbuf readaheadconcb constateconcb cgmfconcb backgrdconcb ttyfdconcb ttfdflgconcb isattyconcb suspendconcb cccbrk.c_flagconcb c_cc[VINTR]concb xconcb errnoconcb returnsconbin constateconbinconbin returnsconres cgmfconres constateconres isatty okconres restoring tcsetattrconres returnsconchk contypttinc LocalEchoInBufconinc(0) errnoconinc timeout logic errorconinc alarm setconinc(timo) nconinc(timo) errnottscarrcarrctlttgmdm qnx_ioctlttgmdm qnx_ioctl errnottgmdm qnx_ioctl mdmbits[0]ttgmdm qnx_ioctl mdmbits[1]ttgmdm qnx resultOnOffttgmdm qnx CD = priv_opnpriv_opn resultpriv_opn errno?Sorry, device is not open ttruncmd fail: nopushttruncmd systemttruncmd waitttruncmd wait statuspttruncmd wait pexitstatckxfprintf() buffer overflowckxprintf() buffer overflow:%s%s %s UNIX File support, 8.0.195, 6 Mar 2003 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 okzopenizopeni chkfnzopeni called with ZSYSFN, failing!Terminal input not allowedzopeni: attempts input from unredirected stdinzopeni setrootzopeni setroot violationrzopeni fopenzopeni fullnamefile[%d] %s: open failed (%m)file[%d] %s: open read okzopenozopeno fcb dispzopeno fcb typezopeno fcb charzopeno fcb is NULLzopeno fp[n]=stdoutzopeno setrootzopeno setroot violationwazopeno appendzopeno fullnamezopeno fopen argzopeno failed errnoappendcreatefile[%d] %s: %s failed (%m)zopeno zobufsizezopeno ZOFILE nonblockingzopeno ZOFILE unbufferedfile[%d] %s: %s okzopeno okzclose file numberzclose zclosfzclose zclosf fp[n]zclose fclose failszclose error flushing last bufferzclose iklogopen*(pipe)%.24s [BUFFER WOULD OVERFLOW] ikskermit_%.24s %d %s %ld %s %c %s %c %c %s %s %d %s zclose iksdmsgzclose returnszsinl zchin failzsinlzinfill kactiveZINFILL feofzinfill calling ttwaitzinfill ttwaitZINFILL INBUFSIZEzinbuffer is a valid bufferZINFILL about to call freadZINFILL 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/nullzgetfs fnamSTATzgetfs S_ISLNK needrlinkzgetfs readlinkzgetfs readlink errnozgetfs readlink resultzgetfs sizezgetfs st_sizezchki setrootzchki setroot violationzchki stat failszchki not regular file (or fifo)zchki stat ok:zchki access failed:zchki access ok:zchko entryzchko setrootzchko setroot violationzchko lenzchko zchkodzchko: Malloc error 46 zchko izchko itsadir.zchko access failed:zchko access ok:zdelet setrootzdelet setroot violationzdeletzdelet fullnamefile[] %s: delete failed (%m)file[] %s: delete oknzrtol namenzrtol fullnamenzrtol sizing MAXNAMLENnzrtol sizingNONAMEnzrtol new namezstrip beforezstrip after tilde-strippingzstrip afternzltor name.././nzltor fullnamenzltor name2zchdirzchdir 2zchdir 3zchdir setrootzchdir setroot violationHOMEzgtdir SVORPOSIX CWDBLzxcmd fails: nopushzxcmdzxcmd outzxcmd priv_chk failedOKFailedzxcmd popenzxcmd 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 pexitstatfgen string spacefgen can't malloc string space initspace ssplenzxpand entryzxpand xdironlyzxpand xfilonlyzxpand setrootzxpand setroot violationzxpand fn 1zxpand fn 2zxpand isdir 1zxpand fn 3zxpand haveonedir A1zxpand haveonedir A2zxpand haveonedir Bzxpand okzxpand fcountnzxpandnzxpand xmatchdot 1nzxpand xmatchdot 2nzxpand xmatchdot 3nzxpand xdironlynzxpand xfilonlynzxpand xmatchdotnzxpand xrecursivenzxpand xnobackupnzxpand xnolinksznextznewn suffix removalznewn suffix removal 2znewnznewn max 1znewn max 2znewn namepartznewn len.~*~znewn A matches.~%d~znewn A newnameznewn B deltaznewn B matchesznewn B new namezrename oldzrename newzrename setrootzrename old: setroot violationzrename new: setroot violation/zrename dirzrename no dirzrename rename()zrename link()zrename unlink()zrename zcopy()zrename zdelet()file[] %s: rename to %s failed (%m)file[] %s: renamed to %s okzcopy src argzcopy dst argzcopy setrootzcopy source: setroot violationzcopy destination: setroot violationzcopy files identical: stat()source file not foundzcopy srczcopy dst 1zcopy files identical: strcmp()zcopy source is directoryzcopy dst 2zcopy dst 3zcopy open sourcezcopy open destzcopy final readzcopy errnofile[] %s: copy to %s failed (%m)file[] %s: copy to %s okzsetperm guestzsetperm errorzsetperm okzgperm----------zgperm setrootzgperm setroot violation%ozipermzsattr buf.st_mode & 0777zsattr lpermszsattr gpermsU1zdtstr timearglocaltime returns nullzdtstr tm_yearzstrdt YEAR-2000 ALERT 1: localtime yearzdatstr year%04d%02d%02d %02d:%02d:%02dzdatstrzfcdat setrootzfcdat setroot violationzfcdatzfcdat 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)zlocaltimezlocaltime date check 1zlocaltime date check 2zlocaltime date check 3zlocaltime so far so goodzlocaltime yearzlocaltime fails - yearzlocaltime 4 bad date zlocaltime 6 bad date zlocaltime 9 bad date zlocaltime 12 bad date zlocaltime 15 bad date zstimezstime datezstime setrootzstime setroot violationzstime: 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: SYSUTIMEH modtimezstime setpermszstime DIRECTORY bit onzstime DIRECTORY bit offzstime chmodzstime 0: can't set modtime for filezstime 0: modtime set for filezstime 1: comparepacketzprint setrootzprint setroot violationzprint filezprint flagszprint printernamezprint printpipecat %s | %scat %s >> %s%s %s < %szprint command splitpath**splitpath mallocsplitpath malloc failuresplitpath xpatlastSPLITPATHfgen patfgen current directoryfgen stathackfgen scratchfgen xpatslashfgen 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 && !itsadiraddresult string space not init'daddresultaddresult skipaddresult ARRAY FULLaddresult lenaddresult OUT OF SPACE?String space %d exhausted - use SET FILE STRINGSPACE to increase ?Too many files (%d max) - use SET FILE LISTSIZE to increase addresult ADDLOGNAMEtilde_expand?Privilege cancellation failure shz_exec commandz_exec arg 0z_exec arg 1z_exec tz_exec errnozshcmd commandzshcmd SHELLzshcmd shpathzshcmd shname-izshcmd exit statusiswildisdir cache hitisdir statisdir errnoisdir S_ISLNK islinkisdir islinkisdir statbuf.st_modezmkdir setrootzmkdir setroot violationzmkdirzmkdir tilde_expandzmkdir tp after tilde_expansionzmkdir makingzmkdir failed, errnozrmdir setrootzrmdir setroot violationzfseekzfnqfp fnamezfnqfp xpzfnqfp realpath failszfnqfp result too longzfnqfp realpath pathzfnqfp realpath namezfnqfp while *szfnqfp zgtdirzfnqfp buf 1zfnqfp buf 2zfnqfp len/.////../zfnqfp overflowzfnqfp pathzfnqfp namezcmpfn s1zcmpfn s2zcmpfn resultzsetrootzsetroot access deniedzsetroot new root not in rootzsetroot rootsetzinroot setrootzinroot nzinroot checked?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=LOGNAME=HOME=zvpass guestzvpass zvunamezvpass guestpasszvpass dirzvpass homezvpass anonrootC-Kermit functions, 8.0.222, 22 Oct 2002DisabledLocal onlyRemote onlyEnabledError receiving filerenamereplacebackupappenddiscardaskupdatedates-differ 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 haveuc[A]xpnbyte uc.x_shortxpnbyte feol[B]xpnbyte 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 initial swapxgnbyte from bufzminchar swappingzminchar C0zminchar C1xgnbyte 1st UCS2Axgnbyte fileorderBxgnbyte UCS2 goodbom swapxgnbyte UCS2 badbom swapxgnbyte UCS2 noBOM swapCxgnbyte UCS2xgnbyte UTF-8 input errorxgnbyte UTF8->UCS2XGNBYTE EOFXGNBYTE xXGNBYTE KANA SJxgnbyte zminchar 1[UNICODE][other]xgnbyte thischarxgnbyte EOF on Ctrl-Z 1xgnbyte 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->UCS2BExgnbyte cxgnbyte xlaptrxgnbyte xlabufBAD 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 nleftgetpkt 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 gnfilesinit gnfilNo files meet selection criteriaToo many files match wildcardCancelledRead access deniedFile is not readableNo files matchFile not foundsinit nfilssinit filnamsinit msg?%s sinit oksipkt pktnumsipkt getsbufxsinit krcvfil rdatapCALIBRATENONAME Incoming file from Kermit server... Please confirm output file specification or supply an alternative: Incoming file from remote Kermit... Please confirm output file specification or supply an alternative:Refused by userAccess deniedrcvfil rcvexceptrcvfil skippingException listrcvfil discard refused: exception listrcvfil cmarg2rcvfil srvcmd 2rcvfil access deniedWrite access deniedrcvfil srvcmd 1Receivingrcvfil pipesendrcvfil rcvfilter rcvfile pipesend filterrcvfil pipename?Sorry, receive filter + filename too long, %d max. Name too longrcvfil asrcvfil dirflgrcvfil ofn1len/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 o_isopenreof lastcharreof closfreof MOVE zrename moving received file to FAILED to move received file toreof RENAME zrename renaming received file to FAILED to rename received file toreof returnssfile send filter sfile xsfile notafilesfile restored tcharsetsfile restored fcharsetsfile cmarg2sfile binary 1sfile wearealikesfile xfermodesfile filepeeksfile s_csetsfile tcharsetsfile xfrxlasfile scanfilesfile scanfile textsfile scanfile text7sfile scanfile 7 fcharsetsfile scanfile 7 tcharsetsfile scanfile text8sfile scanfile 8 fcharsetsfile scanfile 8 tcharsetsfile scanfile Unicodesfile Unicode tcharsetsfile scanfile binarysfile binary 2sfile sendmodesfile pktnamsfile fnspathsfile fncnvU1UNsfile 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: sfile X packetsfile binarySendingsfile q as mode: binary mode: texttransparent character set xfer character set file 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 spacksdata 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 swcap~}rspar 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 recursivegnfile dodirstoognfile binary = gnf_binarygnfile pipesendgnfile calibrateCALIBRATIONgnfile arrayTransaction cancelledgnfile czseengnfile filefile EOFgnfile filefile filnamgnfile nfils?Internal error expanding ADD list gnfile addlist filnamgnfile cmlist filnamgnfile ngetpathgnfile getpathgnfile absolute.gnfile wildgnfile nzxpandgnfile znext Agnfile gnferror Agnfile gnferror Bgnfile donegnfile znext Xgnfile znext Bgnfile FTP MPUT /RECURSIVEgnfile znext Cgnfile setting sndsrc backgnfile fullnamegnfile zchkignfile gnferror Cgnfile -1gnfile skipping:: open failure - skippedSkippedgnfile -3gnfile fileselectgnfile gnferror Dgnfile resultClient 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 2snddir matchdotsnddir dir_dotssnddir sd_dotsnddir name./*snddir name 1snddir name 2Listing files: %s%s%s*/*snddir directorysnddir nzxoptssnddir nzxpand nxpndDIRECTORY %sDIRECTORYsinit()snddirskipping %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 tcharset lookupremset tcharsetremset tcharset fcharsetremset xlatyperemset tcharset after setxlatypeRSET 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 z scaledRTT rcvtimo (float)RTT final rcvtimo@HzG@@@?input 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 lostReceive window fullrpack receive window full wslots winlo pktnumTransmission 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 lostTransmission 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 cut 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 indexresend 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 getrbufrpack 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: no name givenckmkdir 2+UNIXOROSKckmkdir 3ckmkdir 4ckmkdir rccreationremovalnot implemented in this version of C-KermitDirectory %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 notafile datesattr 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 binary 2gattr binary 3 refused: dategattr encodingAgattr sets tcharset TC_TRANSPCgattr sets tcharset TC_TRANSPI196I190I6/204I6/100gattr xfer charset lookupgattr: xfer charset unknown refused: character setgattr switch tcharsetgattr fcharsetgattr switch fcharsetgattr unk encoding attribute refused: encoding refused: bad dispositiongattr dispos 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 remote lenopena local lenopena [file]=mode: local name: mode: binary mode: text file character-set: xfer character-set:transparent character-set:opena charsetopena binaryCan't open output fileFailure to openError:opena erroropenc zxcmdcanned: cxseen czseenopeni nameopeni sndsrcopeni file numberaccess deniedopeni CD disabledAccess deniedopeni pipesendCommand 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: clsif fstatsIncompleteclsof dispclsof cxseenclsof successclsof o_isopenFailure to closeCan't close fileclsof incomplete discarded incomplete: discardedDiscardedclsof fstats 1closf incomplete kept incomplete: keptclsof OKCharacter Set Translation 8.0.042, 3 Jul 2000TRANSPARENTtransparentASCIIasciiISO 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+Boxdrawingkoi8uWindows Code Page 1252cp1252apple-quickdrawcp866-cyrillicdanishfr-canadianhehebhebrhebrehebrewiso2022jp-kanjikkokoikoi8norwegianASCII (American English)DanishDutchFinnishFrenchGermanGreekHebrewHungarianIcelandicItalianJapaneseNorwegianPortugueseRussianSpanishSwedishSwissenglishgreekicelandicjapanesenonerussianukrainiansj_to_eu bad sjsetxlatype fcssetxlatype tcssetxlatype bad tcssetxlatype bad fcssetxlatype transparent because TCS==Transparentsetxlatype Unicode tcssetxlatype Unicode fcssetxlatype transparent because TCS==FCSsetxlatype Japanese tcssetxlatype Japanese fcssetxlatype Byte tcssetxlatype Byte fcssetxlatype xlatypeinitxlate csininitxlate csoutinitxlate bad csininitxlate bad csoutinitxlate xlatypeinitcsets nxlsinitcsets nxlrinitcsets TERM LOCAL CSETinitcsets TERM REMOTE CSETWart Version 2.14, 10 Nov 1999C-Kermit Protocol Module 8.0.158, 11 Sep 2002streamonwheremsg nwheremsg prfspecwheremsg rfspecwheremsg psfspecwheremsg sfspecwheremsg prrfspecwheremsg rrfspecwheremsg psrfspecwheremsg srfspec SENT: [%s] To: [%s]OKFAILED (%s) RCVD: [%s] SENT: (%d files) Last: [%s] RCVD: (%d files) SENT: (0 files) RCVD: (0 files) server=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 windowRECEIVE D firstdatarcv_firstdata rcckcpro.w B tmpdir restoringD cxseenD czseenZXD streaming cancelUser canceledError writing dataCan't create fileRENAME failedMOVE failedCan't print fileCan't mail fileReceiver can't delete temp fileCan't close fileRESEND capabilities not negotiatedSENDCan't execute commandCan't open fileY cxseen remote name:Y cancelingCan't send attributesY cxseenY cancelingY cxseenY czseenY CALLING SEOF()Y cxseenY czseenY discardY success deleted delete failed: moved to move failed: renamed to rename failed:Y gnfileY no more filessseot justoneUnknown errorckcpro.w justone at E pktProtocol errorckcpro.w E tmpdir restoredERRORUnexpected packet typercv_firstdata" -s "rcv_firsdata mail%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 4REMOTE LOGIN 5Logged 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 SendingReceiving via external protocol:ckcpro ttruncmd status:?Sorry, no external protocol defined for %s server backgrdserver quietSHOULD NOT SEE THIS IF IN BACKGROUND!KERMIT READY TO SERVE... KERMIT READY TO SERVE...Entering server mode on Type Ctrl-C to quit.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 Asgetinit Bsgetinit O-Packet TBCsgetinit O-Packet done - havefsGET without filenamesgetinit winloCommand package 8.0.156, 16 Mar 2003JanFebMarAprMayJunJulAugSepOctNovDecaprilaugustdecemberfebruaryjanuaryjulyjunemarchmaynovemberoctoberseptemberCommand? daysmonthsweekswksyearsyrsnowtodaytomorrowyesterdayFridayMondaySaturdaySundayThursdayTuesdayWednesdaycdtcstedtestgmtmdtmstpdtpstutczulu[A-Z][a-z][a-z] [A-Z][a-z][a-z] [ 0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9][A-Z][a-z][a-z] [A-Z][a-z][a-z] [ 0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [A-Z][A-Z][A-Z] [0-9][0-9][0-9][0-9]:%s %s%s%s ?Memory allocation failure ?Name too long - %s prompt sxprompt sy%s %spushcmd savbufpushqcmd savbuffatal error: unable to allocate command bufferscmini dpx&cmpush to depthcmpush: no memory for cmp&cmpop called from top level&cmpop to depthcmnum: illegal radix - %d cmnum: cmfld-1cmnum 1st chknum okcmnum xxesc okcmnum zp 1cmnum zp 2cmnum 2nd chknum okcmnum xxesc 2 okcmnum exp eval okOutput filecmofi xdefcmofi cmfld returnscmofi 1.5cmofi 2?Name too long cmofi 3?Wildcards not allowed - %s cmofi 4cmofi 5: is directory/dev/ttycmofi 6: failure?Off Limits: %s ?Write permission denied - %s cmofi 7: okcmifi dcmifi nzxoptscmifi2 path?Default name too long cmifi gtwordcmifi switch x IKSD IDLE TIMEOUT: %d sec Command or field too long cmifi brstripExpanded name too long cmifi tilde_expand?cmifi: malloc error cmifi svcmifi itsadircmifi dirflg...cmifi nzxopts 2cmifi nzxpand 2cmifi y itsadircmifi *xp pre-zxpandcmifi y nzxpandcmifi y atmbufcmifi diractive catch-all zxpandcmifi diractive nzxpandcmifi sv wildcmifi y?Wildcard matches more than one directory cmifip hasnopath/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 %ccmifi tilde_expand Acmifi tilde_expand Bcmifi tilde_expand xc cmifi nzxpandcmifi filbufcmifi *xpcmifi partialcmifi childrencmifi REPAINT filbufcmifi REPAINT cccmifi REPAINT xccmifi REPAINT bp-cccmifi REPAINT bp-xccmifi erase okcmifi partial cmdbuf?Partial name too long cmifi partial atmbufcmifi unique?Directory name too long cmifi directory atmbufcmifi after erase sp=?Completed name too long Directory name Input file specification %scmifi ? *xp, cccmifi ? wildcmifi matchdot: %s %s%s, one of the following: cmfld xdef 1cmfld xdef 2cmfld atmbuf 1?Default too long cmfld atmbuf 2cmfld gtwordcmfld xcmfld 1cmfld 2cmfld 3Value too long cmfld 4cmfld returnscmfld QUESTIONMARK Please complete this field %s%scmfld gtword A xcmfld gtword B xcmtxt cmflgs IKSD IDLE TIMEOUT: %d sec cmtxt calling (*f)cmtxt (*f)cmtxt: addbuf Text string?Unexpected return code from gtword() - %d ?Keyword table missing cmkey: pmsgcmkey: cmflgscmkey: cmswitchcmkey table lengthcmkey cmflgscmkey cccmkey gtword xccmkey gtword zz IKSD IDLE TIMEOUT: %d sec cmkey atxbuf after *fEvaluated keyword too long ?Not a switch - %s cmkey token:cmkey lookupcmkey zzcmkey crflag?Ambiguous - %s ?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 a macro name ("do ?" for a list) or the token %c or one of the tokens: %s %d - Unexpected return code from gtword cmdelta yycmdelta mocmdelta ddcmdelta hhcmdelta mmcmdelta sscmdelta sincmdelta dyycmdelta dmocmdelta dddcmdelta dhhcmdelta dmmcmdelta dssBase year out of rangecmdeltaBase month out of rangeBase day out of rangeBase hour out of rangeBase minute out of rangeBase second out of rangeResult year out of range%04d%02d%02d %02d:%02d:%02dcmdelta mjd%s %02d:%02d:%02d00cmcvtdateDate-time string too longcmcvtdate asctimecmcvtdate asctime+timezoneInvalid monthcmcvtdate asctime monthcmcvtdate asctime okcmcvtdate dowcmcvtdate dow new pUnrecognized day of weekcmcvtdate scmcvtdate zzcmcvtdate jcmcvtdate A 00:00:00cmcvtdate B scmcvtdate B pInvalid tokens after day of weekcmcvtdate failTtYyNncmcvtdate mjdcmcvtdate NORMALcmcvtdate NORMAL X1cmcvtdate NORMAL X2cmcvtdate NORMAL X3cmcvtdate NORMAL A Tt_-:Numeric date too longInvalid date-time separatorcmcvtdate NORMAL non-yyyymmdd -/._Inconsistent date separatorsToo few fields in dateMisplaced time separatorProblem supplying current datecmcvtdate fldUnrecognized word in dateToo many non-numeric fields in dateNon-digit in third date fieldUnknown month%02dDay not numericDay or month out of rangeDay and month are ambiguousToo few digits in yearAmbiguous numeric dateToo many digits in yearUnexpected date formatUnknown date-time wordcmcvtdate dotime yyyymmddInternal error - date not defaultedcmcvtdate dotime daycmcvtdate dotime monthcmcvtdate dotime yearcmcvtdate dotime scmcvtdate dotime pMonth out of rangeDay out of range%04d%02d%02dInvalid time%s%s%02dToo many time digitsToo many time fieldsImproper fractionInvalid time charactersama.m.pmp.m.cmcvtdate timezonecmcvtdate timezone alphaUnknown timezonecmcvtdate timezone GMT offsetcmcvtdate GMT offset signcmcvtdate GMT offset dcmcvtdate after timezonecmcvtdate delta yyyymmddcmcvtdate delta yearcmcvtdate delta pInvalid delta timeInvalid units in delta timecmcvtdate NEED_HRSExtraneous material at endInvalid hoursInvalid minutesInvalid secondsInvalid minutes or secondscmcvtdate yearcmcvtdate monthcmcvtdate ndaycmcvtdate hhcmcvtdate mmcmcvtdate sscmcvtdate gmtsigncmcvtdate zhhcmcvtdate zmmcmcvtdate isgmtcmcvtdate NEW hhcmcvtdate NEW mmcmcvtdate NEW ddcmcvtdate GMT 1cmcvtdate GMT 2cmcvtdate asctime zlocaltimecmcvtdate GMT 3cmcvtdate hourcmcvtdate minutecmcvtdate secondcmcvtdate base cmcvtdate delta signcmcvtdate delta yrs cmcvtdate delta mos cmcvtdate delta dayscmcvtdate delta hrs cmcvtdate delta minscmcvtdate delta secscmcvtdate xcvtdate dpcmcvtdate resultcmdiffdate d1 Acmdiffdate d2 Acmdiffdate d1 Bcmdiffdate d2 Bcmdiffdate jd1cmdiffdate f1cmdiffdate jd2cmdiffdate f2-+cmdiffdate sign jdcmdiffdate fx%ldd%d:%02d%d:%02d:%02d%ldd%d:%02d%ldd%d:%02d:%02dcmdiffdate result%04d-%s-%02d%s%02d-%s-%04d%sDate and/or timecmdate cmfld rccmdate 1cmdate 2?Evaluated date too long ?%s CMD(P)command?Command history error %s awcmcfm: 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 failure xcmfdb failure errbitsOff LimitsDoes 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 atmbuf?Saved word too long gtword ungw return atmbufgtword cexitinggtword c < 0gtword EOF?Field too long error 1 gtword too long #1gtword iscontdgtword too long #2?Field too long error 2 Arrowkey ESC cmdconchkArrowkey ESC c2Arrowkey ESC c3gtword too long ??Too long gtword too long Esc %s %s%s?Command too long, maximum length: %d. ?Command buffer overflow pushccmdgetc()gtword CR telnet errorcmdconchk stdin->_cnt TABLE OUT OF ORDER [%s] [%s] lookupTrustees of Columbia University in the City of New York. Type EXIT to exit. Type INTRO for a brief introduction to C-Kermit. Type LICENSE to see the C-Kermit license. 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,2nd Edition, Digital Press / Butterworth-Heinemann 1997, ISBN 1-55558-164-1,plus supplements at http://www.columbia.edu/kermit/ckermit.html.Trustees of Columbia University in the City of New York. Type INTRO for a brief introduction to Kermit commands. Type VERSION for version and copyright information. Type HELP followed by a command name for help about a specific command. Type SUPPORT to learn how to get technical support. Type LOGOUT (or EXIT) to log out. Press ? (question mark) at the prompt, or anywhere within a command, for a menu (context-sensitive help, menu on demand).DOCUMENTATION: "Using C-Kermit" by Frank da Cruz and Christine M. Gianone,2nd Edition, Digital Press / Butterworth-Heinemann 1997, ISBN 1-55558-164-1.To order: +1 212 854-3703 or +1 800 366-2665. More info at the KermitProject website, http://www.columbia.edu/kermit/.Welcome to C-Kermit 8.0.206. Major new features include: . A new built-in FTP client . Telnet Com Port Option for dialing from Telnet modem servers . File scan~ning for automatic text/binary determination . Learned scripts . LISP-like S-Expressions and natural floating-point arithmetic . Lots of script programming improvements . Performance improvements and bug fixesDocumentation: 1. "Using C-Kermit", second edition (1997), current with C-Kermit 6.0. 2. http://www.columbia.edu/kermit/ckermit70.html which documents the new features of C-Kermit 7.0. 3. http://www.columbia.edu/kermit/ckermit80.html which documents the new features of C-Kermit 8.0.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 . Numeric and alphanumeric pagingSupporting: . Serial connections, direct or dialed. . Automatic modem dialing . TCP/IP network connections: - Telnet sessions - SSH connections via external agent - Rlogin sessions - FTP sessions - Internet Kermit ServiceWhile 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.IMPORTANT: Since backslash (\) is Kermit's command-line escape character,you must enter DOS, Windows, or OS/2 pathnames using either forward slash (/)or double backslash (\\) as the directory separator in most contexts.Examples: C:/TMP/README.TXT, C:\\TMP\\README.TXT.Command words other than filenames can be abbreviated in most contexts.Basic commands: EXIT Exit from 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 ORIENTATION Explains directory structureCommands 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 serverFile-transfer speed selection: FAST Use fast settings -- THIS IS THE DEFAULT CAUTIOUS Use slower, more cautious settings ROBUST Use extremely slow and cautious settingsFile-transfer performance fine tuning: SET RECEIVE PACKET-LENGTH Kermit packet size SET WINDOW Number of sliding window slots SET PREFIXING Amount of control-character prefixingTo make a direct serial connection: SET LINE Select serial communication device SET SPEED Select communication speed SET PARITY Communications parity (if necessary) SET FLOW Communications flow control, such as RTS/CTS CONNECT Begin terminal connectionTo 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 SET PARITY Communications parity (if necessary) 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 Telnet host and CONNECT to it RLOGIN Select an Rlogin host and CONNECT to it SSH [ OPEN ] Select an SSH host and CONNECT to it FTP [ OPEN ] Make an FTP connectionTo 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 a C-Kermit tutorial, visit: http://www.columbia.edu/kermit/ckututor.htmlTo learn about script programming and automation: Read the manual, "Using C-Kermit". For a brief tutorial, visit: http://www.columbia.edu/kermit/ckscripts.htmlFor 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@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) 662-6442 USASET MATCH { DOTFILE, FIFO } { ON, OFF } Tells whether wildcards should match dotfiles (files whose names begin with period) or UNIX FIFO special files. MATCH FIFO default is OFF. MATCH DOTFILE default is OFF in UNIX, ON elsewhere.Syntax: SSH [ options ] [ command ] Makes an SSH connection using the external ssh program via the SET SSH COMMAND string, which is "ssh -e none" by default. Options for the external ssh program may be included. If the hostname is followed by a command, the command is executed on the host instead of an interactive shell.Syntax: SET SSH COMMAND command Specifies the external command to be used to make an SSH connection. By default it is "ssh -e none" (ssh with no escape character).Syntax: SET GET-PUT-REMOTE { AUTO, FTP, KERMIT} Tells Kermit whether GET, PUT, and REMOTE commands should be directed at a Kermit server or an FTP server. The default is AUTO, meaning that if you have only one active connection, the appropriate action is taken when you give a GET, PUT, or REMOTE command. SET GET-PUT-REMOTE FTP forces Kermit to treat GET, PUT, and REMOTE as FTP client commands; setting this to KERMIT forces these commands to be treated as Kermit client commands. NOTE: PUT includes SEND, MPUT, MSEND, and all other similar commands. Also see HELP REMOTE, HELP SET LOCUS, HELP FTP.Syntax: SET LOCUS { AUTO, LOCAL, REMOTE } Specifies whether unprefixed file management commands should operate locally or (when there is a connection to a remote FTP or Kermit server) sent to the server. The affected commands are: CD (CWD), PWD, CDUP, DIRECTORY, DELETE, RENAME, MKDIR, and RMDIR. To force any of these commands to be executed locally, give it an L-prefix: LCD, LDIR, etc. To force remote execution, use the R-prefix: RCD, RDIR, and so on. SHOW COMMAND shows the current Locus. By default, the Locus for file management commands is switched automatically whenever you make or close a connection: if you make an FTP connection, the Locus becomes REMOTE; if you close an FTP connection or make any other kind of connection, the Locus becomes LOCAL. If you give a SET LOCUS LOCAL or SET LOCUS REMOTE command, this sets the locus as indicated and disables automatic switching. SET LOCUS AUTO restores automatic switching.Syntax: TAKE filename [ arguments ] Tells Kermit to execute commands from the named file. Optional argument words, are automatically assigned to the macro argument variables \%1 through \%9. Kermit command files may themselves contain TAKE commands, up to any reasonable depth of nesting.Firewall Traversal in C-KermitFTP is one of the few well-known Internet services that requiresmultiple connections. As described above, FTP originally required theserver to establish the data connection to the client using a destinationaddress and port provided by the client. This doesn't work with portfiltering firewalls.Later, FTP protocol added a "passive" mode, in which connections forthe data channels are created in the reverse direction. Instead of theserver establishing a connection to the client, the client makes a secondconnection with the server as the destination. This works just fine aslong as the client is behind the firewall and the server is in publicaddress space. If the server is behind a firewall then the traditionalactive mode must be used. If both the client and server are behind theirown port filtering firewalls then data channels cannot be established.In Kermit's FTP client, passive mode is controlled with the command: SET FTP PASSIVE-MODE { ON, OFF }The default is ON, meaning to use passive mode.Syntax: SAVE item filename { NEW, APPEND } Saves the requested material in the given file. A new file is created by default; include APPEND at the end of the command to append to an existing file. Items: KEYMAP Saves the current key settings. COMMAND HISTORY Saves the current command recall (history) bufferSyntax: SET ROOT directoryname Sets the root for file access to the given directory and disables access to system and shell commands and external programs. Once this command is given, no files or directories outside the tree rooted by the given directory can be opened, read, listed, deleted, renamed, or accessed in any other way. This command can not be undone by a subsequent SET ROOT command. Primarily for use with server mode, to restrict access of clients to a particular directory tree. Synonym: CHROOT.Syntax: 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.\fword(s1,n1,s2,s3,n2,n3) - Extract word from string. s1 = source string n1 = word number (1-based) s2 = optional break set. s3 = optional include set. n2 = optional grouping mask. n3 = optional separator flag: 0 = collapse adjacent separators 1 = don't collapse adjacent separators. Default break set is all characters except ASCII letters and digits. ASCII (C0) control characters are always treated as break characters. Default include set is null. If grouping mask given and nonzero, words can be grouped by quotes or brackets selected by the sum of the following: 1 = doublequotes: "a b c" 2 = braces: {a b c} 4 = apostrophes: 'a b c' 8 = parentheses: (a b c) 16 = square brackets: [a b c] 32 = angle brackets: Nesting is possible with {}()[]<> but not with quotes or apostrophes.Returns string: Word number n, if there is one, otherwise an empty string.Syntax: PROMPT [ text ] Enters interactive command level from within a script in such a way that the script can be continued with an END or RETURN command. STOP, EXIT, SHOW STACK, TRACE, and Ctrl-C all have their normal effects. The PROMPT command allows variables to be examined or changed, or any other commands to be given, in any number, prior to returning to the script, allowing Kermit to serve as its own debugger; adding the PROMPT command to a script is like setting a breakpoint. If the optional text is included, it is used as the new prompt for this level, e.g. "prompt Breakpoint_1>".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 pattern rather than a literal string (HELP PATTERNS for details). If the timeout interval is 0, the INPUT command does not wait; i.e. the given text must already be available for reading for the INPUT command to succeed. If the interval is negative, the INPUT command waits forever.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.You can also specify an 8-bit character (128-255) as your escape character,either by typing it literally or by entering its numeric code.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: CHMOD [ switches ] code filespec UNIX only. Changes permissions of the given file(s) to the given code, which must be an octal number such as 664 or 775. Optional switches: /FILES Only change permissions of regular files. /DIRECTORIES Only change permissions of directory files. /TYPE:BINARY Only change permissions of binary files. /TYPE:TEXT Only change permissions of text files. /DOTFILES Include files whose names begin with dot (.). /RECURSIVE Change permissions in subdirectories too. /LIST List each file (synonym: /VERBOSE). /NOLIST Operate silently (synonym: /QUIET). /PAGE When listing, pause at end of each screen (implies /LIST). /NOPAGE When listing, don't pause at end of each screen. /SIMULATE Show what would be done but don't actually do it.Syntax: (operation operand [ operand [ ... ] ]) C-Kermit includes a simple LISP-like S-Expression parser operating on numbers only. An S-Expression is always enclosed in parentheses. The parentheses can contain (a) a number, (b) a variable, (c) a function that returns a number, or (d) an operator followed by one or more operands. Operands can be any of (a) through (c) or an S-Expression. Numbers can be integers or floating-point. Any operand that is not a number and does not start with backslash (\) is treated as a Kermit macro name. Operators: Operator Action Example Value EVAL (.) Returns the contained value (6) 6 QUOTE (') Inhibits evaluation of following value (quote a) a SETQ Assigns a value to a global variable (setq a 2) 2 LET Assigns a value to a local variable (let b -1.3) -1.3 + Adds all operands (1 or more) (+ a b) 0.7 - Subtracts all operands (1 or more) (- 9 5 2 1) 1 * Multiplies all operands (1 or more) (* a (+ b 1) 3) -1.8 / Divides all operands (1 or more) (/ b a 2) -0.325 ^ Raise given number to given power (^ 3 2) 9 ++ Increments a variable (++ a 1.2) 3.2 -- Decrements a variable (-- a) 1 ABS Absolute value of 1 operand (abs (* a b 3)) 7.8 MAX Maximum of all operands (1 or more) (max 1 2 3 4) 4 MIN Minimum of all operands (1 or more) (min 1 2 3 4) 1 MOD Modulus of all operands (1 or more) (mod 7 4 2) 1 TRUNCATE Integer part of floating-point operand (truncate 1.333) 1 CEILING Ceiling of floating-point operand (ceiling 1.25) 2 FLOOR Floor of floating-point operand (floor 1.25) 1 ROUND Operand rounded to nearest integer (round 1.75) 2 SQRT Square root of 1 operand (sqrt 2) 1.414.. EXP e (2.71828..) to the given power (exp -1) 0.367.. SIN Sine of angle expressed in radians (sin (/ pi 2)) 1.0 COS Cosine of given number (cos pi) -1.0 TAN Tangent of given number (tan pi) 0.0 LOG Natural log (base e) of given number (log 2.7183) 1.000.. LOG10 Log base 10 of given number (log10 1000) 3.0Predicate operators return 0 if false, 1 if true, and if it is the outermostoperator, sets SUCCESS or FAILURE accordingly: < Operands in strictly descending order (< 6 5 4 3 2 1) 1 <= Operands in descending order (<= 6 6 5 4 3 2) 1 != Operands are not equal (!= 1 1 1.0) 0 = (==) All operands are equal (= 3 3 3 3) 1 > Operands in strictly ascending order (> 1 2 3 4 5 6) 1 >= Operands in ascending order (> 1 1 2 3 4 5) 1 AND (&&) Operands are all true (and 1 1 1 1 0) 0 OR (||) At least one operand is true (or 1 1 1 1 0) 1 XOR Logical Exclusive OR (xor 3 1) 0 NOT (!) Reverses truth value of operand (not 3) 0Bit-oriented operators: & Bitwise AND (& 7 2) 2 | Bitwise OR (| 1 2 3 4) 7 # Bitwise Exclusive OR (# 3 1) 2 ~ Reverses all bits (~ 3) -4Operators that work on truth values: IF Conditional evaluation (if (1) 2 3) 2Operators can also be names of Kermit macros that return either numericvalues or no value at all.Built-in constants are: t True (1) nil False (empty) pi The value of Pi (3.1415926...)If SET SEXPRESSION ECHO-RESULT is AUTO (the default), the value of theS-Expression is printed if the S-Expression is given at top level; if ON,it is printed at any level; if OFF it is not printed. At all levels, thevariable \v(sexpression) is set to the most recent S-Expression, and\v(svalue) is set to its value. You can use the \fsexpresssion() functionto evaluate an S-Expression anywhere in a Kermit command.Syntax: GREP [ options ] pattern filespec Searches through the given file or files for the given character string or pattern. In the normal case, all lines containing any text that matches the pattern are printed. Pattern syntax is as described in HELP PATTERNS except that '*' is implied at the beginning unless the pattern starts with '^' and also at the end unless the pattern ends with '$'. Therefore, "grep something *.txt" lists all lines in all *.txt files that contain the word "something", but "grep ^something *.txt" lists only the lines that START with "something". The command succeeds if any of the given files contained any lines that match the pattern, otherwise it fails. Synonym: FIND.File selection options: /NOBACKUPFILES Excludes backup files (like oofa.txt.~3~) from the search. /DOTFILES Includes files whose names start with dot (.) in the search. /NODOTFILES Excludes files whose names start with dot (.) from the search. /RECURSIVE Searches through files in subdirectories too. /TYPE:TEXT Search only text files (requires FILE SCAN ON). /TYPE:BINARY Search only binary files (requires FILE SCAN ON).Pattern-matching options: /NOCASE Ignores case of letters (ASCII only) when comparing. /NOMATCH Searches for lines that do NOT match the pattern.Display options: /COUNT:variable-name For each file, prints only the filename and a count of matching lines and assigns the total match count to the variable, if one is given. /NAMEONLY Prints the name of each file that contains at least one matching line, one name per line, rather than showing each matching line. /NOLIST Doesn't print anything (but sets SUCCESS or FAILURE appropriately). /LINENUMBERS Precedes each file line by its line number within the file. /PAGE Pauses after each screenful. /NOPAGE Doesn't pause after each screenful. /OUTPUT:name Sends results to the given file. If this switch is omitted, the results appear on your screen. This switch overrides any express or implied /PAGE switch.Syntax: DIRECTORY [ switches ] [ filespec [ filespec [ ... ] ] ] If LOCUS is REMOTE or LOCUS is AUTO and you have an FTP connection, this command is equivalent to REMOTE DIRECTORY (RDIR). Otherwise: Lists local 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. Multiple filespecs can be given. 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. /FOLLOWLINKS Follow symbolic links. /NOFOLLOWLINKS + Don't follow symbolic links. /BACKUP + Include backup files (names end with .~n~). /NOBACKUPFILES Don't include backup files. /OUTPUT:file Store directory listing in the given file. /HEADING Include heading and summary. /NOHEADING + Don't include heading or summary. /SUMMARY Print only count and total size of matching files. /XFERMODE Show pattern-based transfer mode (T=Text, B=Binary). /TYPE: Show only files of the specified type (text or 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: KCD symbolic-directory-name Kermit Change Directory: Like CD (q.v.) but (a) always acts locally, and (b) takes a symbolic directory name rather than an actual directory name. The symbolic names correspond to Kermit's directory-valued built-in variables, such as \v(download), \v(exedir), and so on. Here's the list: download Your download directory (if any) exedir The directory where the Kermit executable resides home Your home, login, or default directory inidir The directory where Kermit's initialization was found lockdir The UNIX UUCP lockfile directory on this computer startup Your current directory at the time Kermit started textdir The directory where Kermit text files reside, if any tmpdir Your temporary directory Also see CD, SET FILE DOWNLOAD, SET TEMP-DIRECTORY. If LOCUS is REMOTE or LOCUS is AUTO and you have an FTP connection, this command is equivalent to REMOTE CD (RCD). Otherwise:Syntax: CD [ directory name ] Change Directory. Changes your current, working, default directory to the one given, so that future non-absolute filename references are relative to this directory. If the directory name is omitted, your home (login) directory is supplied. C-Kermit's default prompt shows your current directory. Synonyms: LCD, CWD. Also see: SET LOCUS, PWD, CDUP, BACK, REMOTE CD (RCD), SET CD, SET PROMPT. And see: HELP KCD. Relevant environment variables: CDPATH, HOME.Syntax: DELETE [ switches... ] filespec If LOCUS is REMOTE or LOCUS is AUTO and you have an FTP connection, this command is equivalent to REMOTE DELETE (RDELETE). Otherwise: 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 "."./TYPE:TEXT Delete only regular text files (requires FILE SCAN ON)/TYPE:BINARY Delete only regular binary files (requires FILE SCAN ON)/DIRECTORIES Include directories. If this switch is not given, only regular files are deleted. If it is given, Kermit attempts to delete any directories that match the given file specification, which succeeds only if the directory is empty./RECURSIVE The DELETE command applies to the entire directory tree rooted in the current or specified directory. When the /DIRECTORIES switch is also given, Kermit deletes all the (matching) files i~yn each directory before attempting to delete the directory itself./ALL This is a shortcut for /RECURSIVE /DIRECTORIES /DOTFILES./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./SUMMARY Like /HEADING /NOLIST, but only prints the summary line./PAGE If listing, pause after each screenful./NOPAGE Don't pause after each screenful./ASK Interactively ask permission to delete each file. Reply Yes or OK to delete it, No not to delete it, Quit to cancel the DELETE command, and Go to go ahead and delete all the rest of the files without asking./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 SET LOCUS, 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 "pattern" is notation used in a search string when searching throughtext. C-Kermit uses three kinds of patterns: floating patterns, anchoredpatterns, and wildcards. Wildcards are anchored patterns that are used tomatch file names; type HELP WILDCARD to learn about them.In a pattern, certain characters are special:* Matches any sequence of zero or more characters. For example, "k*t" matches all strings that start with "k" and end with "t" including "kt", "kit", "knight", or "kermit".? Matches any single character. For example, "k????t" matches all strings that are exactly 6 characters long and start with "k" and end with with "t". 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: h[aou]t matches hat, hot, and hut.[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: ker{mit,nel,beros} matches kermit, kernel, and kerberos. 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.A floating pattern can also include the following special characters:^ (First character of pattern) Anchors the pattern at the beginning.$ (Last character of pattern) Anchors the pattern at the end.If a floating pattern does not start with "^", the pattern can matchanywhere in the string instead of only at the beginning; in other words, aleading "*" is assumed. Similarly, if the pattern doesn't end with "$",a trailing "*" is assumed.The following commands and functions use floating patterns: GREP [ ] TYPE /MATCH: \farraylook(,) \fsearch(,[,]) \frsearch(,[,]) The /EXCEPT: clause in SEND, GET, DELETE, etc.Example: \fsearch(abc,xxabcxxx) succeeds because xxabcxx contains abc. \fsearch(^abc,xxabcxx) fails because xxabcxx does not start with abc.All other commands and functions that use patterns use anchored patterns,meaning that ^ and $ are not treated specially, and * is not assumed at thebeginning or end of the pattern. This is true mainly of filename patterns(wildcards), since you would not want a command like "delete x" to deleteall files whose names contained "x"!You can use anchored patterns not only in filenames, but also in SWITCHcase labels, in the INPUT and MINPUT commands, and in file binary- andtext-patterns for filenames. The IF MATCH pattern is also anchored.A "wildcard" is a notation used in a filename to match multiple files.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.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. Square brackets enclosing a list of characters matches any character in the list. Example: ckuusr.[ch] matches ckuusr.c and ckuusr.h. 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. Lists and ranges may be combined. This example matches a, c, d, or any 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.Similar notation can be used in general-purpose string matching. Type HELPPATTERNS for details. Also see HELP SET MATCH.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 ".". 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: LEARN [ /ON /OFF /CLOSE ] [ filename ] Records a login script. If you give a filename, the file is opened for subsequent recording. If you don't give any switches, /ON is assumed. /ON enables recording to the current file (if any); /OFF disables recording. /CLOSE closes the current file (if any). After LEARN /CLOSE or exit from Kermit, your script is available for execution by the TAKE command.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. If the timeout interval is 0 the MINPUT command does not wait; i.e. the given text must already be available for reading for the MINPUT command to succeed. If the interval is negative, the MINPUT command waits forever.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./PIPES:{ON,OFF} Overrides the TRANSFER PIPES setting for this command only. ON allows reception of files with names like "!tar xf -" to be automatically directed to a pipeline./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 global/TRANSPARENT Inhibits character-set translation of incoming text files for the duration of the GET command without affecting subsequent commands.Also see HELP MGET, HELP SEND, HELP RECEIVE, HELP SERVER, HELP REMOTE.Syntax: LOG (or L) log-type [ 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: Pause at the end of each screenful even if COMMAND MORE-PROMPTING OFF. Synonym: /MORE 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. /NUMBER Add line numbers (conflicts with /PREFIX) /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. /CHARACTER-SET:name Translates from the named character set. /TRANSLATE-TO:name Translates to the named character set (default = current file charset). /TRANSPARENT Inhibits character-set translation. Sends results to the given file. If this switch is omitted, the results appear on your screen. This switch overrides any express or implied /PAGE switch.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. KEYBOARD-BUFFER Clears the command terminal keyboard input buffer. SEND-LIST Clears the current SEND list (see ADD). TEXT-PATTERNS Clears the file text-patterns list.Syntax: DATE [ date-time [ timezone ] ] [ delta-time ] Prints a date-time in standard format: yyyymmdd_hh:mm:ss. Various date-time formats are accepted: . The date, if given, must precede the time. . The year must be four digits or else a 2-digit format dd mmm yy, in which case if (yy < 50) yyyy = yy + 2000; else yyyy = yy + 1900. . 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 supplied. . If the time is given but date omitted, 00:00:00 is supplied. . If both the date and time are omitted, the current date and time are supplied. The following shortcuts can also be used in place of dates: 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). Timezone specifications are similar to those used in e-mail and HTTP headers, either a USA timezone name, e.g. EST or a signed four-digit timezone offset, {+,-}hhmm, e.g., -0500; it is used to convert date-time, a local time in that timezone, to GMT which is then converted to the local time at the host. If no timezone is given, the date-time is local. Delta times are given as {+,-}[number date-units][hh[:mm[:ss]]] A date in the future/past relative to the date-time; date-units may be DAYS, WEEKS, MONTHS, YEARS: +3days, -7weeks, +3:00, +1month 8:00.All the formats shown above are acceptable as arguments to date-time switchessuch as /AFTER: or /BEFORE:, and to functions such as \fcvtdate(),\fdiffdate(), and \futcdate(), that take date-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 Inhibits character-set translation for text files for the duration of the SEND command without affecting subsequent commands./NOBACKUPFILES 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 "."./FOLLOWLINKS Send files that are pointed to by symbolic links./NOFOLLOWLINKS Skip over symbolic links (default). 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}...}/TYPE:{ALL,TEXT,BINARY} Send only files of the given type (see SET FILE SCAN)./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. Overrides the TRANSFER PIPES setting for this command only. ON allows reception of files with names like "!tar xf -" to be automatically 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 binary Inhibits character-set translation of incoming text files for the duration of the RECEIVE command without affecting subsequent commands.Also 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 /TYPE; 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 SH~OW 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 for 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 ?". The default modem type is GENERIC, which should work with any AT command-set modem that is configured for error correction, data compression, and hardware flow control. Use SET MODEM TYPE NONE 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 use SET MODEM CAPABILITIES, SET MODEM, DIAL-COMMAND, and SET MODEM COMMAND to tell Kermit how to configure and control it.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, DTR } 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. DTR is a synonym for RS232-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 SET(and SHOW) TRANSFER and 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 content scan (see SET FILE SCAN below), filename pattern matching (SET FILE PATTERNS), 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 automatic methods are skipped for sending files; the FILE TYPE setting is used instead, which can be superseded on a per-command basis with a /TEXT or /BINARY switch.SET FILE BYTESIZE { 7, 8 } Normally 8. If 7, Kermit truncates 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 DEFAULT 7BIT-CHARACTER-SET When automatically switching among different kinds of files while sending this tells the character set to be used for 7-bit text files.SET FILE DEFAULT 8BIT-CHARACTER-SET This tells the character set to be used for 8-bit text files when switching automatically among different kinds of files.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 EOF { CTRL-Z, LENGTH } End-Of-File detection method, normally LENGTH. Applies only to text-mode transfers. When set to CTRL-Z, this makes the file sender treat the first Ctrl-Z in the input file as the end of file (EOF), and it makes the file receiver tack a Ctrl-Z onto the end of the output file if it does not already end with Ctrl-Z.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, DISCARD, or AUTO. AUTO (the default) means DISCARD if transfer is in text mode, KEEP if it is in binary mode.SET FILE LISTSIZE number Changes the size of the internal wildcard expansion list. Use SHOW FILE to see the current size. Use this command to increase the size if you get a "?Too many files" error. Also see SET FILE STRINGSPACE.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 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. FILE PATTERNS are used only if FILE SCAN is OFF (see SET FILE SCAN).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 SCAN { ON [ size ], OFF } If TRANSFER MODE is AUTOMATIC and FILE SCAN is ON (as it is by default) Kermit peeks at the file's contents to see if it's text or binary. Use SET FILE SCAN OFF to disable file peeking, while still keeping TRANSFER MODE automatic to allow name patterns and other methods. The optional size is the number of file bytes to scan, 49152 by default. -1 means to scan the whole file. Also see SET FILE PATTERNS.SET FILE STRINGSPACE number Changes the size (in bytes) of the internal buffer that holds lists of filenames such as wildcard expansion lists. Use SHOW FILE to see the current size. Use this command to increase the size if you get a "?String space exhausted" error. Also see SET FILE LISTSIZE.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 or FTP server. If you have a single connection, the command isdirected to the server you are connected to; if you have multiple connectionsthe command is directed according to your GET-PUT-REMOTE setting.Type REMOTE ? to see a list of available remote commands. Type HELP REMOTExxx to get further information about a particular remote command xxx.All REMOTE commands except LOGIN and LOGOUT have R-command shortcuts;for example, RDIR for REMOTE DIR, RCD for REMOTE CD, etc.Also see: HELP SET LOCUS, HELP FTP, HELP SET GET-PUT-REMOTE.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.If parentheses are used they must be surrounded by spaces. 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 KERBANG - A Kerbang script is running 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 MS-KERMIT - Program is MS-DOS Kermit C-KERMIT - Program is C-Kermit K-95 - Program is Kermit 95 GUI - Program runs in a GUI window 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 AVAILABL~uE 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 DECLARED arrayname - The named array is declared 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 KBHIT - A key has been pressed VERSION - equivalent to "if >= \v(version) ..." 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: EXIT (or QUIT) [ number [ text ] ] Exits from the Kermit program, closing all open files and devices. If a number is given it becomes Kermit's exit status code. If text is included, it is printed. Also see SET EXIT.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 while 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: ASK [ switches ] variablename [ prompt ]Example: ASK \%n { What is your name\? } Issues the prompt and defines the variable to be whatever is typed in response, up to the terminating carriage return. Use braces to preserve leading and/or trailing spaces in the prompt.Syntax: ASKQ [ switches ] variablename [ prompt ]Example: ASKQ \%p { Password:} Like ASK except the response does not echo on the screen.Switches: /POPUP The prompt and response dialog takes place in a text-mode popup. K95 only; in C-Kermit this switch is ignored. /GUI The prompt and response dialog takes place in a GUI popup. K95 GUI version only; in C-Kermit and the K95 console version, this switch is ignored. /TIMEOUT:number If the response is not entered within the given number of seconds, the command fails. This is equivalent to setting ASK-TIMER to a positive number, except it applies only to this command. Also see SET ASK-TIMER. /QUIET Suppresses "?Timed out" message when /TIMEOUT is given and user doesn't respond within the time limit.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.Also see SET ASK-TIMER.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: . Assigns the value to the variable in the manner indicated by the assignment operator: = Copies without evaluation (like DEFINE). := Copies with evaluation (like ASSIGN). ::= Copies with arithmetic evaluation (like EVALUATE).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 HANGUP { ON, OFF } When ON (which is the default), C-Kermit executes an implicit HANGUP and CLOSE command on the communications device or connection when it exits. When OFF, Kermit skips this sequence.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 [ switches ] 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 /PIPE switch is included, the name of a command whose output is to be sent. 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; use /NOWAIT to eliminate the feedback requirement. In binary mode, it is sent a character at a time, with no feedback required. Normally the transmitted material is echoed to your screen. Use SET TRANSMIT ECHO OFF or the /NOECHO switch to suppress echoing. Note that TRANSMIT /NOECHO /NOWAIT /BINARY is a special case, that more or less blasts the file out at full speed. 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.nrc Multiple files can be translated if file2 is a directory or device name, rather than a filename, or if file2 is omitted.Syntax: WAIT { number-of-seconds, hh:mm:ss } [ ]Examples: wait 5 cd cts wait 23:59:59 cd Waits up to the given number of seconds or the given time of day for the specified item or event, which can be FILE, the name(s) of one or more modem signals, or nothing. If nothing is specified, WAIT acts like SLEEP. If one or more modem signal names are given, Kermit waits for 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.Signals: cd = Carrier Detect; dsr = Dataset Ready; cts = Clear To Send; ri = Ring Indicate.If you want Kermit to wait for a file event, then the syntax is: WAIT