# 2.11BSD#431 - /usr/src/new/kermit5.188/ckcmai.c

##### Functions

    ckcmai            X
    getiobs           X
    main              X

##### Variables

    atenci            X
    autopar           X
    bgset             X
    capas             X
    carrier           X
    cdtimo            X
    clcmds            X
    clfils            X
    closgr            X
    cmarg             X
    cmarg2            X
    cmdfil            X
    cmlist            X
    connected         X
    cudata            X
    data              X
    deblog            X
    en_bye            X
    en_cwd            X
    en_del            X
    en_dir            X
    en_fin            X
    en_get            X
    en_hos            X
    en_sen            X
    en_set            X
    en_spa            X
    en_typ            X
    en_who            X
    fblksiz           X
    fcctrl            X
    ffc               X
    filcnt            X
    filnam            X
    flci              X
    flco              X
    fncact            X
    forg              X
    frecfm            X
    frecl             X
    fsecs             X
    fsize             X
    hlptxt            X
    iattr             X
    lf_opts           X
    myhost            X
    nettype           X
    network           X
    nfils             X
    padch             X
    parity            X
    pktnum            X
    recpkt            X
    revcall           X
    rptn              X
    sndpkt            X
    speed             X
    spsiz             X
    srvcmd            X
    srvtxt            X
    sstate            X
    startconnected    X
    stayflg           X
    suspend           X
    tfc               X
    tlci              X
    tlco              X
    tlevel            X
    tsecs             X
    ttname            X
    udata             X
    vernum            X
    versio            X
    verwho            X
    wildxpand         X
    xarg0             X
    xargc             X
    xargs             X
    xargv             X
    xitsta            X
    zinbuffer         X
    zincnt            X
    zinptr            X
    zoutbuffer        X
    zoutcnt           X
    zoutptr           X
    zstate            X

