📄 ckermit2.txt
字号:
File CKERMIT2.TXT, Supplement to "Using C-Kermit", Second Edition D R A F TAs of C-Kermit version: 7.0.197This file last updated: 8 February 2000Authors: Frank da Cruz and Christine M. GianoneAddress: The Kermit Project Columbia University 612 West 115th Street New York NY 10025-7799 USAFax: +1 (212) 662-6442E-Mail: kermit-support@columbia.eduWeb: http://www.columbia.edu/kermit/Or: http://www.kermit-project.org/Or: http://www.columbia.nyc.ny.us/kermit/NOTICES:This document: Copyright (C) 1997, 2000, Frank da Cruz and Christine M. Gianone. All rights reserved.Kermit 95: Copyright (C) 1995, 2000, Trustees of Columbia University in the City of New York. All rights reserved.C-Kermit: Copyright (C) 1985, 2000, Trustees of Columbia University in the City of New York. All rights reserved. See the C-Kermit COPYING.TXT file or the copyright text in the ckcmai.c module for disclaimer and permissions.When Kerberos(TM) and/or SRP(TM) (Secure Remote Password) and/or SSLprotocol are included: Portions Copyright (C) 1990, Massachusetts Institute of Technology. Portions Copyright (C) 1991, 1993 Regents of the University of California. Portions Copyright (C) 1991, 1992, 1993, 1994, 1995 by AT&T. Portions Copyright (C) 1997, Stanford University. Portions Copyright (C) 1995-1997, Eric Young <eay@cryptosoft.com>.For the full text of the third-party copyright notices, see Appendix V.------------------------------WHAT IS IN THIS FILEThis file lists changes made to C-Kermit since the second edition of the book"Using C-Kermit" was published and C-Kermit 6.0 was released in November 1996.Use this file as a supplement to the second edition of "Using C-Kermit" untilthe third edition is published some time in 2000. If the "most recent update"shown above is long ago, contact Columbia University to see if there is anewer release.For further information, also see the CKCBWR.TXT ("C-Kermit beware") file forhints, tips, tricks, restrictions, frequently asked questions, etc, plus thesystem-specific "beware file", e.g. CKUBWR.TXT for UNIX, CKVBWR.TXT for VMS,etc, and also any system-specific update files such as KERMIT95.HTM for Kermit95 (in the DOCS\MANUAL\ subdirectory of your K95 directory).IMPORTANT: A major new feature of C-Kermit 7.0 is its ability to be anInternet Kermit Services Daemon (IKSD), as well as an IKSD client. All ofthis is described in a separate file, IKSD.TXT.---------------ABOUT FILENAMESIn this document, filenames are generally shown in uppercase, but on filesystems with case-sensitive names such as UNIX, OS-9, and AOS/VS, lowercasenames are used: ckcbwr.txt, ckermit2.txt, etc.----------------ADDITIONAL FILESSeveral other files accompany this new Kermit release:SECURITY.TXT Discussion of Kermit's new authentication and encryption features.IKSD.TXT How to install and manage an Internet Kermit Service Daemon.TELNET.TXT A thorough presentation of Kermit's new advanced Telnet features and controls.------------------------THE NEW C-KERMIT LICENSEThe C-Kermit license was rewritten for version 7.0 to grant automaticpermission to packagers of free operating-system distributions to includeC-Kermit 7.0. Examples include Linux (GNU/Linux), FreeBSD, NetBSD, etc.The new license is in the COPYING.TXT file, and is also displayed by C-Kermititself when you give the VERSION or COPYRIGHT command. The new C-Kermitlicense does not apply to Kermit 95.---------------ACKNOWLEDGMENTSThanks to Jeff Altman, who joined the Kermit Project in 1995, for much of whatyou see in C-Kermit 7.0, especially in the networking and security areas, andhis key role in designing and implementing the Internet Kermit Service Daemon.And special thanks to Lucas Hart for lots of help with the VMS version; toPeter Eichhorn for continuous testing on the full range of HP-UX versions andfor a consolidated set of HP-UX makefile targets; and to Colin Allen, MarkAllen, Roger Allen, Ric Anderson, William Bader, Mitch Baker, Mitchell Bass,Nelson Beebe, Gerry Belanger, Jeff Bernsten, Mark Berryman, John Bigg, VolkerBorchert, Jonathan Boswell, Tim Boyer, Frederick Bruckman, Kenneth Cochran,Jared Crapo, Bill Delaney, Igor Sobrado Delgado, Clarence Dold, Joe Doupnik,John Dunlap, Max Evarts, Patrick French, Carl Friedberg, Carl Friend, HirofumiFujii, Andrew Gabriel, Gabe Garza, Boyd Gerber, David Gerber, George Gilmer,Hunter Goatley, DJ Hagberg, Kevin Handy, Andy Harper, Randolph Herber, SvenHolstrum, Michal Jaegermann, Graham Jenkins, Dick Jones, Terry Kennedy, RobertD Keys, Nick Kisseberth, Igor Kovalenko, David Lane, Adam Laurie, JeffLiebermann, Eric Lonvick, Hoi Wan Louis, Arthur Marsh, Gregorie Martin, PeterMauzey, Dragan Milicic, Todd Miller, Christian Mondrup, Daniel Morato, DatNguyen, Herb Peyerl, Jean-Pierre Radley, Mitchell Pilot, Steve Rance, StephenRiehm, Nigel Roles, Larry Rosenman, Jay S Rouman, David Sanderson, JohnSantos, Michael Schmitz, Steven Schultz, Bob Shair, Richard Shuford, FredSmith, Michael Sokolov, Jim Spath, Peter Szell, Ted T'so, Brian Tillman, LinusTorvalds, Patrick Volkerding, Martin Vorlaender, Steve Walton, Ken Weaverling,John Weekley, Martin Whitaker, Jim Whitby, Matt Willman, Joellen Windsor,Farrell Woods, and many others for binaries, hosting, reviews, suggestions,advice, bug reports, and all the rest over the 3+ year C-Kermit 7.0development cycle. Thanks to Russ Nelson and the board of the Open SoftwareInitiative for their cooperation in developing the new C-Kermit license and tothe proprietors of those free UNIX distributions that have incorporatedC-Kermit 7.0 for their cooperation and support, especially FreeBSD's JoergWunsch.-----------------------NOTE TO KERMIT 95 USERSLike the book "Using C-Kermit", this file concentrates on the aspects ofC-Kermit that are common to all versions: UNIX, VMS, VOS, AOS/VS, etc. Pleaserefer to your Kermit 95 documentation for information that is specific toKermit 95.C-Kermit 7.0 corresponds to Kermit 95 1.1.18.-------------------------------------C-KERMIT VERSIONS AND VERSION NUMBERS"C-Kermit" refers to all the many programs that are compiled in whole or inpart from common C-language source code, comprising: . A Kermit file transfer protocol module . A command parser and script execution module . A modem-dialing module . A network support module . A character-set translation module.and several others. These "system-independent" modules are combined withsystem-dependent modules for each platform to provide the requiredinput/output functions, and also in some cases overlaid with an alternativeuser interface, such as Macintosh Kermit's point-and-click interface, and insome cases also a terminal emulator, as Kermit 95.The C-Kermit version number started as 1.0, ... 3.0, 4.0, 4.1 and then(because of confusion at the time with Berkeley UNIX 4.2), 4B, 4C, and so on,with the specific edit number in parentheses, for example 4E(072) or 5A(188).This scheme was used through 5A(191), but now we have gone back to thetraditional numbering scheme with decimal points: major.minor.edit; forexample 7.0.196. Internal version numbers (the \v(version) variable),however, are compatible in C-Kermit 5A upwards.Meanwhile, C-Kermit derivatives for some platforms (Windows, Macintosh) mightgo through several releases while C-Kermit itself remains the same. Theseversions have their own platform-specific version numbers, such as Kermit 951.1.1, 1.1.2, and so on.C-Kermit Version History: 1.0 1981-1982 Command-line only, 4.2 BSD UNIX only 2.0 (*) (who remembers...) 3.0 May 1984 Command-line only, supports several platforms 4.0-4.1 Feb-Apr 1985 (*) First interactive and modular version 4C(050) May 1985 4D(060) April 1986 4E(066) August 1987 Long packets 4E(068) January 1988 4E(072) January 1989 4F(095) August 1989 (*) Attribute packets 5A(188) November 1992 Scripting, TCP/IP, sliding windows, ANSI C (1) 5A(189) September 1993 Control-char unprefixing 5A(190) October 1994 Recovery 5A(191) April 1995 OS/2 only - VT220 emulation 6.0.192 September 1996 Intelligent dialing, autodownload, lots more (2) 6.1.193 1997-98 (*) Development only 6.1.194 June 1998 K95 only - switches, directory recursion, more 7.0.195 August 1999 IKSD + more (CU only as K95 1.1.18-CU) 7.0.196 1 January 2000 Unicode, lots more 7.0.197 8 February 2000 Same as 196 but builds on additional platforms(3)(*) Never formally released (4.0 was a total rewrite)(1) "Using C-Kermit", 1st Edition.(2) "Using C-Kermit", 2nd Edition.(3) There is no functional difference between 196 and 197, not even bug fixes. The only changes are to #ifdefs, declarations, and the makefile, sufficient to make it build on several platforms where 196 did not build. Binaries that announce themselves as 197 are functionally identical to 196 binaries.------------------------------CONTENTS I. C-KERMIT DOCUMENTATION: Information about the C-Kermit manual II. NEW FEATURES: Documentation for Features Added Since C-Kermit 6.0 (0) INCOMPATIBILITIES WITH PREVIOUS RELEASES (1) PROGRAM AND FILE MANAGEMENT AND COMMANDS 1.0. Bug fixes 1.1. Command Continuation 1.2. Editor Interface 1.3. Web Browser and FTP Interface 1.4. Command Editing 1.5. Command Switches 1.5.1. General Switch Syntax 1.5.2. Order and Effect of Switches 1.5.3. Distinguishing Switches from Other Fields 1.5.4. Standard File Selection Switches 1.5.5. Setting Preferences for Different Commands 1.6. Dates and Times 1.7. Partial Completion of Keywords 1.8. Command Recall 1.9. EXIT Messages 1.10. Managing Keyboard Interruptions 1.11. Taming the Wild Backslash -- Part Deux 1.11.1. Background 1.11.2. Kermit's Quoting Rules 1.11.3. Passing DOS Filenames from Kermit to Shell Commands 1.11.4. Using Variables to Hold DOS Filenames 1.11.5. Passing DOS Filenames as Parameters to Macros 1.11.6. Passing DOS File Names from Macro Parameters to the DOS Shell 1.11.7. Passing DOS Filenames to Kermit from the Shell 1.12. Debugging 1.13. Logs 1.14. Automatic File-Transfer Packet Recognition at the Command Prompt 1.15. The TYPE Command 1.16. The RESET Command 1.17. The COPY and RENAME Commands 1.18. The MANUAL Command 1.19. String and Filename Matching Patterns 1.20. Multiple Commands on One Line 1.21. What Do I Have? 1.22. Generalized File Input and Output 1.22.1. Why Another I/O System? 1.22.2. The FILE Command 1.22.3. FILE Command Examples 1.22.4. Channel Numbers 1.22.5. FILE Command Error Codes 1.22.6. File I/O Variables 1.22.7. File I/O Functions 1.22.8. File I/O Function Examples 1.23. The EXEC Command 1.24. Getting Keyword Lists with '?' (2) MAKING AND USING CONNECTIONS 2.0. SET LINE and SET HOST Command Switches 2.1. Dialing 2.1.1. The Dial Result Message 2.1.2. Long-Distance Dialing Changes 2.1.3. Forcing Long-Distance Dialing 2.1.4. Exchange-Specific Dialing Decisions 2.1.5. Cautions about Cheapest-First Dialing 2.1.6. Blind Dialing (Dialing with No Dialtone) 2.1.7. Trimming the Dialing Dialog 2.1.8. Controlling the Dialing Speed 2.1.9. Pretesting Phone Number Conversions 2.1.10. Greater Control over Partial Dialing 2.1.11. New DIAL-related Variables and Functions 2.1.12. Increased Flexibility of PBX Dialing 2.1.13. The DIAL macro - Last-Minute Phone Number Conversions 2.1.14. Automatic Tone/Pulse Dialing Selection 2.1.15. Dial-Modifier Variables 2.1.16. Giving Multiple Numbers to the DIAL Command 2.2. Modems 2.2.1. New Modem Types 2.2.2. New Modem Controls 2.3. TELNET and RLOGIN 2.3.0. Bug Fixes 2.3.1. Telnet Binary Mode Bug Adjustments 2.3.2. VMS UCX Telnet Port Bug Adjustment 2.3.3. Telnet New Environment Option 2.3.4. Telnet Location Option 2.3.5. Connecting to Raw TCP Sockets 2.3.6. Incoming TCP Connections 2.4. The EIGHTBIT Command 2.5. The Services Directory 2.6. Closing Connections 2.7. Using C-Kermit with External Communication Programs 2.7.0. C-Kermit over tn3270 and tn5250 2.7.1. C-Kermit over Telnet 2.7.2. C-Kermit over Rlogin 2.7.3. C-Kermit over Serial Communication Programs 2.7.4. C-Kermit over Secure Network Clients 2.7.4.1. SSH 2.7.4.2. SSL 2.7.4.3. SRP 2.7.4.4. SOCKS 2.7.4.5. Kerberos and SRP 2.8. Scripting Local Programs 2.9. X.25 Networking 2.9.1. IBM AIXLink/X.25 Network Provider Interface for AIX 2.9.2. HP-UX X.25 2.10. Additional Serial Port Controls 2.11. Getting Access to the Dialout Device 2.12. The Connection Log 2.13. Automatic Connection-Specific Flow Control Selection 2.14. Trapping Connection Establishment and Loss 2.15. Contacting Web Servers with the HTTP Command (3) TERMINAL CONNECTION
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -