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

📄 ckcmai.c

📁 早期freebsd实现
💻 C
📖 第 1 页 / 共 3 页
字号:
#ifndef MACchar *versio = "C-Kermit 5A(188), 23 Nov 92"; /* Version herald. */#else/*  For Macintosh, also remember to change the Mac-specific version in ckmkr2.r.*/char *versio = "Mac Kermit 0.99(188) Pre-ALPHA, 23 Nov 92";#endif /* MAC */long vernum = 501188L;/*  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. "5A(182)-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, FDCCU@CUVMA.BITNET),  Columbia University Center for Computing Activities.  COPYRIGHT NOTICE:  Copyright (C) 1985, 1992, Trustees of Columbia University in the City of New  York.  Permission is granted to any individual or institution to use this  software as long as it is not sold for profit.  This copyright notice must be  retained.  This software may not be included in commercial products without  written permission of Columbia University.  DOCUMENTATION:  "Using C-Kermit" by Frank da Cruz and Christine M. Gianone,  Digital Press, Burlington, MA, USA.  Publication date: Winter 1992.  Order Number: EY-J896E-DP  Digital Press ISBN: 1-55558-108-0  Prentice Hall ISBN: 0-13-037490-3  DISCLAIMER:  The C-Kermit software is provided in source code form by Kermit Development  and Distribution, 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 the C-Kermit  development effort, including, but not limited to, AT&T, Digital Equipment  Corporation, Data General Corporation, or International Business Machines  Corporation, 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.  ACKNOWLEDGMENTS:  The Kermit file transfer protocol was developed at the Columbia University  Center for Computing Activities (CUCCA).  It 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 anybody I missed:   Chris Adie, Edinburgh U, Scotland (OS/2 support)   Robert Adsett, University of Waterloo, Canada   Larry Afrin, Clemson U   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, CUCCA   Stan Barber, Rice U   Jim Barbour, U of Colorado   Donn Baumgartner, Dell   Nelson Beebe, U of Utah   Karl Berry, UMB   Dean W Bettinger, SUNY   Gary Bilkus   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 (VAX/VMS)   Fernando Cabral, Padrao IX, Brasilia, Brazil   Bjorn Carlsson, Stockholm University Computer Centre QZ, Sweden   Bill Catchings, formerly of CUCCA   Bob Cattani, Columbia U CS Dept   Davide Cervone, Rochester University   Seth Chaiklin, Denmark   John Chandler, Harvard U / Smithsonian Astronomical Observatory   John L Chmielewski, AT&T, Lisle, IL   Howard Chu, U of Michigan   Bill Coalson, McDonnell Douglas   Bertie Coopersmith, London, UK   Chet Creider, University of Western Ontario, Canada   Alan Crosswell, CUCCA   Jeff Damens, formerly of CUCCA   Mark Davies, Bath U, UK   S. Dezawa, Fujifilm, Japan   Joe R. Doupnik, Utah State U   Frank Dreano (Honeywell)   John Dunlap, University of Washington   David Dyck, John Fluke Mfg Co.   Stefaan A. Eeckels, Eurokom, Luxembourg   Paul Eggert, Twin Sun, Inc., El Segundo, CA   Bernie Eiben, DEC   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   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, CUCCA   John Gilmore, UC Berkeley   German Goldszmidt, IBM   Alistair Gorman, New Zealand   Richard Gration, ADFA, Australia   Chris Green, Essex U, UK   Alan Grieg, Dundee Tech, Scotland, UK   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   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   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, CUCCA   Rob Kedoin, Linotype Co, Hauppauge, NY (OS/2)   Mark Kennedy, IBM   Terry Kennedy, St Peter's College, Jersey City, NJ (VAX/VMS, 2.11 BSD)   Douglas Kingston, morgan.com   Tom Kloos, Sequent Computer Systems   Jim Knutson, U of Texas at Austin   Scott Kramer, SRI International, Menlo Park, CA   David Kricker, Encore Computer   Thomas Krueger, UWM   Bo Kullmar, Central Bank of Sweden, Kista   R. Brad Kummer, AT&T Bell Labs, Atlanta, GA   John Kunze, UC Berkeley   Bob Larson, USC (OS-9)   Bert Laverman, Groningen U, Netherlands   Steve Layton   David Lawyer, UC Irvine   David LeVine, National Semiconductor Corporation   S.O. Lidie, Lehigh U   Tor Lillqvist, Helsinki University, Finland   Dean Long   Kevin Lowey, U of Saskatchewan (OS/2)   Andy Lowry, Columbia University   David MacKenzie, Environmental Defense Fund, University of Maryland   John Mackin, University of Sidney, Australia   Martin Maclaren, Bath U, UK   Chris Maio, Columbia U CS Dept   Fulvio Marino, Olivetti, Ivrea, Italy   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 (VAX/VMS)   Pawan Mistra, 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 University   Tony Movshon, NYU   Lou Muccioli, Swanson Analysis Systems   Dan Murphy   Gary Mussar   John Nall, FSU   Jack Nelson, University 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 (Macintosh & more)   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)   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 (VAX/VMS)   Bill Schilit, Columbia University   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 Sizeland, U of London Medical School   Fridrik Skulason, Iceland   Dave Slate   Bradley Smith, UCLA   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   Markku Toijala, Helsinki U of Technology   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   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   Joachim Wiesel, U of Karlsruhe   Lon Willett, U of Utah   Michael Williams, UCLA   Nate Williams, U of Montana   David Wilson   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, U of Rochester   John Zeeff, Ann Arbor, MI*//*  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.*/#include "ckcsym.h"#include "ckcasc.h"			/* ASCII character symbols */#include "ckcdeb.h"			/* Debug & other symbols */#include "ckcker.h"			/* Kermit symbols */#include "ckcnet.h"			/* Network symbols */#ifndef NOSPL#include "ckuusr.h"#endif /* NOSPL */#ifndef NOSERVER/* Text message definitions.. each should be 256 chars long, or less. */#ifdef MACchar *hlptxt = "\r\Mac Kermit Server Commands:\r\\r\    BYE\r\    FINISH\r\    GET filespec\r\    REMOTE CD directory\r\    REMOTE HELP\r\    SEND filespec\r\\r\0";#else#ifdef AMIGAchar *hlptxt = "C-Kermit Server Commands:\n\\n\GET filespec, SEND filespec, FINISH, BYE, REMOTE HELP\n\

⌨️ 快捷键说明

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