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

📄 ckcmai.c

📁 linux终端仿真程序
💻 C
📖 第 1 页 / 共 5 页
字号:
/*  ckcsym.h is used for for defining symbols that normally would be defined  using -D or -d on the cc command line, for use with compilers that don't  support this feature.  Must be before any tests for preprocessor symbols.*/#include "ckcsym.h"char *ck_ver = "C-Kermit 6.0.192";	/* C-Kermit Version */#ifdef UNIXstatic char sccsid[] = "@(#)C-Kermit 6.0.192";#endif /* UNIX */#ifndef MAC#ifdef OS2#ifdef NT/* Version herald */char *versio = "Kermit-95 1.1.8, 21 Nov 96"; /* Version herald */long xvernum = 118L;#else /* NT */char *versio = "Kermit-95 for OS/2 1.1.8 Beta, 23 Nov 96"; /* Version harald */long xvernum = 118L;#endif /* NT */#else /* OS2 */char *versio = "C-Kermit 6.0.192, 6 Sep 96";long xvernum = 0L;#endif /* OS2 */#else/*  For Macintosh, also remember to change the Mac-specific version in ckmkr2.r.*/char *versio = "Mac Kermit 0.993 Pre-Alpha, 6 Sep 96";long xvernum = 993L;#endif /* MAC */long vernum = 600192L;/*  String and numeric version numbers, keep these three in sync!  First digit of vermum = major version, i.e. 5.  Second 2 digits of vernum: 00 = no minor version, 01 = A, 02 = B, etc.  Last three digits are edit number. */#ifndef VERWHO/* Change verwho in following line, or with -DVERWHO=x in makefile CFLAGS. */#define VERWHO 0#endif /* VERWHO */int verwho = VERWHO; /* Who produced this version, 0 = Columbia University *//*  IMPORTANT: If you are working on your own private version of C-Kermit, please  include some special notation, like your site name or your initials, in the  "versio" string, e.g. "6.0.192-XXX", and use a nonzero code for the "verwho"  variable (e.g. in the USA use your zip code).  Unless we stick to this  discipline, divergent copies of C-Kermit will begin to appear that are  intistinguishable from each other, which is a big support issue.  Also, if  you have edited C-Kermit and made copies available to others, please add  appropriate text to the BUG command (ckuus6.c, function dobug()).*/#define CKCMAI/*  C K C M A I  --  C-Kermit Main program  *//*  Author: Frank da Cruz (fdc@columbia.edu),  Columbia University Academic Information Systems, New York City.COPYRIGHT NOTICE:*/char *copyright[] = {#ifdef pdp11"Copyright (C) 1985, 1996, Trustees of Columbia University, NYC.","All rights reserved.",#else#ifdef OS2"Copyright (C) 1985, 1996, Trustees of Columbia University in the City of New","York.  All rights reserved.  This software is furnished under license","and may not be reproduced without license to do so.  This copyright notice","must not be removed, altered, or obscured.",#else"Copyright (C) 1985, 1996, Trustees of Columbia University in the City of New","York.  The C-Kermit software may not be, in whole or in part, licensed or","sold for profit as a software product itself, nor may it be included in or","distributed with commercial products or otherwise distributed by commercial","concerns to their clients or customers without written permission of the","Kermit Project, Columbia University.  This copyright notice must not be","removed, altered, or obscured.",#endif /* OS2 */#endif /* pdp11 */#ifdef XYZ_INTERNAL" ","Portions Copyright (C) 1995 Oy Online Solutions Ltd., Jyvaskyla, FINLAND\n",#endif /* XYZ_INTERNAL */#ifndef pdp11" ","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/.",#endif /* pdp11 */""};/*DOCUMENTATION: "Using C-Kermit" by Frank da Cruz and Christine M. Gianone,  Digital Press / Butterworth-Heinemann, Woburn MA, USA.  Second edition (1997), ISBN 1-55558-164-1.  Order from Digital Press:    +1 (800) 366-2665  Or from Columbia University: +1 (212) 854-3703For Kermit 95, also:  "Kermit 95" by Christine M. Gianone and Frank da Cruz,  Manning Publications, Greenwich CT, USA (1996)  Order from Manning:          +1 (203) 629 2078  Or from Columbia University: +1 (212) 854-3703DISCLAIMER:  The C-Kermit software is provided in source code and/or binary form by  the Kermit Project, Academic Information Systems, Columbia University.  The software is provided "as is;" no other warranty is provided, express   or implied, including without limitations, any implied warranty of  merchantability or implied warranty of fitness for a particular purpose.  Neither Columbia University nor any of the contributors to C-Kermit's  development, including, but not limited to, Manning Software, Digital Press,  AT&T, Digital Equipment Corporation, Data General Corporation, or  International Business Machines Corporation, or any individuals affiliated  with those or other institutions, warrant C-Kermit software or documentation  in any way.  In addition, neither the authors of any Kermit programs,  publications or documentation, nor Columbia University nor any contributing  institutions or individuals acknowledge any liability resulting from program  or documentation errors.  Contributions made to C-Kermit by programmers outside of Columbia University  fall within the provisions of the foregoing copyrights, terms and  conditions, and disclaimers, and grant to the Kermit Project at Columbia  University a nonexclusive license to use the contributed code in any and  all Kermit software without restriction or obligation.ACKNOWLEDGMENTS:  The Kermit file transfer protocol was developed at the Columbia University  Center for Computing Activities (CUCCA), which was since renamed to Columbia  University Academic Information Systems (AcIS).  Kermit is named after  Kermit the Frog, star of the television series THE MUPPET SHOW; the name is  used by permission of Henson Associates, Inc.  Thanks to at least the following people for their contributions to this  program over the years, and apologies to anyone who was inadvertantly  omitted:   Chris Adie, Edinburgh U, Scotland (OS/2)   Robert Adsett, University of Waterloo, Canada   Larry Afrin, Clemson U   Jeffrey Altman, Columbia University   Greg Andrews, Telebit Corp   Barry Archer, U of Missouri   Robert Andersson, International Systems A/S, Oslo, Norway   Chris Armstrong, Brookhaven National Lab (OS/2)   William Bader, Software Consulting Services, Nazareth, PA   Fuat Baran, Columbia U   Stan Barber, Rice U   Jim Barbour, U of Colorado   Donn Baumgartner, Dell   Nelson Beebe, U of Utah   Karl Berry, UMB   Mark Berryman, SAIC   Dean W Bettinger, SUNY   Gary Bilkus   Peter Binderup, Denmark   David Bolen, Advanced Networks and Services, Inc.   Marc Boucher, U of Montreal   Charles Brooks, EDN   Bob Brown   Mike Brown, Purdue U   Jack Bryans, California State U at Long Beach   Mark Buda, DEC (VMS)   Fernando Cabral, Padrao iX, Brasilia   Bjorn Carlsson, Stockholm University Computer Centre QZ, Sweden   Bill Catchings, (formerly of) Columbia U   Bob Cattani, Columbia U CS Dept   Davide Cervone, Rochester U   Seth Chaiklin, Denmark   John Chandler, Harvard U / Smithsonian Astronomical Observatory   Bernard Chen, UCLA   Andrew A Chernov, RELCOM Team, Moscow   John L Chmielewski, AT&T, Lisle, IL   Howard Chu, U of Michigan   Bill Coalson, McDonnell Douglas   Bertie Coopersmith, London   Chet Creider, U of Western Ontario   Alan Crosswell, Columbia U   Jeff Damens, (formerly of) Columbia U   Mark Davies, Bath U, UK   Sin-itirou Dezawa, Fujifilm, Japan   Joe R. Doupnik, Utah State U   Frank Dreano, Honeywell   John Dunlap, U of Washington   Alex Dupuy, SMART.COM   David Dyck, John Fluke Mfg Co.   Stefaan A. Eeckels, Eurokom, Luxembourg   Paul Eggert, Twin Sun, Inc., El Segundo, CA   Bernie Eiben, DEC   Peter Eichhorn, Assyst International   Kristoffer Eriksson, Peridot Konsult AB, Oerebro, Sweden   John R. Evans, IRS, Kansas City   Glenn Everhart, RCA Labs   Charlie Finan, Cray Research   Herm Fischer, Encino, CA (extensive contributions to version 4.0)   Carl Fongheiser, CWRU   Mike Freeman, Bonneville Power Authority   Marcello Frutig, Catholic University, Sao Paulo, Brazil (X.25 support)   Hirofumi Fujii, Japan Nat'l Lab for High Energy Physics, Tokyo (Kanji)   Chuck Fuller, Westinghouse Corporate Computer Services   Andy Fyfe, Caltech   Christine M. Gianone, Columbia U   John Gilmore, UC Berkeley   Madhusudan Giyyarpuram, HP   Rainer Glaschick, Siemens AG, Paderborn   William H. Glass   German Goldszmidt, IBM   Chuck Goodhart, NASA   Alistair Gorman, New Zealand   Richard Gration, ADFA, Australia   Chris Green, Essex U, UK   Alan Grieg, Dundee Tech, Scotland   Yekta Gursel, MIT   Jim Guyton, Rand Corp   Michael Haertel   Bob Hain, UMN   Marion Hakanson, ORST   John Hamilston, Iowa State U   Simon Hania, Netherlands   Stan Hanks, Rice U.   Ken Harrenstein, SRI   Eugenia Harris, Data General (AOS/VS)   David Harrison, Kingston Warren Corp   James Harvey, Indiana/Purdue U (VMS)   Rob Healey   Chuck Hedrick, Rutgers U   Ron Heiby, Technical Systems Division, Motorola Computer Group   Steve Hemminger, Tektronix   Christian Hemsing, RWTH Aachen, Germany (OS-9)   Andrew Herbert, Monash Univ, Australia   Mike Hickey, ITI   Dan Hildebrand, QNX Software Systems Inc, Kanata, ON (QNX)   R E Hill   Bill Homer, Cray Research   Ray Hunter, The Wollongong Group   Randy Huntziger, National Library of Medicine   Larry Jacobs, Transarc   Steve Jenkins, Lancaster University, UK   Dave Johnson, Gradient Technologies   Mark B Johnson, Apple Computer   Jyke Jokinen, Tampere University of Technology, Finland (QNX)   Eric F Jones, AT&T   Luke Jones, AT&T   Peter Jones, U of Quebec Montreal   Phil Julian, SAS Institute   Peter Kabal, U of Quebec   Mic Kaczmarczik, U of Texas at Austin   Sergey Kartashoff, Inst. of Precise Mechanics & Computer Equipment, Moscow   Howie Kaye, Columbia U   Rob Kedoin, Linotype Co, Hauppauge, NY (OS/2)   Phil Keegstra   Mark Kennedy, IBM   Terry Kennedy, St Peter's College, Jersey City, NJ (VMS and more)   "Carlo Kid", Technical University of Delft, Netherlands   Tim Kientzle   Paul Kimoto, Cornell U   Douglas Kingston, morgan.com   Lawrence Kirby, Wiltshire, UK   Tom Kloos, Sequent Computer Systems   Jim Knutson, U of Texas at Austin   John T. Kohl (BSDI)   Scott Kramer, SRI International, Menlo Park, CA   John Kraynack, US Postal Service   David Kricker, Encore Computer   Thomas Krueger, UWM   Bo Kullmar, ABC Klubben, Stockholm, and Central Bank of Sweden, Kista   R. Brad Kummer, AT&T Bell Labs, Atlanta, GA   John Kunze, UC Berkeley   David Lane, BSSI / BellSouth (Stratus VOS, X.25)   Bob Larson, USC (OS-9)   Bert Laverman, Groningen U, Netherlands   Steve Layton   David Lawyer, UC Irvine   David LeVine, National Semiconductor Corporation   Daniel S. Lewart, UIUC   S.O. Lidie, Lehigh U   Tor Lillqvist, Helsinki U, Finland   David-Michael Lincke, U of St Gallen, Switzerland   Robert Lipe   Dean Long   Mike Long, Analog Devices, Norwood MA   Kevin Lowey, U of Saskatchewan (OS/2)   Andy Lowry, Columbia U   James Lummel, Caprica Telecomputing Resources (QNX)   David MacKenzie, Environmental Defense Fund, U of Maryland   John Mackin, University of Sidney, Australia   Martin Maclaren, Bath U, UK   Chris Maio, Columbia U CS Dept   Montserrat Mane, HP, Grenoble, France   Fulvio Marino, Olivetti, Ivrea, Italy   Arthur Marsh, dircsa.org.au   Peter Mauzey, AT&T   Tye McQueen, Utah State U   Ted Medin   Hellmuth Michaelis, Hanseatischer Computerservice GmbH, Hamburg, Germany   Leslie Mikesell, American Farm Bureau   Martin Minow, DEC (VMS)   Pawan Misra, Bellcore   Ken Mizialko, IBM, Manassas, VA   Ray Moody, Purdue U   Bruce J Moore, Allen-Bradley Co, Highland Heights, OH (Atari ST)   Steve Morley, Convex   Peter Mossel, Columbia U   Tony Movshon, NYU   Lou Muccioli, Swanson Analysis Systems   Dan Murphy   Neal P. Murphy, Harsof Systems, Wonder Lake IL   Gary Mussar   John Nall, FSU   Jack Nelson, U of Pittsburgh   Jim Noble, Planning Research Corporation (Macintosh)   Ian O'Brien, Bath U, UK   John Owens   Michael Pins, Iowa Computer Aided Engineering Network   Andre' Pirard, University of Liege, Belgium   Paul Placeway, Ohio State U   Piet W. Plomp, ICCE, Groningen University, Netherlands   Ken Poulton, HP Labs   Manfred Prange, Oakland U   Christopher Pratt, APV Baker, UK   Frank Prindle, NADC   Tony Querubin, U of Hawaii   Anton Rang   Scott Ribe   Alan Robiette, Oxford University, UK   Michel Robitaille, U of Montreal (Mac)   Huw Rogers, Schweizerische Kreditanstalt, Zuerich   Nigel Roles, Cambridge, England   Kai Uwe Rommel, Technische Universitaet Muenchen (OS/2)   Larry Rosenman (Amiga)   Jay Rouman, U of Michigan   Jack Rouse, SAS Institute (Data General and/or Apollo)   Stew Rubenstein, Harvard U (VMS)   John Santos, EG&H   Bill Schilit, Columbia U   Ulli Schlueter, RWTH Aachen, Germany (OS-9, etc)   Michael Schmidt, U of Paderborn, Germany   Eric Schnoebelen, Convex   Benn Schreiber, DEC   Dan Schullman, DEC (modems, DIAL command, etc)   John Schultz, 3M   Steven Schultz, Contel (PDP-11)   APPP Scorer, Leeds Polytechnic, UK   Gordon Scott, Micro Focus, Newbury UK   Gisbert W. Selke, WIdO, Bonn, Germany   David Singer, IBM Almaden Research Labs   David Sizeland, U of London Medical School   Fridrik Skulason, Iceland   Rick Sladkey (Linux)   Dave Slate   Bradley Smith, UCLA   Fred Smith, Merk   Richard S Smith, Cal State   Ryan Stanisfer, UNT   Bertil Stenstroem, Stockholm University Computer Centre (QZ), Sweden   James Sturdevant, CAP GEMENI AMERICA, Minneapolis   Peter Svanberg, Royal Techn. HS, Sweden   James R. Swenson, Accu-Weather, Inc.   Andy Tanenbaum, Vrije U, Amsterdam, Netherlands   Glen Thobe   Markku Toijala, Helsinki U of Technology   Teemu Torma, Helsinki U of Technology   Linus Torvalds, Helsinki   Rick Troxel, NIH   Warren Tucker, Tridom Corp, Mountain Park, GA   Dave Tweten, AMES-NAS   G Uddeborg, Sweden   Walter Underwood, Ford Aerospace   Pieter Van Der Linden, Centre Mondial, Paris   Ge van Geldorp, Netherlands   Fred van Kempen, MINIX User Group, Voorhout, Netherlands   Wayne Van Pelt, GE/CRD   Mark Vasoll, Oklahoma State U (V7 UNIX)   Konstantin Vinogradov, ICSTI, Moscow   Paul Vixie, DEC   Bernie Volz, Process Software   Eduard Vopicka, Prague University of Economics, Czech Republic   Dimitri Vulis, CUNY   Roger Wallace, Raytheon   Stephen Walton, Calif State U, Northridge (Amiga)   Jamie Watson, Adasoft, Switzerland (RS/6000)   Rick Watson, U of Texas (Macintosh)   Robert Weiner, Programming Plus, New York City   Lauren Weinstein, Vortex Technlogy   David Wexelblat, AT&T   Clark Wierda, Illuminati Online   Joachim Wiesel, U of Karlsruhe   Lon Willett, U of Utah   Michael Williams, UCLA   Nate Williams, U of Montana   David Wilson   Joellen Windsor, U of Arizona   Patrick Wolfe, Kuck & Associates, Inc.   Gregg Wonderly, Oklahoma State U (V7 UNIX)   Farrell Woods, Concurrent (formerly Masscomp)   Dave Woolley, CAP Communication Systems, London   Jack Woolley, SCT Corp   Frank Wortner   Ken Yap, formerly of U of Rochester   John Zeeff, Ann Arbor, MI */

⌨️ 快捷键说明

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