##### Macros

    CKCMAI            X
    MYHOSTL           X
    VERWHO            X

       1: #ifndef MAC
       2: char *versio = "C-Kermit 5A(188), 23 Nov 92"; /* Version herald. */
       3: #else
       4: /*
       5:   For Macintosh, also remember to change the Mac-specific version in ckmkr2.r.
       6: */
       7: char *versio = "Mac Kermit 0.99(188) Pre-ALPHA, 23 Nov 92";
       8: #endif /* MAC */
       9: long vernum = 501188L;
      10: /*
      11:   String and numeric version numbers, keep these three in sync!
      12:   First digit of vermum = major version, i.e. 5.
      13:   Second 2 digits of vernum: 00 = no minor version, 01 = A, 02 = B, etc.
      14:   Last three digits are edit number.
      15: */
      16: #ifndef VERWHO
      17: /* Change verwho in following line, or with -DVERWHO=x in makefile CFLAGS. */
      18: #define VERWHO 0
      19: #endif /* VERWHO */
      20: int verwho = VERWHO; /* Who produced this version, 0 = Columbia University */
      21: /*
      22:   IMPORTANT: If you are working on your own private version of C-Kermit, please
      23:   include some special notation, like your site name or your initials, in the
      24:   "versio" string, e.g. "5A(182)-XXX", and use a nonzero code for the "verwho"
      25:   variable (e.g. in the USA use your zip code).  Unless we stick to this
      26:   discipline, divergent copies of C-Kermit will begin to appear that are
      27:   intistinguishable from each other, which is a big support issue.  Also, if
      28:   you have edited C-Kermit and made copies available to others, please add
      29:   appropriate text to the BUG command (ckuus6.c, function dobug()).
      30: */
      31: #define CKCMAI
      32:
      33: /*  C K C M A I  --  C-Kermit Main program  */
      34:
      35: /*
      36:   Author: Frank da Cruz (fdc@columbia.edu, FDCCU@CUVMA.BITNET),
      37:   Columbia University Center for Computing Activities.
      38:
      39:   COPYRIGHT NOTICE:
      40:
      41:   Copyright (C) 1985, 1992, Trustees of Columbia University in the City of New
      42:   York.  Permission is granted to any individual or institution to use this
      43:   software as long as it is not sold for profit.  This copyright notice must be
      44:   retained.  This software may not be included in commercial products without
      45:   written permission of Columbia University.
      46:
      47:   DOCUMENTATION:
      48:
      49:   "Using C-Kermit" by Frank da Cruz and Christine M. Gianone,
      50:   Digital Press, Burlington, MA, USA.  Publication date: Winter 1992.
      51:   Order Number: EY-J896E-DP
      52:   Digital Press ISBN: 1-55558-108-0
      53:   Prentice Hall ISBN: 0-13-037490-3
      54:
      55:   DISCLAIMER:
      56:
      57:   The C-Kermit software is provided in source code form by Kermit Development
      58:   and Distribution, Columbia University.  The software is provided "as is;" no
      59:   other warranty is provided, express or implied, including without
      60:   limitations, any implied warranty of merchantability or implied warranty of
      61:   fitness for a particular purpose.
      62:
      63:   Neither Columbia University nor any of the contributors to the C-Kermit
      64:   development effort, including, but not limited to, AT&T, Digital Equipment
      65:   Corporation, Data General Corporation, or International Business Machines
      66:   Corporation, warrant C-Kermit software or documentation in any way.  In
      67:   addition, neither the authors of any Kermit programs, publications or
      68:   documentation, nor Columbia University nor any contributing institutions or
      69:   individuals acknowledge any liability resulting from program or
      70:   documentation errors.
      71:
      72:   ACKNOWLEDGMENTS:
      73:
      74:   The Kermit file transfer protocol was developed at the Columbia University
      75:   Center for Computing Activities (CUCCA).  It is named after Kermit the Frog,
      76:   star of the television series THE MUPPET SHOW; the name is used by permission
      77:   of Henson Associates, Inc.
      78:
      79:   Thanks to at least the following people for their contributions to this
      80:   program over the years, and apologies to anybody I missed:
      81:
      82:    Chris Adie, Edinburgh U, Scotland (OS/2 support)
      83:    Robert Adsett, University of Waterloo, Canada
      84:    Larry Afrin, Clemson U
      85:    Greg Andrews, Telebit Corp
      86:    Barry Archer, U of Missouri
      87:    Robert Andersson, International Systems A/S, Oslo, Norway
      88:    Chris Armstrong, Brookhaven National Lab (OS/2)
      89:    William Bader, Software Consulting Services, Nazareth, PA
      90:    Fuat Baran, CUCCA
      91:    Stan Barber, Rice U
      92:    Jim Barbour, U of Colorado
      93:    Donn Baumgartner, Dell
      94:    Nelson Beebe, U of Utah
      95:    Karl Berry, UMB
      96:    Dean W Bettinger, SUNY
      97:    Gary Bilkus
      98:    Marc Boucher, U of Montreal
      99:    Charles Brooks, EDN
     100:    Bob Brown
     101:    Mike Brown, Purdue U
     102:    Jack Bryans, California State U at Long Beach
     103:    Mark Buda, DEC (VAX/VMS)
     104:    Fernando Cabral, Padrao IX, Brasilia, Brazil
     105:    Bjorn Carlsson, Stockholm University Computer Centre QZ, Sweden
     106:    Bill Catchings, formerly of CUCCA
     107:    Bob Cattani, Columbia U CS Dept
     108:    Davide Cervone, Rochester University
     109:    Seth Chaiklin, Denmark
     110:    John Chandler, Harvard U / Smithsonian Astronomical Observatory
     111:    John L Chmielewski, AT&T, Lisle, IL
     112:    Howard Chu, U of Michigan
     113:    Bill Coalson, McDonnell Douglas
     114:    Bertie Coopersmith, London, UK
     115:    Chet Creider, University of Western Ontario, Canada
     116:    Alan Crosswell, CUCCA
     117:    Jeff Damens, formerly of CUCCA
     118:    Mark Davies, Bath U, UK
     119:    S. Dezawa, Fujifilm, Japan
     120:    Joe R. Doupnik, Utah State U
     121:    Frank Dreano (Honeywell)
     122:    John Dunlap, University of Washington
     123:    David Dyck, John Fluke Mfg Co.
     124:    Stefaan A. Eeckels, Eurokom, Luxembourg
     125:    Paul Eggert, Twin Sun, Inc., El Segundo, CA
     126:    Bernie Eiben, DEC
     127:    Kristoffer Eriksson, Peridot Konsult AB, Oerebro, Sweden
     128:    John R. Evans, IRS, Kansas City
     129:    Glenn Everhart, RCA Labs
     130:    Charlie Finan, Cray Research
     131:    Herm Fischer, Encino, CA (extensive contributions to version 4.0)
     132:    Carl Fongheiser, CWRU
     133:    Marcello Frutig, Catholic University, Sao Paulo, Brazil (X.25 support)
     134:    Hirofumi Fujii, Japan Nat'l Lab for High Energy Physics, Tokyo (Kanji)
     135:    Chuck Fuller, Westinghouse Corporate Computer Services
     136:    Andy Fyfe, Caltech
     137:    Christine M. Gianone, CUCCA
     138:    John Gilmore, UC Berkeley
     139:    German Goldszmidt, IBM
     140:    Alistair Gorman, New Zealand
     141:    Richard Gration, ADFA, Australia
     142:    Chris Green, Essex U, UK
     143:    Alan Grieg, Dundee Tech, Scotland, UK
     144:    Yekta Gursel, MIT
     145:    Jim Guyton, Rand Corp
     146:    Michael Haertel
     147:    Bob Hain, UMN
     148:    Marion Hakanson, ORST
     149:    John Hamilston, Iowa State U
     150:    Simon Hania, Netherlands
     151:    Stan Hanks, Rice U.
     152:    Ken Harrenstein, SRI
     153:    Eugenia Harris, Data General (AOS/VS)
     154:    David Harrison, Kingston Warren Corp
     155:    James Harvey, Indiana/Purdue U (VMS)
     156:    Rob Healey
     157:    Chuck Hedrick, Rutgers U
     158:    Ron Heiby, Technical Systems Division, Motorola Computer Group
     159:    Steve Hemminger, Tektronix
     160:    Christian Hemsing, RWTH Aachen, Germany (OS-9)
     161:    Andrew Herbert, Monash Univ, Australia
     162:    Mike Hickey, ITI
     163:    R E Hill
     164:    Bill Homer, Cray Research
     165:    Ray Hunter, The Wollongong Group
     166:    Randy Huntziger, National Library of Medicine
     167:    Larry Jacobs, Transarc
     168:    Steve Jenkins, Lancaster University, UK
     169:    Dave Johnson, Gradient Technologies
     170:    Mark B Johnson, Apple Computer
     171:    Eric F Jones, AT&T
     172:    Luke Jones, AT&T
     173:    Peter Jones, U of Quebec Montreal
     174:    Phil Julian, SAS Institute
     175:    Peter Kabal, U of Quebec
     176:    Mic Kaczmarczik, U of Texas at Austin
     177:    Sergey Kartashoff, Inst. of Precise Mechanics & Computer Equipment, Moscow
     178:    Howie Kaye, CUCCA
     179:    Rob Kedoin, Linotype Co, Hauppauge, NY (OS/2)
     180:    Mark Kennedy, IBM
     181:    Terry Kennedy, St Peter's College, Jersey City, NJ (VAX/VMS, 2.11 BSD)
     182:    Douglas Kingston, morgan.com
     183:    Tom Kloos, Sequent Computer Systems
     184:    Jim Knutson, U of Texas at Austin
     185:    Scott Kramer, SRI International, Menlo Park, CA
     186:    David Kricker, Encore Computer
     187:    Thomas Krueger, UWM
     188:    Bo Kullmar, Central Bank of Sweden, Kista
     189:    R. Brad Kummer, AT&T Bell Labs, Atlanta, GA
     190:    John Kunze, UC Berkeley
     191:    Bob Larson, USC (OS-9)
     192:    Bert Laverman, Groningen U, Netherlands
     193:    Steve Layton
     194:    David Lawyer, UC Irvine
     195:    David LeVine, National Semiconductor Corporation
     196:    S.O. Lidie, Lehigh U
     197:    Tor Lillqvist, Helsinki University, Finland
     198:    Dean Long
     199:    Kevin Lowey, U of Saskatchewan (OS/2)
     200:    Andy Lowry, Columbia University
     201:    David MacKenzie, Environmental Defense Fund, University of Maryland
     202:    John Mackin, University of Sidney, Australia
     203:    Martin Maclaren, Bath U, UK
     204:    Chris Maio, Columbia U CS Dept
     205:    Fulvio Marino, Olivetti, Ivrea, Italy
     206:    Peter Mauzey, AT&T
     207:    Tye McQueen, Utah State U
     208:    Ted Medin
     209:    Hellmuth Michaelis, Hanseatischer Computerservice GmbH, Hamburg, Germany
     210:    Leslie Mikesell, American Farm Bureau
     211:    Martin Minow, DEC (VAX/VMS)
     212:    Pawan Mistra, Bellcore
     213:    Ken Mizialko, IBM, Manassas, VA
     214:    Ray Moody, Purdue U
     215:    Bruce J Moore, Allen-Bradley Co, Highland Heights, OH (Atari ST)
     216:    Steve Morley, Convex
     217:    Peter Mossel, Columbia University
     218:    Tony Movshon, NYU
     219:    Lou Muccioli, Swanson Analysis Systems
     220:    Dan Murphy
     221:    Gary Mussar
     222:    John Nall, FSU
     223:    Jack Nelson, University of Pittsburgh
     224:    Jim Noble, Planning Research Corporation (Macintosh)
     225:    Ian O'Brien, Bath U, UK
     226:    John Owens
     227:    Michael Pins, Iowa Computer Aided Engineering Network
     228:    Andre' Pirard, University of Liege, Belgium
     229:    Paul Placeway, Ohio State U (Macintosh & more)
     230:    Piet W. Plomp, ICCE, Groningen University, Netherlands
     231:    Ken Poulton, HP Labs
     232:    Manfred Prange, Oakland U
     233:    Christopher Pratt, APV Baker, UK
     234:    Frank Prindle, NADC
     235:    Tony Querubin, U of Hawaii
     236:    Anton Rang
     237:    Scott Ribe
     238:    Alan Robiette, Oxford University, UK
     239:    Michel Robitaille, U of Montreal (Mac)
     240:    Kai Uwe Rommel, Technische Universitaet Muenchen (OS/2)
     241:    Larry Rosenman (Amiga)
     242:    Jay Rouman, U of Michigan
     243:    Jack Rouse, SAS Institute (Data General and/or Apollo)
     244:    Stew Rubenstein, Harvard U (VAX/VMS)
     245:    Bill Schilit, Columbia University
     246:    Michael Schmidt, U of Paderborn, Germany
     247:    Eric Schnoebelen, Convex
     248:    Benn Schreiber, DEC
     249:    Dan Schullman, DEC (modems, DIAL command, etc)
     250:    John Schultz, 3M
     251:    Steven Schultz, Contel (PDP-11)
     252:    APPP Scorer, Leeds Polytechnic, UK
     253:    Gordon Scott, Micro Focus, Newbury UK
     254:    Gisbert W. Selke, WIdO, Bonn, Germany
     255:    David Sizeland, U of London Medical School
     256:    Fridrik Skulason, Iceland
     257:    Dave Slate
     258:    Bradley Smith, UCLA
     259:    Richard S Smith, Cal State
     260:    Ryan Stanisfer, UNT
     261:    Bertil Stenstroem, Stockholm University Computer Centre (QZ), Sweden
     262:    James Sturdevant, CAP GEMENI AMERICA, Minneapolis
     263:    Peter Svanberg, Royal Techn. HS, Sweden
     264:    James R. Swenson, Accu-Weather, Inc.
     265:    Andy Tanenbaum, Vrije U, Amsterdam, Netherlands
     266:    Markku Toijala, Helsinki U of Technology
     267:    Rick Troxel, NIH
     268:    Warren Tucker, Tridom Corp, Mountain Park, GA
     269:    Dave Tweten, AMES-NAS
     270:    G Uddeborg, Sweden
     271:    Walter Underwood, Ford Aerospace
     272:    Pieter Van Der Linden, Centre Mondial, Paris
     273:    Ge van Geldorp, Netherlands
     274:    Fred van Kempen, MINIX User Group, Voorhout, Netherlands
     275:    Wayne Van Pelt, GE/CRD
     276:    Mark Vasoll, Oklahoma State U (V7 UNIX)
     277:    Konstantin Vinogradov, ICSTI, Moscow
     278:    Paul Vixie, DEC
     279:    Dimitri Vulis, CUNY
     280:    Roger Wallace, Raytheon
     281:    Stephen Walton, Calif State U, Northridge (Amiga)
     282:    Jamie Watson, Adasoft, Switzerland (RS/6000)
     283:    Rick Watson, U of Texas (Macintosh)
     284:    Robert Weiner, Programming Plus, New York City
     285:    Lauren Weinstein, Vortex Technlogy
     286:    David Wexelblat, AT&T
     287:    Joachim Wiesel, U of Karlsruhe
     288:    Lon Willett, U of Utah
     289:    Michael Williams, UCLA
     290:    Nate Williams, U of Montana
     291:    David Wilson
     292:    Patrick Wolfe, Kuck & Associates, Inc.
     293:    Gregg Wonderly, Oklahoma State U (V7 UNIX)
     294:    Farrell Woods, Concurrent (formerly Masscomp)
     295:    Dave Woolley, CAP Communication Systems, London
     296:    Jack Woolley, SCT Corp
     297:    Frank Wortner
     298:    Ken Yap, U of Rochester
     299:    John Zeeff, Ann Arbor, MI
     300: */
     301: /*
     302:   ckcsym.h is used for for defining symbols that normally would be defined
     303:   using -D or -d on the cc command line, for use with compilers that don't
     304:   support this feature.
     305: */
     306: #include "ckcsym.h"
     307: #include "ckcasc.h"         /* ASCII character symbols */
     308: #include "ckcdeb.h"         /* Debug & other symbols */
     309: #include "ckcker.h"         /* Kermit symbols */
     310: #include "ckcnet.h"         /* Network symbols */
     311: #ifndef NOSPL
     312: #include "ckuusr.h"
     313: #endif /* NOSPL */
     314:
     315: #ifndef NOSERVER
     316: /* Text message definitions.. each should be 256 chars long, or less. */
     317: #ifdef MAC
     318: char *hlptxt = "\r\
     319: Mac Kermit Server Commands:\r\
     320: \r\
     321:     BYE\r\
     322:     FINISH\r\
     323:     GET filespec\r\
     324:     REMOTE CD directory\r\
     325:     REMOTE HELP\r\
     326:     SEND filespec\r\
     327: \r\0";
     328: #else
     329: #ifdef AMIGA
     330: char *hlptxt = "C-Kermit Server Commands:\n\
     331: \n\
     332: GET filespec, SEND filespec, FINISH, BYE, REMOTE HELP\n\
     333: \n\0";
     334: #else
     335: #ifdef OS2
     336: char *hlptxt = "C-Kermit Server REMOTE Commands:\n\
     337: \n\
     338: GET files  REMOTE CD [dir]     REMOTE DIRECTORY [files]\n\
     339: SEND files REMOTE SPACE [dir]  REMOTE HOST command\n\
     340: FINISH     REMOTE DELETE files REMOTE TYPE files\n\
     341: BYE        REMOTE HELP         REMOTE SET parameter value\n\
     342: \n\0";
     343: #else
     344: #ifdef MINIX
     345: char *hlptxt = "C-Kermit Server REMOTE Commands:\n\
     346: GET SEND BYE FINISH REMOTE: CD DEL DIR HELP HOST SET SPACE TYPE WHO\n\0";
     347: #else
     348: #ifdef VMS
     349: char *hlptxt = "C-Kermit Server REMOTE Commands:\r\n\
     350: \r\n\
     351: GET files  REMOTE CD [dir]     REMOTE DIRECTORY [files]\r\n\
     352: SEND files REMOTE SPACE [dir]  REMOTE HOST command\r\n\
     353: MAIL files REMOTE DELETE files REMOTE WHO [user]\r\n\
     354: BYE        REMOTE PRINT files  REMOTE TYPE files\r\n\
     355: FINISH     REMOTE HELP         REMOTE SET parameter value\r\n\
     356: \0";
     357: #else
     358: #ifdef datageneral
     359: char *hlptxt = "C-Kermit Server REMOTE Commands:\n\
     360: \n\
     361: GET files  REMOTE CD [dir]     REMOTE DIRECTORY [filespec]\n\
     362: SEND files REMOTE SPACE [dir]  REMOTE HOST command\n\
     363: BYE        REMOTE TYPE file    REMOTE DELETE files\n\
     364: FINISH     REMOTE WHO          REMOTE SET\n\
     365: \0";
     366: #else
     367: char *hlptxt = "C-Kermit Server REMOTE Commands:\n\
     368: \n\
     369: GET files  REMOTE CD [dir]     REMOTE DIRECTORY [files]\n\
     370: SEND files REMOTE SPACE [dir]  REMOTE HOST command\n\
     371: MAIL files REMOTE DELETE files REMOTE WHO [user]\n\
     372: BYE        REMOTE PRINT files  REMOTE TYPE files\n\
     373: FINISH     REMOTE HELP         REMOTE SET parameter value\n\
     374: \n\0";
     375: #endif
     376: #endif
     377: #endif
     378: #endif
     379: #endif
     380: #endif
     381:
     382: #ifdef MINIX
     383: char *srvtxt = "\r\n\
     384: Entering server mode.\r\n\0";
     385: #else
     386: #ifdef OSK
     387: char *srvtxt = "\r\l\
     388: Entering server mode.  If your local Kermit software is menu driven, use\r\l\
     389: the menus to send commands to the server.  Otherwise, enter the escape\r\l\
     390: sequence to return to your local Kermit prompt and issue commands from\r\l\
     391: there.  Use SEND and GET for file transfer.  Use REMOTE HELP for a list of\r\l\
     392: other available services.  Use BYE or FINISH to end server mode.\r\l\0";
     393: #else /* UNIX, VMS, AOS/VS, and all others */
     394: char *srvtxt = "\r\n\
     395: Entering server mode.  If your local Kermit software is menu driven, use\r\n\
     396: the menus to send commands to the server.  Otherwise, enter the escape\r\n\
     397: sequence to return to your local Kermit prompt and issue commands from\r\n\
     398: there.  Use SEND and GET for file transfer.  Use REMOTE HELP for a list of\r\n\
     399: other available services.  Use BYE or FINISH to end server mode.\r\n\0";
     400: #endif /* OSK */
     401: #endif /* MINIX */
     402: #else  /* server mode disabled */
     403: char *srvtxt = "";
     404: #endif /* NOSERVER */
     405:
     406: /* Declarations for Send-Init Parameters */
     407:
     408: int spsiz = DSPSIZ,                     /* Current packet size to send */
     409:     spmax = DSPSIZ,         /* Biggest packet size we can send */
     410:     spsizr = DSPSIZ,            /* Send-packet size requested */
     411:     spsizf = 0,                         /* Flag to override size negotiation */
     412:     rpsiz = DRPSIZ,                     /* Biggest we want to receive */
     413:     urpsiz = DRPSIZ,            /* User-requested receive pkt size */
     414:     maxrps = MAXRP,         /* Maximum incoming long packet size */
     415:     maxsps = MAXSP,         /* Maximum outbound l.p. size */
     416:     maxtry = MAXTRY,            /* Maximum retries per packet */
     417:     wslots = 1,             /* Window size currently in use */
     418:     wslotr = 1,             /* Window size from SET WINDOW */
     419:     wslotn = 1,             /* Window size negotiated in S-pkt */
     420:     timeouts = 0,           /* For statistics reporting */
     421:     spackets = 0,           /*  ... */
     422:     rpackets = 0,           /*  ... */
     423:     retrans = 0,            /*  ... */
     424:     crunched = 0,           /*  ... */
     425:     wmax = 0,               /*  ... */
     426:     wcur = 0,               /*  ... */
     427:     srvdis = 0,             /* Server file xfer display */
     428:     srvtim = DSRVTIM,           /* Server command wait timeout */
     429: /*
     430:   timint is the timeout interval I use when waiting for a packet.
     431:   pkttim is the SET RECEIVE TIMEOUT value, sent to the other Kermit.
     432:   rtimo is the SET SEND TIMEOUT value.  rtimo is the initial value of
     433:   timint.  timint is changed by the value in the incoming negotiation
     434:   packet unless a SET SEND TIMEOUT command was given.
     435: */
     436:     timint = DMYTIM,                    /* Timeout interval I use */
     437:     pkttim = URTIME,            /* Timeout I want you to use */
     438:     rtimo = DMYTIM,         /* Normal packet wait timeout */
     439:     timef = 0,                          /* Flag to override what you ask */
     440:     npad = MYPADN,                      /* How much padding to send */
     441:     mypadn = MYPADN,                    /* How much padding to ask for */
     442:     bctr = 1,                           /* Block check type requested */
     443:     bctu = 1,                           /* Block check type used */
     444:     bctl = 1,               /* Block check length */
     445:     ebq =  MYEBQ,                       /* 8th bit prefix */
     446:     ebqflg = 0,                         /* 8th-bit quoting flag */
     447:     rqf = -1,               /* Flag used in 8bq negotiation */
     448:     rq = 0,             /* Received 8bq bid */
     449:     sq = 'Y',               /* Sent 8bq bid */
     450:     rpt = 0,                            /* Repeat count */
     451:     rptq = MYRPTQ,                      /* Repeat prefix */
     452:     rptflg = 0;                         /* Repeat processing flag */
     453:
     454: int capas = 9,              /* Position of Capabilities */
     455:     atcapb = 8,             /* Attribute capability */
     456:     atcapr = 1,             /*  requested */
     457:     atcapu = 0,             /*  used */
     458:     swcapb = 4,             /* Sliding Window capability */
     459:     swcapr = 1,             /*  requested (allowed) */
     460:     swcapu = 0,             /*  used */
     461:     lpcapb = 2,             /* Long Packet capability */
     462:     lpcapr = 1,             /*  requested */
     463:     lpcapu = 0,             /*  used */
     464:     lscapb = 32,            /* Locking Shift capability */
     465:     lscapr = 1,             /*  requested by default */
     466:     lscapu = 0;             /*  used */
     467:
     468: /* Flags for whether to use particular attributes */
     469:
     470: int atenci = 1,             /* Encoding in */
     471:     atenco = 1,             /* Encoding out */
     472:     atdati = 1,             /* Date in */
     473:     atdato = 1,             /* Date out */
     474:     atdisi = 1,             /* Disposition in/out */
     475:     atdiso = 1,
     476:     atleni = 1,             /* Length in/out (both kinds) */
     477:     atleno = 1,
     478:     atblki = 1,             /* Blocksize in/out */
     479:     atblko = 1,
     480:     attypi = 1,             /* File type in/out */
     481:     attypo = 1,
     482:     atsidi = 1,             /* System ID in/out */
     483:     atsido = 1,
     484:     atsysi = 1,                /* System-dependent parameters in/out */
     485:     atsyso = 1;
     486:
     487: CHAR padch = MYPADC,                    /* Padding character to send */
     488:     mypadc = MYPADC,                    /* Padding character to ask for */
     489:     seol = MYEOL,                       /* End-Of-Line character to send */
     490:     eol = MYEOL,                        /* End-Of-Line character to look for */
     491:     ctlq = CTLQ,                        /* Control prefix in incoming data */
     492:     myctlq = CTLQ;                      /* Outbound control character prefix */
     493:
     494: struct zattr iattr;         /* Incoming file attributes */
     495:
     496: /* File related variables, mainly for the benefit of VAX/VMS */
     497:
     498: int fblksiz = DBLKSIZ;      /* File blocksize */
     499: int frecl = DLRECL;     /* File record length */
     500: int frecfm = XYFF_S;        /* File record format (default = stream) */
     501: int forg = XYFO_S;      /* File organization (sequential) */
     502: int fcctrl = XYFP_N;        /* File carriage control (ctrl chars) */
     503:
     504: #ifdef VMS
     505: /* VMS labeled file options */
     506: int lf_opts = LBL_NAM;
     507: #else
     508: int lf_opts = 0;
     509: #endif /* VMS */
     510:
     511: /* Packet-related variables */
     512:
     513: int pktnum = 0,                         /* Current packet number */
     514:     sndtyp = 0,             /* Type of packet just sent */
     515:     rsn,                /* Received packet sequence number */
     516:     rln,                /* Received packet length */
     517:     size,                               /* Current size of output pkt data */
     518:     osize,                              /* Previous output packet data size */
     519:     maxsize,                            /* Max size for building data field */
     520:     spktl = 0,              /* Length packet being sent */
     521:     rpktl = 0,              /* Length of packet just received */
     522:     rprintf,                /* REMOTE PRINT flag */
     523:     rmailf;             /* MAIL flag */
     524:
     525: CHAR
     526: #ifdef NO_MORE  /* Buffers used before sliding windows... */
     527:     sndpkt[MAXSP+100],          /* Entire packet being sent */
     528:     recpkt[MAXRP+200],          /* Packet most recently received */
     529:     data[MAXSP+4],          /* Packet data buffer */
     530: #endif
     531: #ifdef DYNAMIC
     532:     *srvcmd = (CHAR *)0,        /* Where to decode server command */
     533: #else
     534:     srvcmd[MAXRP+4],                    /* Where to decode server command */
     535: #endif
     536:     padbuf[95],             /* Buffer for send-padding */
     537:     *recpkt,
     538:     *rdatap,                /* Pointer to received packet data */
     539:     *data = (CHAR *)0,          /* Pointer to send-packet data */
     540:     *srvptr,                            /* Pointer to srvcmd */
     541:     mystch = SOH,                       /* Outbound packet-start character */
     542:     stchr = SOH;                        /* Incoming packet-start character */
     543:
     544: /* File-related variables */
     545:
     546: char filnam[257];                       /* Name of current file. */
     547: char cmdfil[80];            /* Application file name. */
     548:
     549: int nfils = 0;              /* Number of files in file group */
     550: long fsize;                             /* Size of current file */
     551: int wildxpand = 0;          /* Who expands wildcards */
     552: int clfils = 0;             /* Flag for command-line files */
     553: int stayflg = 0;            /* Flag for "stay", i.e. "-S" */
     554:
     555: /* Communication line variables */
     556:
     557: char ttname[80];                        /* Name of communication line. */
     558:
     559: #ifdef MAC
     560: int connected = 0;          /* true if connected */
     561: int startconnected;         /* initial state of connected */
     562: #endif /* MAC */
     563:
     564: long speed = -1L;           /* Line speed */
     565:
     566: int parity,                             /* Parity specified, 0,'e','o',etc */
     567:     autopar = 0,            /* Automatic parity change flag */
     568:     sosi = 0,               /* Shift-In/Out flag */
     569:     flow,                               /* Flow control */
     570:     turn = 0,                           /* Line turnaround handshake flag */
     571:     turnch = XON,                       /* Line turnaround character */
     572:     duplex = 0,                         /* Duplex, full by default */
     573:     escape = DFESC,         /* Escape character for connect */
     574:     delay = DDELAY,                     /* Initial delay before sending */
     575:     tnlm = 0,               /* Terminal newline mode */
     576:     mdmtyp = 0;                         /* Modem type (initially none)  */
     577:
     578: /* Networks for SET HOST */
     579:
     580: #define MYHOSTL 100
     581:     char myhost[MYHOSTL];       /* Local host name */
     582:     int network = 0;            /* Network vs tty connection */
     583: #ifdef OS2
     584: /* For now, DECnet is the only type supported by OS/2 */
     585:     int nettype = NET_DEC;
     586: #else
     587:     int nettype = NET_TCPB;     /* Assume TCP/IP (BSD sockets) */
     588: #endif /* OS2 */
     589:
     590: #ifdef SUNX25
     591:     extern initpad();
     592:     int revcall = 0;            /* X.25 reverse call not selected */
     593:     int closgr  = -1;       /* X.25 closed user group not selected */
     594:     int cudata = 0;     /* X.25 call user data not specified */
     595:     char udata[MAXCUDATA];  /* X.25 call user data */
     596: #endif /* SUNX25 */
     597:
     598: /* Other recent additions */
     599:
     600:     int tlevel = -1;            /* Take-file command level */
     601: #ifndef NOSPL
     602:     extern int cmdlvl;          /* Command level */
     603:     extern int maclvl;          /* Macro invocation level */
     604: #endif /* NOSPL */
     605:     int carrier = CAR_AUT;      /* Pay attention to carrier signal */
     606:     int cdtimo = 0;         /* Carrier wait timeout */
     607:     int xitsta = GOOD_EXIT;     /* Program exit status */
     608: #ifdef VMS              /* Default filename collision action */
     609:     int fncact = XYFX_X;        /* REPLACE for VAX/VMS */
     610: #else
     611:     int fncact = XYFX_B;        /* BACKUP for everybody else */
     612: #endif /* VMS */
     613:     int bgset = -1;         /* BACKGROUND mode set explicitly */
     614: #ifdef UNIX
     615:     int suspend = DFSUSP;       /* Whether SUSPEND command, etc, */
     616: #else                   /* is to be allowed. */
     617:     int suspend = 0;
     618: #endif /* UNIX */
     619:
     620: /* Statistics variables */
     621:
     622: long filcnt,                    /* Number of files in transaction */
     623:     flci,                       /* Characters from line, current file */
     624:     flco,                       /* Chars to line, current file  */
     625:     tlci,                       /* Chars from line in transaction */
     626:     tlco,                       /* Chars to line in transaction */
     627:     ffc,                        /* Chars to/from current file */
     628:     tfc,                        /* Chars to/from files in transaction */
     629:     rptn;           /* Repeated characters compressed */
     630:
     631: int tsecs = 0;                  /* Seconds for transaction */
     632: int fsecs = 0;          /* Per-file timer */
     633:
     634: /* Flags */
     635:
     636: int deblog = 0,                         /* Flag for debug logging */
     637:     debses = 0,             /* Flag for DEBUG SESSION */
     638:     pktlog = 0,                         /* Flag for packet logging */
     639:     seslog = 0,                         /* Session logging */
     640:     tralog = 0,                         /* Transaction logging */
     641:     displa = 0,                         /* File transfer display on/off */
     642:     stdouf = 0,                         /* Flag for output to stdout */
     643:     stdinf = 0,             /* Flag for input from stdin */
     644:     xflg   = 0,                         /* Flag for X instead of F packet */
     645:     hcflg  = 0,                         /* Doing Host command */
     646:     fncnv  = 1,                         /* Flag for file name conversion */
     647:     binary = 0,                         /* Flag for binary file */
     648:     savmod = 0,                         /* Saved file mode (whole session) */
     649:     bsave  = 0,             /* Saved file mode (per file) */
     650:     bsavef = 0,             /* Flag if bsave was used. */
     651:     cmask  = 0177,          /* Connect byte mask */
     652:     fmask  = 0377,          /* File byte mask */
     653:     warn   = 0,                         /* Flag for file warning */
     654:     quiet  = 0,                         /* Be quiet during file transfer */
     655:     local  = 0,                         /* Flag for external tty vs stdout */
     656:     server = 0,                         /* Flag for being a server */
     657:     cflg   = 0,             /* Connect before transaction */
     658:     cnflg  = 0,                         /* Connect after transaction */
     659:     cxseen = 0,                         /* Flag for cancelling a file */
     660:     czseen = 0,                         /* Flag for cancelling file group */
     661:     discard = 0,            /* Flag for file to be discarded */
     662:     keep = 0,                           /* Keep incomplete files */
     663:     unkcs = 1,              /* Keep file w/unknown character set */
     664:     nakstate = 0,           /* In a state where we can send NAKs */
     665:     dblchar = -1;           /* Character to double when sending */
     666:
     667: /* Variables passed from command parser to protocol module */
     668:
     669: #ifndef NOSPL
     670: _PROTOTYP( int parser, (int) );         /* The parser itself */
     671: char *clcmds = NULL;            /* Pointer to command-line commands */
     672: #endif /* NOSPL */
     673:
     674: CHAR sstate  = (CHAR) 0;                /* Starting state for automaton */
     675: CHAR zstate  = (CHAR) 0;        /* For remembering sstate */
     676: char *cmarg  = "";                      /* Pointer to command data */
     677: char *cmarg2 = "";                      /* Pointer to 2nd command data */
     678: char **cmlist;                          /* Pointer to file list in argv */
     679:
     680: /* Flags for the ENABLE and DISABLE commands */
     681:
     682: int en_cwd = 1;             /* CD/CWD */
     683: int en_del = 1;             /* DELETE */
     684: int en_dir = 1;             /* DIRECTORY */
     685: int en_fin = 1;             /* FINISH/BYE */
     686: int en_get = 1;             /* GET */
     687: #ifndef NOPUSH
     688: int en_hos = 1;             /* HOST enabled */
     689: #else
     690: int en_hos = 0;             /* HOST disabled */
     691: #endif /* NOPUSH */
     692: int en_sen = 1;             /* SEND */
     693: int en_set = 1;             /* SET */
     694: int en_spa = 1;             /* SPACE */
     695: int en_typ = 1;             /* TYPE */
     696: int en_who = 1;             /* WHO */
     697: #ifdef datageneral
     698: /* Data General AOS/VS can't do this */
     699: int en_bye = 0;             /* BYE */
     700: #else
     701: int en_bye = 1;             /* BYE */
     702: #endif /* datageneral */
     703:
     704: /* Miscellaneous */
     705:
     706: char **xargv;                           /* Global copies of argv */
     707: int  xargc;                             /* and argc  */
     708: int xargs;              /* an immutable copy of argc */
     709: char *xarg0;                /* and of argv[0] */
     710:
     711: extern char *dftty;                     /* Default tty name from ck?tio.c */
     712: extern int dfloc;                       /* Default location: remote/local */
     713: extern int dfprty;                      /* Default parity */
     714: extern int dfflow;                      /* Default flow control */
     715:
     716: /*
     717:   Buffered file input and output buffers.  See getpkt() in ckcfns.c
     718:   and zoutdump() in the system-dependent file i/o module (usually ck?fio.c).
     719: */
     720: #ifndef DYNAMIC
     721: /* Now we allocate them dynamically, see getiobs() below. */
     722: char zinbuffer[INBUFSIZE], zoutbuffer[OBUFSIZE];
     723: #endif
     724: char *zinptr, *zoutptr;
     725: int zincnt, zoutcnt;
     726:
     727: _PROTOTYP( int getiobs, (void) );
     728:
     729: /*  M A I N  --  C-Kermit main program  */
     730:
     731: #ifndef NOCCTRAP
     732: #include <setjmp.h>
     733: extern jmp_buf cmjbuf;
     734: #ifdef GEMDOS               /* Special for Atari ST */
     735:     cc_clean();
     736: #endif /* GEMDOS */
     737: #endif /* NOCCTRAP */
     738:
     739: #ifdef aegis
     740: /* On the Apollo, intercept main to insert a cleanup handler */
     741: int
     742: ckcmai(argc,argv) int argc; char **argv;
     743: #else
     744: #ifdef MAC
     745: int main (void)
     746: #else
     747: int
     748: main(argc,argv) int argc; char **argv;
     749: #endif /* MAC */
     750: #endif /* aegis */
     751: {
     752: #ifdef datageneral
     753: short *pfha = 016000000036;             /* Get around LANG_RT problem -- */
     754: *pfha = (short) 0;                      /* No user protection fault handler */
     755: #endif /* datageneral */
     756:
     757: /* Do some initialization */
     758:
     759:     if (sysinit() < 0)          /* System-dependent initialization. */
     760:       fatal("Can't initialize!");
     761:     connoi();               /* Console interrupts off */
     762: #ifndef MAC
     763:     xargc = xargs = argc;       /* Make global copies of argc */
     764:     xargv = argv;                       /* ...and argv. */
     765:     xarg0 = argv[0];
     766: #endif /* MAC */
     767:     sstate = 0;                         /* No default start state. */
     768: #ifdef DYNAMIC
     769:     if (getiobs() < 0)
     770:       fatal("Can't allocate i/o buffers!");
     771: #endif /* DYNAMIC */
     772:     ckhost(myhost,MYHOSTL);     /* Name of local host */
     773:     strcpy(ttname,dftty);               /* Set up default tty name. */
     774:     local = dfloc;                      /* And whether it's local or remote. */
     775:     parity = dfprty;                    /* Set initial parity, */
     776:     flow = dfflow;                      /* and flow control. */
     777:     if (local) if (ttopen(ttname,&local,0,0) < 0) { /* If default tty line */
     778:     printf("%s: Can't open device\n",ttname);   /* is external, open it */
     779:     local = 0;                      /* now... */
     780:     strcpy(ttname,CTTNAM);
     781:     }
     782:     speed = ttgspd();           /* Get transmission speed. */
     783:
     784: #ifdef SUNX25
     785:     initpad();                          /* Initialize X.25 PAD */
     786: #endif /* SUNX25 */
     787:
     788:     if (inibufs(SBSIZ,RBSIZ) < 0)   /* Allocate packet buffers */
     789:       fatal("Can't allocate packet buffers!");
     790:
     791: #ifndef NOICP
     792: #ifdef MAC
     793:     cmdini();
     794: #else /* Not MAC */
     795: /* Attempt to take ini file before doing command line */
     796:
     797:     *cmdfil = '\0';         /* Assume no command file. */
     798:     prescan();              /* But first check for -y option */
     799:
     800: #ifndef NOCCTRAP
     801:     setint();               /* Set up interrupts */
     802:     if (setjmp(cmjbuf)) {       /* Control-C trap returns to here. */
     803: #ifdef GEMDOS
     804:     cc_clean();         /* Atari: Clean up after ^C-trap. */
     805: #endif /* GEMDOS */
     806:     doexit(GOOD_EXIT,-1);       /* Exit with good status. */
     807:     } else {
     808: #endif /* NOCCTRAP */
     809:     cmdini();           /* Sets tlevel */
     810:     while (tlevel > -1) {       /* Execute init file. */
     811:         sstate = parser(0);     /* Loop getting commands. */
     812:         if (sstate) proto();    /* Enter protocol if requested. */
     813:     }
     814: #ifndef NOCCTRAP
     815:     }
     816: #endif /* NOCCTRAP */
     817:
     818: /*
     819:   In UNIX there are two ways to invoke Kermit with a cmdfile:
     820:   (1) From the kermit command line, e.g. "kermit cmdfile [ options... ]"
     821:       argv[0] = "kermit"
     822:       argv[1] = "cmdfile"
     823:   (2) By executing a cmdfile whose first line is like "#!/path/kermit"
     824:       argv[0] = "/path/kermit" (sometimes just "kermit")
     825:       argv[1] = "/path/cmdfile"
     826: */
     827:     if (argc > 1) {
     828:     if (*argv[1] != '-') {
     829:         if (zchki(argv[1]) > 0) {
     830:         strcpy(cmdfil,argv[1]);
     831:         }
     832:     }
     833:     }
     834:     if (*cmdfil) {          /* If we got one, */
     835:     dotake(cmdfil);         /* execute it */
     836:     while (tlevel > -1) {       /* until it runs out. */
     837:         sstate = parser(1);     /* Loop getting commands. */
     838:         if (sstate) proto();    /* Enter protocol if requested. */
     839:     }
     840:     }
     841:     *cmdfil = '\0';         /* Done, nullify the file name */
     842: #endif /* MAC */
     843: #endif /* NOICP */
     844:
     845: #ifndef NOCMDL
     846: /* Look for a UNIX-style command line... */
     847:
     848:     if (argc > 1) {                     /* Command line arguments? */
     849:         sstate = cmdlin();              /* Yes, parse. */
     850:     zstate = sstate;        /* Remember sstate around protocol */
     851:     if (cflg) conect();     /* Connect first if requested */
     852:         if (sstate) {
     853:         if (displa) concb((char)escape); /* (for console "interrupts") */
     854: #ifndef NOCCTRAP
     855:         setint();           /* Set up interrupts */
     856:         if (setjmp(cmjbuf)) {   /* Control-C trap returns to here. */
     857: #ifdef GEMDOS
     858:         cc_clean();
     859: #endif /* GEMDOS */
     860:         if (cnflg) conect();    /* connect again if requested, */
     861:         } else {
     862: #endif /* NOCCTRAP */
     863:         proto();        /* Take any requested action, then */
     864:         if (!quiet)     /* put cursor back at left margin, */
     865:           conoll("");
     866:         if (cnflg) conect();    /* connect if requested, */
     867: #ifndef NOCCTRAP
     868:         }
     869: #endif /* NOCCTRAP */
     870:     }
     871: /*
     872:   If interactive commands were given on the command line (using the
     873:   -C "command, command, ..." option), assign them to a macro called
     874:   "cl_commands", then execute the macro and leave it defined for
     875:   subsequent re-execution if desired.
     876: */
     877: #ifndef NOSPL
     878:     if (clcmds) {           /* Check for -C commands */
     879:         int x;
     880:         x = addmac("cl_commands",clcmds); /* Put macro in table */
     881:         if (x > -1) {       /* If successful, */
     882:         dodo(x,NULL);       /* set up for macro execution */
     883:         while (maclvl > -1) {   /* Loop getting macro commands. */
     884:             sstate = parser(1);
     885:             if (sstate) proto(); /* Enter protocol if requested. */
     886:         }
     887:         }
     888:     }
     889: #endif /* NOSPL */
     890: #ifndef NOICP
     891: /*
     892:   If a command-line action argument was given and -S ("stay") was not given,
     893:   exit now.
     894: */
     895:     if ((cflg || cnflg || zstate) && !stayflg)
     896: #endif /* NOICP */
     897:       doexit(GOOD_EXIT,xitsta); /* exit with good status */
     898:     }
     899: #endif /* NOCMDL */
     900:
     901: #ifdef NOICP                /* No interactive command parser */
     902:     else {
     903: #ifndef NOCMDL
     904:     usage();            /* Command-line-only version */
     905:     doexit(BAD_EXIT,-1);
     906: #else                   /* Neither one! */
     907:     doexit(BAD_EXIT,-1);
     908: #endif /* NOCMDL */
     909:     }
     910: #else /* not NOICP */
     911: /*
     912:   If no action requested on command line, or if -S ("stay") was included,
     913:   enter the interactive command parser.
     914: */
     915:     herald();               /* Display program herald. */
     916:
     917: #ifndef NOCCTRAP            /* If not no Control-C trap */
     918: ccagain:
     919:     if (setjmp(cmjbuf)) {       /* Control-C trap returns to here. */
     920: #ifdef GEMDOS
     921:     cc_clean();
     922: #endif /* GEMDOS */
     923:     fixcmd();           /* Pop command stacks, etc. */
     924:     debug(F100,"ckcmai got interrupt","",0);
     925:     goto ccagain;           /* set up trap again. */
     926:     } else {
     927:     debug(F100,"ckcmai setting interrupt trap","",0);
     928:     setint();           /* Set up command interrupt traps */
     929:     }
     930: #else /* NOCCTRAP */
     931:     setint();               /* Set up command interrupt traps */
     932: #endif /* NOCCTRAP */
     933:
     934: #ifdef MAC
     935:     while (1) {
     936:     extern char *lfiles;        /* fake pointer cast */
     937:
     938:     if (connected) {
     939:         debug(F100, "main: calling macparser", "", 0);
     940:         sstate = newparser(1, 1, 0L);
     941:
     942:         /* ignore null command state */
     943:         if (sstate == 'n')
     944:         sstate = '\0';
     945:
     946:         if (sstate)
     947:         proto();
     948:     }
     949:     else {
     950:         /*
     951: 	     * process take files the finder gave us.
     952: 	     */
     953:         if ((tlevel == -1) && lfiles)
     954:         startlfile();
     955:
     956:         debug(F100, "main: calling parser", "", 0);
     957:         sstate = parser(0);
     958:         if (sstate == 'c')      /* if MAC connect */
     959:         sstate = 0;
     960:         if (sstate)
     961:         proto();
     962:     }
     963:     }
     964: #else /* Not MAC */
     965:
     966: /*
     967:   Running from an application file, or a command filename was
     968:   specified on the command line.
     969: */
     970:     if (*cmdfil) dotake(cmdfil);    /* Command file spec'd on cmd line */
     971:     while(1) {              /* Loop getting commands. */
     972:     sstate = parser(0);
     973:         if (sstate) proto();            /* Enter protocol if requested. */
     974:     }
     975: #endif /* MAC */
     976: #endif /* NOICP */
     977: }
     978:
     979: #ifdef DYNAMIC
     980: /* Allocate file i/o buffers */
     981:
     982: char *zinbuffer, *zoutbuffer;
     983:
     984: int
     985: getiobs() {
     986:     zinbuffer = (char *)malloc(INBUFSIZE);
     987:     if (!zinbuffer) return(-1);
     988:     zoutbuffer = (char *)malloc(OBUFSIZE);
     989:     if (!zoutbuffer) return(-1);
     990:     debug(F100,"getiobs ok","",0);
     991:     return(0);
     992: }
     993: #endif /* DYNAMIC */

#### Defined functions

ckcmai defined in line 741; used 1 times

- in /usr/src/new/kermit5.188/ckutio.c line 836

getiobs defined in line 984; used 2 times

- in line 727, 769

main defined in line 745; never used

#### Defined variables

atenci defined in line 470; used 5 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 917
- in /usr/src/new/kermit5.188/ckcfns.c line 1985
- in /usr/src/new/kermit5.188/ckuus5.c line 2885
- in /usr/src/new/kermit5.188/ckuus7.c line 1777, 1827

autopar defined in line 567; used 3 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1283
- in /usr/src/new/kermit5.188/ckcfns.c line 848
- in /usr/src/new/kermit5.188/ckuus4.c line 1476

bgset defined in line 613; used 7 times

- in /usr/src/new/kermit5.188/ckuus3.c line 710
- in /usr/src/new/kermit5.188/ckuus4.c line 300
- in /usr/src/new/kermit5.188/ckuus5.c line 1122(2)
- in /usr/src/new/kermit5.188/ckuusx.c line 1285-1288(2)
- in /usr/src/new/kermit5.188/ckuusy.c line 432

capas defined in line 454; used 2 times

- in /usr/src/new/kermit5.188/ckuusx.c line 224-225(2)

carrier defined in line 605; used 10 times

- in /usr/src/new/kermit5.188/ckudia.c line 2162
- in /usr/src/new/kermit5.188/ckuus3.c line 777
- in /usr/src/new/kermit5.188/ckuus4.c line 1073-1078(4)
- in /usr/src/new/kermit5.188/ckuus5.c line 2726-2731(4)

cdtimo defined in line 606; used 7 times

- in /usr/src/new/kermit5.188/ckuus3.c line 778
- in /usr/src/new/kermit5.188/ckuus4.c line 426, 1079(2)
- in /usr/src/new/kermit5.188/ckuus5.c line 2732(2)
- in /usr/src/new/kermit5.188/ckuus7.c line 2066

clcmds defined in line 671; used 3 times

- in line 878-880(2)
- in /usr/src/new/kermit5.188/ckuusy.c line 133

clfils defined in line 552; used 2 times

- in /usr/src/new/kermit5.188/ckcfns.c line 1783
- in /usr/src/new/kermit5.188/ckuusy.c line 219

closgr defined in line 593; used 5 times

- in /usr/src/new/kermit5.188/ckuus4.c line 1002-1003(2)
- in /usr/src/new/kermit5.188/ckuus7.c line 1564, 1574
- in /usr/src/new/kermit5.188/ckuusy.c line 331

cmarg defined in line 676; used 47 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1231
- in /usr/src/new/kermit5.188/ckcfns.c line 963-970(4), 980, 992
- in /usr/src/new/kermit5.188/ckuus6.c line 1134, 1143, 1171-1172(2), 1186, 1220, 1254-1255(2), 1261-1274(8), 1297-1298(2)
- in /usr/src/new/kermit5.188/ckuus7.c line 1386-1388(2), 1401-1403(2), 1451, 1471
- in /usr/src/new/kermit5.188/ckuusr.c line 1355, 1362-1366(5), 1564, 1583-1584(2), 1605-1606(2)
- in /usr/src/new/kermit5.188/ckuusx.c line 296-297(2)
- in /usr/src/new/kermit5.188/ckuusy.c line 55, 206, 229

cmarg2 defined in line 677; used 33 times

- in /usr/src/new/kermit5.188/ckcfns.c line 964-968(5), 1106-1112(5), 1126-1130(2), 1302-1304(3)
- in /usr/src/new/kermit5.188/ckuus6.c line 1131, 1180, 1189, 1227, 1241, 1280
- in /usr/src/new/kermit5.188/ckuus7.c line 1452
- in /usr/src/new/kermit5.188/ckuusr.c line 1533, 1539-1540(2), 1564, 1577, 1585(2), 1655
- in /usr/src/new/kermit5.188/ckuusy.c line 56, 94, 255

cmdfil defined in line 547; used 7 times

- in line 797, 830-835(3), 841, 970(2)

cmlist defined in line 678; used 11 times

- in /usr/src/new/kermit5.188/ckcfns.c line 973, 983-992(4), 1760, 1781
- in /usr/src/new/kermit5.188/ckuusr.c line 1654
- in /usr/src/new/kermit5.188/ckuusx.c line 370
- in /usr/src/new/kermit5.188/ckuusy.c line 170, 206

connected defined in line 560; used 1 times

- in line 938

cudata defined in line 594; used 4 times

- in /usr/src/new/kermit5.188/ckuus4.c line 1007
- in /usr/src/new/kermit5.188/ckuus7.c line 1544, 1557
- in /usr/src/new/kermit5.188/ckuusy.c line 321

data defined in line 529; used 73 times

- in line 539
- in /usr/src/new/kermit5.188/ckcfn2.c line 732-738(4)
- in /usr/src/new/kermit5.188/ckcfn3.c line 341, 648-654(4), 663-673(7), 679-681(3), 688-692(4), 700-722(15), 728-739(7), 749-750(2)
- in /usr/src/new/kermit5.188/ckcfns.c line 180-181(2), 187, 217-218(2), 230-231(2), 240-257(7), 613-618(2), 793, 799-802(3), 808-809(2), 817-819(2), 1430

deblog defined in line 636; used 46 times

- in /usr/src/new/kermit5.188/ckcdeb.h line 507
- in /usr/src/new/kermit5.188/ckcfn3.c line 302-303(2), 533-541(3), 557, 570, 576, 586-593(3), 609, 615, 621, 1051, 1108
- in /usr/src/new/kermit5.188/ckcfns.c line 1559, 1729
- in /usr/src/new/kermit5.188/ckudia.c line 2134
- in /usr/src/new/kermit5.188/ckuus3.c line 863, 869-870(2)
- in /usr/src/new/kermit5.188/ckuus4.c line 869, 972-974(3), 983, 1270, 1809, 1892, 2645
- in /usr/src/new/kermit5.188/ckuus5.c line 1524-1529(2)
- in /usr/src/new/kermit5.188/ckuusx.c line 1161-1164(2), 1323, 1347-1351(2), 1357, 1363-1366(2), 1372, 1378, 1384-1388(2)

en_bye defined in line 701; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2495
- in /usr/src/new/kermit5.188/ckuus6.c line 646, 658

en_cwd defined in line 682; used 5 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 1274, 1325
- in /usr/src/new/kermit5.188/ckuus5.c line 2487
- in /usr/src/new/kermit5.188/ckuus6.c line 643, 662

en_del defined in line 683; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2488
- in /usr/src/new/kermit5.188/ckuus6.c line 643, 665

en_dir defined in line 684; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2489
- in /usr/src/new/kermit5.188/ckuus6.c line 643, 668

en_fin defined in line 685; used 5 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1293-1295(2)
- in /usr/src/new/kermit5.188/ckuus5.c line 2496
- in /usr/src/new/kermit5.188/ckuus6.c line 643, 671

en_get defined in line 686; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2485
- in /usr/src/new/kermit5.188/ckuus6.c line 643, 674

en_hos defined in line 690; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2490
- in /usr/src/new/kermit5.188/ckuus6.c line 650, 678

en_sen defined in line 692; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2486
- in /usr/src/new/kermit5.188/ckuus6.c line 644, 682

en_set defined in line 693; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2491
- in /usr/src/new/kermit5.188/ckuus6.c line 644, 685

en_spa defined in line 694; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2492
- in /usr/src/new/kermit5.188/ckuus6.c line 644, 688

en_typ defined in line 695; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2493
- in /usr/src/new/kermit5.188/ckuus6.c line 644, 691

en_who defined in line 696; used 3 times

- in /usr/src/new/kermit5.188/ckuus5.c line 2494
- in /usr/src/new/kermit5.188/ckuus6.c line 644, 694

fblksiz defined in line 498; used 4 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 718-720(2), 1185
- in /usr/src/new/kermit5.188/ckcfns.c line 2018

fcctrl defined in line 502; used 2 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 1194
- in /usr/src/new/kermit5.188/ckcfns.c line 2030

ffc defined in line 627; used 38 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1053, 1561-1563(2), 1573
- in /usr/src/new/kermit5.188/ckcfn3.c line 1152, 1348, 1417(2), 1425(2)
- in /usr/src/new/kermit5.188/ckcfns.c line 412, 427, 433, 533, 552, 576, 632, 648, 1198, 1355
- in /usr/src/new/kermit5.188/ckuus4.c line 1465, 2398
- in /usr/src/new/kermit5.188/ckuusx.c line 721-723(2), 901, 911-914(6), 930-933(3), 2046, 2104, 2114-2115(2)

filcnt defined in line 622; used 11 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1530-1535(3)
- in /usr/src/new/kermit5.188/ckcfns.c line 906, 954, 1200-1201(2), 1353
- in /usr/src/new/kermit5.188/ckuus4.c line 1464, 1474
- in /usr/src/new/kermit5.188/ckuusx.c line 719

filnam defined in line 546; used 37 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 894, 1033-1038(2), 1382, 1408-1412(3)
- in /usr/src/new/kermit5.188/ckcfns.c line 864, 1003, 1010, 1030, 1254-1265(6), 1271, 1307-1314(4), 1330-1334(2), 1760, 1781-1787(4), 1799, 1807-1808(2), 1819-1824(4), 1834

flci defined in line 623; used 3 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1307, 1564
- in /usr/src/new/kermit5.188/ckcfns.c line 921

flco defined in line 624; used 3 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 839, 1565
- in /usr/src/new/kermit5.188/ckcfns.c line 921

fncact defined in line 611; used 17 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 893, 1196
- in /usr/src/new/kermit5.188/ckcfns.c line 1151-1152(2), 1183, 1224, 1233(2), 2012
- in /usr/src/new/kermit5.188/ckuus4.c line 1305
- in /usr/src/new/kermit5.188/ckuus7.c line 846-853(4), 860-862(2)
- in /usr/src/new/kermit5.188/ckuusy.c line 396

forg defined in line 501; used 2 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 1193
- in /usr/src/new/kermit5.188/ckcfns.c line 2027

frecfm defined in line 500; used 2 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 1192
- in /usr/src/new/kermit5.188/ckcfns.c line 2024

frecl defined in line 499; used 4 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 1191
- in /usr/src/new/kermit5.188/ckcfns.c line 2021
- in /usr/src/new/kermit5.188/ckuus4.c line 1263
- in /usr/src/new/kermit5.188/ckuus7.c line 756

fsecs defined in line 632; used 6 times

- in /usr/src/new/kermit5.188/ckcfns.c line 921, 1199, 1356-1357(2)
- in /usr/src/new/kermit5.188/ckuusx.c line 911, 2057

fsize defined in line 550; used 22 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 1045-1052(4), 1219(2)
- in /usr/src/new/kermit5.188/ckcfns.c line 924-928(3), 1332, 1757, 1829
- in /usr/src/new/kermit5.188/ckuusx.c line 720-723(4), 835-836(2), 900-901(3), 911

hlptxt defined in line 367; used 1 times

- in /usr/src/new/kermit5.188/ckcfns.c line 1849

iattr defined in line 494; never used
lf_opts defined in line 508; used 13 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 1199
- in /usr/src/new/kermit5.188/ckuus5.c line 2255-2268(10)
- in /usr/src/new/kermit5.188/ckuus7.c line 873-875(2)

myhost defined in line 581; used 11 times

- in line 772
- in /usr/src/new/kermit5.188/ckucon.c line 608-609(2), 905(2), 1133(2)
- in /usr/src/new/kermit5.188/ckuus4.c line 2265-2266(2)
- in /usr/src/new/kermit5.188/ckuusx.c line 1879(2)

nettype defined in line 587; used 41 times

- in /usr/src/new/kermit5.188/ckucon.c line 313, 453-455(2), 467, 486, 524, 642, 760, 880, 939, 1187, 1219, 1227, 1239
- in /usr/src/new/kermit5.188/ckuus3.c line 667-671(4)
- in /usr/src/new/kermit5.188/ckuus4.c line 996, 1041-1048(4), 1159-1165(4), 1173-1182(6)
- in /usr/src/new/kermit5.188/ckuus7.c line 1917-1923(4), 1975-1976(2), 2109
- in /usr/src/new/kermit5.188/ckuusy.c line 296

network defined in line 582; used 60 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 679, 808, 1549
- in /usr/src/new/kermit5.188/ckucon.c line 448-453(2), 467, 483, 524, 537, 642, 760, 823, 829, 840, 877, 939, 1029, 1179, 1187, 1201, 1219, 1227, 1236-1239(2), 1265
- in /usr/src/new/kermit5.188/ckudia.c line 1041, 1222, 1232, 1322, 2288, 2843, 2890, 2915, 2931
- in /usr/src/new/kermit5.188/ckuscr.c line 202, 320
- in /usr/src/new/kermit5.188/ckuus3.c line 1158
- in /usr/src/new/kermit5.188/ckuus4.c line 545, 1019, 1031, 1072, 1169, 1501, 1599
- in /usr/src/new/kermit5.188/ckuus5.c line 1066, 1101, 2625, 2737
- in /usr/src/new/kermit5.188/ckuus7.c line 1981-1985(2), 2035, 2096-2102(3)
- in /usr/src/new/kermit5.188/ckuusr.c line 894
- in /usr/src/new/kermit5.188/ckuusx.c line 733, 1882, 1889
- in /usr/src/new/kermit5.188/ckuusy.c line 277, 308

nfils defined in line 549; used 37 times

- in /usr/src/new/kermit5.188/ckcfn3.c line 1367
- in /usr/src/new/kermit5.188/ckcfns.c line 955, 962-965(2), 974-979(4), 988-992(2), 1009, 1759-1761(2), 1779-1782(3), 1798, 1844, 1871, 1933
- in /usr/src/new/kermit5.188/ckuus7.c line 1470
- in /usr/src/new/kermit5.188/ckuusr.c line 1571, 1630, 1637, 1644-1648(4), 1656
- in /usr/src/new/kermit5.188/ckuusy.c line 169, 183-187(2), 194-196(2), 205-211(3)

padch defined in line 487; used 7 times

- in /usr/src/new/kermit5.188/ckcfns.c line 1596-1603(4)
- in /usr/src/new/kermit5.188/ckuus4.c line 1377
- in /usr/src/new/kermit5.188/ckuus7.c line 1171
- in /usr/src/new/kermit5.188/ckuusx.c line 193

parity defined in line 566; used 34 times

- in line 775
- in /usr/src/new/kermit5.188/ckcfn2.c line 579-580(2), 815, 861, 877, 1283-1284(2)
- in /usr/src/new/kermit5.188/ckcfns.c line 1533, 1625
- in /usr/src/new/kermit5.188/ckucon.c line 1253
- in /usr/src/new/kermit5.188/ckudia.c line 1266, 1274, 1481, 1682-1686(2), 1871, 2692, 2909
- in /usr/src/new/kermit5.188/ckuus3.c line 1018
- in /usr/src/new/kermit5.188/ckuus4.c line 438, 526, 558, 583, 599, 610, 1055-1059(2), 1475
- in /usr/src/new/kermit5.188/ckuus6.c line 541
- in /usr/src/new/kermit5.188/ckuusx.c line 1898, 2000
- in /usr/src/new/kermit5.188/ckuusy.c line 418-419(2)

pktnum defined in line 513; used 36 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 417, 518, 889-891(2), 908-909(2), 1138, 1173, 1193, 1202, 1225, 1232, 1252, 1300
- in /usr/src/new/kermit5.188/ckcfn3.c line 745-749(2)
- in /usr/src/new/kermit5.188/ckcfns.c line 862, 891, 1042-1051(4), 1326-1330(2), 1350, 1395, 1404, 1425-1430(2), 1459-1462(2), 1478-1479(2), 1495-1497(2), 1506

recpkt defined in line 528; used 64 times

- in line 537
- in /usr/src/new/kermit5.188/ckcfn2.c line 277, 285, 299, 320, 331, 354, 386, 419, 427, 443, 458, 515, 524, 545, 1150, 1164, 1182, 1256-1259(4), 1271-1279(4), 1286, 1311, 1324-1334(7), 1345, 1359, 1374, 1381, 1390-1392(2), 1400-1403(3), 1411-1422(7), 1432-1443(8), 1452-1459(5)

revcall defined in line 592; used 3 times

- in /usr/src/new/kermit5.188/ckuus4.c line 1000
- in /usr/src/new/kermit5.188/ckuus7.c line 1581
- in /usr/src/new/kermit5.188/ckuusy.c line 336

rptn defined in line 629; used 7 times

- in /usr/src/new/kermit5.188/ckcfns.c line 219, 232, 356, 695-700(2), 920
- in /usr/src/new/kermit5.188/ckuus4.c line 1484

sndpkt defined in line 527; never used
speed defined in line 564; used 67 times

- in line 782
- in /usr/src/new/kermit5.188/ckcfn2.c line 678-680(3), 1548-1550(5)
- in /usr/src/new/kermit5.188/ckucon.c line 448, 492(2), 517, 531, 1243-1244(2)
- in /usr/src/new/kermit5.188/ckudia.c line 1123, 1129, 1232, 1266, 1274, 1328-1331(3), 1346, 1471, 1481, 1912, 2298, 2304, 2692, 2909
- in /usr/src/new/kermit5.188/ckuscr.c line 302(2), 324, 336
- in /usr/src/new/kermit5.188/ckuus3.c line 1180, 1188-1191(2)
- in /usr/src/new/kermit5.188/ckuus4.c line 430, 1026, 1490-1495(5), 1501-1502(3), 1549
- in /usr/src/new/kermit5.188/ckuus5.c line 1058
- in /usr/src/new/kermit5.188/ckuus6.c line 534
- in /usr/src/new/kermit5.188/ckuus7.c line 1129-1134(3), 2095, 2105
- in /usr/src/new/kermit5.188/ckuusx.c line 734, 1892-1895(5)
- in /usr/src/new/kermit5.188/ckuusy.c line 287-292(3), 348

spsiz defined in line 408; used 46 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1065, 1071-1078(10)
- in /usr/src/new/kermit5.188/ckcfn3.c line 743-747(3)
- in /usr/src/new/kermit5.188/ckcfns.c line 171-173(3), 183-185(2), 872, 1417-1422(4), 1580-1584(3), 1676-1684(5), 1720-1723(4)
- in /usr/src/new/kermit5.188/ckuus3.c line 742-743(3)
- in /usr/src/new/kermit5.188/ckuus4.c line 1388
- in /usr/src/new/kermit5.188/ckuus7.c line 1102-1104(3), 1114
- in /usr/src/new/kermit5.188/ckuusx.c line 190, 736

srvcmd defined in line 532; used 17 times

- in line 534
- in /usr/src/new/kermit5.188/ckcfn3.c line 152-154(3)
- in /usr/src/new/kermit5.188/ckcfns.c line 1096-1110(9), 1122-1129(4)

srvtxt defined in line 403; never used
sstate defined in line 674; used 104 times

- in line 767, 811-812(2), 837-838(2), 849-852(3), 884-885(2), 940-946(4), 957-960(4), 972-973(2)
- in /usr/src/new/kermit5.188/ckcfn2.c line 231, 237-239(3)
- in /usr/src/new/kermit5.188/ckuus3.c line 650-651(2), 760-761(2), 1067-1068(2), 1088-1089(2), 1203-1204(2), 1258-1259(2)
- in /usr/src/new/kermit5.188/ckuus5.c line 753-758(2), 787, 825-827(3), 855, 944-946(2), 1021, 1032
- in /usr/src/new/kermit5.188/ckuus6.c line 1300
- in /usr/src/new/kermit5.188/ckuus7.c line 680-681(2), 753-754(2), 768-769(2), 784-785(2), 800-801(2), 830-831(2), 849-850(2), 1073-1074(2), 1184-1185(2), 1354, 1366, 1375-1380(2), 1395, 1409, 1432, 1442, 1473, 1482, 1494, 1502, 1799-1800(2), 1818-1831(6), 1837-1862(10)
- in /usr/src/new/kermit5.188/ckuusr.c line 1002, 1337, 1344, 1371, 1541, 1614, 1657, 1672

startconnected defined in line 561; never used
stayflg defined in line 553; used 4 times

- in line 895
- in /usr/src/new/kermit5.188/ckuus4.c line 303
- in /usr/src/new/kermit5.188/ckuusy.c line 139, 244

suspend defined in line 617; used 4 times

- in /usr/src/new/kermit5.188/ckuus3.c line 1104
- in /usr/src/new/kermit5.188/ckuus5.c line 2550
- in /usr/src/new/kermit5.188/ckuusx.c line 619, 635

tfc defined in line 628; used 11 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1536, 1546, 1561, 1573
- in /usr/src/new/kermit5.188/ckcfn3.c line 1348
- in /usr/src/new/kermit5.188/ckcfns.c line 922
- in /usr/src/new/kermit5.188/ckuus4.c line 1466, 1499, 2402
- in /usr/src/new/kermit5.188/ckuusx.c line 917(2)

tlci defined in line 625; used 5 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1306, 1537
- in /usr/src/new/kermit5.188/ckcfns.c line 922
- in /usr/src/new/kermit5.188/ckuus4.c line 1467, 1506

tlco defined in line 626; used 5 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 840, 1538
- in /usr/src/new/kermit5.188/ckcfns.c line 922
- in /usr/src/new/kermit5.188/ckuus4.c line 1468, 1508

tlevel defined in line 600; used 74 times

- in line 810, 836, 953
- in /usr/src/new/kermit5.188/ckuus3.c line 1185
- in /usr/src/new/kermit5.188/ckuus4.c line 2452(2)
- in /usr/src/new/kermit5.188/ckuus5.c line 380, 390, 455-461(4), 497-499(3), 507-520(6), 625, 643, 728, 739, 768-773(2), 793-797(2), 804, 816-817(2), 834-837(3), 863, 943, 1450-1460(7), 1487-1499(7)
- in /usr/src/new/kermit5.188/ckuus6.c line 757, 1145, 1382, 1454-1456(3), 1741, 1849-1853(2), 1865-1872(5)
- in /usr/src/new/kermit5.188/ckuus7.c line 1084, 1108, 1121, 1311-1313(2)
- in /usr/src/new/kermit5.188/ckuusr.c line 1807, 1905, 2011
- in /usr/src/new/kermit5.188/ckuusx.c line 1296

tsecs defined in line 631; used 11 times

- in /usr/src/new/kermit5.188/ckcfn2.c line 1543-1546(3)
- in /usr/src/new/kermit5.188/ckuus4.c line 1489, 1497-1499(2), 1506-1508(2)
- in /usr/src/new/kermit5.188/ckuusx.c line 2161-2167(3)

ttname defined in line 557; used 50 times

- in line 773-780(4)
- in /usr/src/new/kermit5.188/ckucon.c line 464-470(3), 484, 491, 522-527(2), 1236
- in /usr/src/new/kermit5.188/ckudia.c line 1254-1256(2), 1268-1270(2), 1276, 1324-1327(2), 1346, 1360-1362(2), 1471
- in /usr/src/new/kermit5.188/ckuscr.c line 303-304(2), 321-324(2)
- in /usr/src/new/kermit5.188/ckuus3.c line 1163, 1189-1191(2)
- in /usr/src/new/kermit5.188/ckuus4.c line 426-427(2), 1020-1022(2), 1170, 2382
- in /usr/src/new/kermit5.188/ckuus5.c line 2740, 2788
- in /usr/src/new/kermit5.188/ckuus7.c line 2093, 2104-2106(2)
- in /usr/src/new/kermit5.188/ckuusr.c line 895, 1252
- in /usr/src/new/kermit5.188/ckuusx.c line 1218, 1883-1885(2)
- in /usr/src/new/kermit5.188/ckuusy.c line 282-285(3), 306

udata defined in line 595; used 4 times

- in /usr/src/new/kermit5.188/ckuus4.c line 1007
- in /usr/src/new/kermit5.188/ckuus7.c line 1556
- in /usr/src/new/kermit5.188/ckuusy.c line 320-321(2)

vernum defined in line 9; used 6 times

- in /usr/src/new/kermit5.188/ckuus4.c line 2346
- in /usr/src/new/kermit5.188/ckuus5.c line 1590
- in /usr/src/new/kermit5.188/ckuus6.c line 863, 1674, 1695
- in /usr/src/new/kermit5.188/ckuusr.c line 1955

versio defined in line 7; used 12 times

- in /usr/src/new/kermit5.188/ckuus2.c line 850, 1044
- in /usr/src/new/kermit5.188/ckuus4.c line 926, 976, 1451
- in /usr/src/new/kermit5.188/ckuus5.c line 1126-1128(2), 1590
- in /usr/src/new/kermit5.188/ckuus6.c line 863
- in /usr/src/new/kermit5.188/ckuusr.c line 1955
- in /usr/src/new/kermit5.188/ckuusx.c line 1879-1880(2)

verwho defined in line 20; used 6 times

- in /usr/src/new/kermit5.188/ckuus5.c line 1591(2)
- in /usr/src/new/kermit5.188/ckuus6.c line 864(2)
- in /usr/src/new/kermit5.188/ckuusr.c line 1956(2)

wildxpand defined in line 551; used 5 times

- in /usr/src/new/kermit5.188/ckufio.c line 1494, 1503, 1520, 2971
- in /usr/src/new/kermit5.188/ckuus3.c line 1239

xarg0 defined in line 709; used 3 times

- in line 765
- in /usr/src/new/kermit5.188/ckuus2.c line 129-133(2)

xargc defined in line 707; used 33 times

- in line 763
- in /usr/src/new/kermit5.188/ckuus4.c line 279
- in /usr/src/new/kermit5.188/ckuusy.c line 62, 68, 74-76(2), 130-131(2), 171, 186, 226-227(2), 252-253(2), 265-266(2), 279-280(2), 317-318(2), 327-328(2), 342-343(2), 356-357(2), 368-369(2), 380-381(2), 411-412(2), 448

xargs defined in line 708; used 4 times

- in line 763
- in /usr/src/new/kermit5.188/ckuus4.c line 2218
- in /usr/src/new/kermit5.188/ckuus5.c line 410-414(2)

xargv defined in line 706; used 57 times

- in line 764
- in /usr/src/new/kermit5.188/ckuus4.c line 280
- in /usr/src/new/kermit5.188/ckuus5.c line 416
- in /usr/src/new/kermit5.188/ckuusy.c line 63-69(4), 75-82(6), 124, 130-133(3), 170-180(7), 186, 211, 226-229(3), 252-255(3), 265, 279-282(3), 317-320(3), 327-330(3), 342-345(3), 356-359(3), 368-371(3), 380-383(3), 411-414(3)

xitsta defined in line 607; used 8 times

- in line 897
- in /usr/src/new/kermit5.188/ckcfn2.c line 1210
- in /usr/src/new/kermit5.188/ckucon.c line 888
- in /usr/src/new/kermit5.188/ckuus4.c line 2458
- in /usr/src/new/kermit5.188/ckuus5.c line 954
- in /usr/src/new/kermit5.188/ckuusr.c line 946, 1313
- in /usr/src/new/kermit5.188/ckuusx.c line 260

zinbuffer defined in line 982; used 5 times

- in line 986-987(2)
- in /usr/src/new/kermit5.188/ckufio.c line 808, 829, 1433

zincnt defined in line 725; used 7 times

- in /usr/src/new/kermit5.188/ckcfns.c line 500
- in /usr/src/new/kermit5.188/ckufio.c line 588, 808-813(3), 830, 1432

zinptr defined in line 724; used 4 times

- in /usr/src/new/kermit5.188/ckcfns.c line 504
- in /usr/src/new/kermit5.188/ckufio.c line 829-831(2), 1433

zoutbuffer defined in line 982; used 7 times

- in line 988-989(2)
- in /usr/src/new/kermit5.188/ckufio.c line 654, 683, 900, 915, 1427

zoutcnt defined in line 725; used 14 times

- in /usr/src/new/kermit5.188/ckcfns.c line 422
- in /usr/src/new/kermit5.188/ckufio.c line 653, 682, 696, 901-905(4), 915-922(5), 1426

zoutptr defined in line 724; used 4 times

- in /usr/src/new/kermit5.188/ckufio.c line 654, 683, 900, 1427

zstate defined in line 675; used 2 times

- in line 850, 895

#### Defined macros

CKCMAI defined in line 31; never used
MYHOSTL defined in line 580; used 2 times

- in line 581, 772

VERWHO defined in line 18; used 2 times

- in line 16-20(2)

Last modified: 1992-11-24 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 2490 |