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

📄 ckermit2.txt

📁 C-Kermit源码。是使用串口/Modem和网络通讯的程序
💻 TXT
📖 第 1 页 / 共 5 页
字号:
         3.1. CONNECT Command Switches         3.2. Triggers         3.3. Transparent Printing         3.4. Binary and Text Session Logs     (4) FILE TRANSFER AND MANAGEMENT         4.0. Bug Fixes, Minor Changes, and Clarifications	 4.1. File-Transfer Filename Templates	 4.1.1. Templates in the As-Name	 4.1.2. Templates on the Command Line	 4.1.3. Post-Transfer Renaming	 4.2. File-Transfer Pipes and Filters         4.2.1. Introduction	 4.2.1.1. Terminology	 4.2.1.2. Notation	 4.2.1.3. Security	 4.2.2. Commands for Transferring from and to Pipes	 4.2.2.1. Sending from a Command	 4.2.2.2. Receiving to a Command	 4.2.3. Using File-Transfer Filters	 4.2.3.1. The SEND Filter	 4.2.3.2. The RECEIVE Filter	 4.2.4. Implicit Use of Pipes	 4.2.5. Success and Failure of Piped Commands         4.2.6. Cautions about Using Pipes to Transfer Directory Trees	 4.2.7. Pipes and Encryption         4.2.8. Commands and Functions Related to Pipes	 4.2.8.1. The OPEN !READ and OPEN !WRITE Commands	 4.2.8.2. The REDIRECT Command         4.2.8.3. Receiving Mail and Print Jobs	 4.2.8.4. Pipe-Related Functions         4.3. Automatic Per-File Text/Binary Mode Switching	 4.3.1. Exceptions	 4.3.2. Overview	 4.3.3. Commands	 4.3.4. Examples         4.4. File Permissions	 4.4.1. When ATTRIBUTES PROTECTION is OFF	 4.4.1.1. Unix	 4.4.1.2. VMS	 4.4.2. When ATTRIBUTES PROTECTION is ON	 4.4.2.1. System-Specific Permissions	 4.4.2.1.1. UNIX	 4.4.2.1.2. VMS	 4.4.2.2. System-Independent Permissions         4.5. File Management Commands         4.5.1. The DIRECTORY Command         4.5.2. The CD and BACK Commands         4.5.2.1. Parsing Improvements         4.5.2.2. The CDPATH	 4.5.3. Creating and Removing Directories	 4.5.4. The DELETE and PURGE Commands         4.6. Starting the Remote Kermit Server Automatically         4.7. File-Transfer Command Switches         4.7.1. SEND Command Switches         4.7.2. GET Command Switches         4.7.3. RECEIVE Command Switches         4.8. Kermit Protocol Improvements	 4.8.1. Multiple Attribute Packets	 4.8.2. Very Short Packets         4.9. Wildcard / File Group Expansion	 4.9.1. In UNIX C-Kermit	 4.9.2. In Kermit 95	 4.9.3. In VMS, AOS/VS, OS-9, VOS, etc.         4.10. Additional Pathname Controls         4.11. Recursive SEND and GET: Transferring Directory Trees	 4.11.1. Command-Line Options	 4.11.2. The SEND /RECURSIVE Command	 4.11.3. The GET /RECURSIVE Command	 4.11.4. New and Changed Functions	 4.11.5. Moving Directory Trees Between Like Systems	 4.11.6. Moving Directory Trees Between Unlike Systems         4.12. Where Did My File Go?         4.13. File Output Buffer Control         4.14. Improved Responsiveness         4.15. Doubling and Ignoring Characters for Transparency         4.16. New File-Transfer Display Formats         4.17. New Transaction Log Formats         4.17.1. The BRIEF Format         4.17.2. The FTP Format         4.18. Unprefixing NUL         4.19. Clear-Channel Protocol         4.20. Streaming Protocol	 4.20.1. Commands for Streaming	 4.20.2. Examples of Streaming	 4.20.2.1. Streaming on Socket-to-Socket Connections	 4.20.2.2. Streaming on Telnet Connections         4.20.2.3. Streaming with Limited Packet Length         4.20.2.4. Streaming on Dialup Connections         4.20.2.5. Streaming on X.25 Connections         4.20.3. Streaming - Preliminary Conclusions         4.21. The TRANSMIT Command	 4.22. Coping with Faulty Kermit Implementations	 4.22.1. Failure to Accept Modern Negotiation Strings	 4.22.2. Failure to Negotiate 8th-bit Prefixing	 4.22.3. Corrupt Files	 4.22.4. Spurious Cancellations	 4.22.5. Spurious Refusals	 4.22.6. Failures during the Data Transfer Phase	 4.22.7. Fractured Filenames	 4.22.8. Bad File Dates         4.23. File Transfer Recovery         4.24. FILE COLLISION UPDATE Clarification         4.25. Autodownload Improvements     (5) CLIENT/SERVER         5.0. Hints	 5.1. New Command-Line Options	 5.2. New Client Commands	 5.3. New Server Capabilities         5.3.1. Creating and Removing Directories         5.3.2. Directory Listings         5.4. Syntax for Remote Filenames with Embedded Spaces         5.5. Automatic Orientation Messages upon Directory Change	 5.6. New Server Controls	 5.7. Timeouts during REMOTE HOST Command Execution     (6) INTERNATIONAL CHARACTER SETS         6.0. ISO 8859-15 Latin Alphabet 9         6.1. The HP-Roman8 Character Set         6.2. Greek Character Sets         6.3. Additional Latin-2 Character Sets         6.4. Additional Cyrillic Character Sets         6.5. Automatic Character-Set Switching         6.6. Unicode	 6.6.1. Overview of Unicode	 6.6.2. UCS Byte Order	 6.6.2. UCS Transformation Formats	 6.6.3. Conformance Levels	 6.6.4. Relationship of Unicode with Kermit's Other Character Sets	 6.6.5. Kermit's Unicode Features	 6.6.5.1. File Transfer	 6.6.5.2. The TRANSLATE Command	 6.6.5.3. Terminal Connection	 6.6.5.4. The TRANSMIT Command	 6.6.5.5. Summary of Kermit Unicode Commands         6.7. Client/Server Character-Set Switching     (7) SCRIPT PROGRAMMING         7.0. Bug Fixes         7.1. The INPUT Command	 7.1.1. INPUT Timeouts	 7.1.2. New INPUT Controls	 7.1.3. INPUT with Pattern Matching	 7.1.4. The INPUT Match Result	 7.2. New or Improved Built-In Variables	 7.3. New or Improved Built-In Functions         7.4. New IF Conditions         7.5. Using More than Ten Macro Arguments         7.6. Clarification of Function Call Syntax         7.7. Autodownload during INPUT Command Execution         7.8. Built-in Help for Functions.	 7.9. Variable Assignments	 7.9.1. Assignment Operators	 7.9.2. New Assignment Commands	 7.10. Arrays	 7.10.1. Array Initializers	 7.10.2. Turning a String into an Array of Words	 7.10.3. Arrays of Filenames	 7.10.4. Automatic Arrays	 7.10.5. Sorting Arrays	 7.10.6. Displaying Arrays         7.10.7. Other Array Operations         7.10.8. Hints for Using Arrays         7.10.9. Do-It-Yourself Arrays         7.10.10. Associative Arrays         7.11. OUTPUT Command Improvements         7.12. Function and Variable Diagnostics         7.13. Return Value of Macros         7.14. The ASSERT, FAIL, and SUCCEED Commands.         7.15. Using Alarms         7.16. Passing Arguments to Command Files         7.17. Dialogs with Timed Responses         7.18. Increased Flexibility of SWITCH Case Labels         7.19. "Kerbang" Scripts         7.20. IF and XIF Statement Syntax         7.20.1. The IF/XIF Distinction         7.20.2. Boolean Expressions (The IF/WHILE Condition)         7.21. Screen Formatting and Cursor Control         7.22. Evaluating Arithmetic Expressions         7.23. Floating-Point Arithmetic         7.24. Tracing Script Execution         7.25. Compact Substring Notation         7.26. New WAIT Command Options         7.26.1. Waiting for Modem Signals         7.26.2. Waiting for File Events         7.27. Relaxed FOR and SWITCH Syntax     (8) USING OTHER FILE TRANSFER PROTOCOLS     (9) COMMAND-LINE OPTIONS         9.0. Extended-Format Command-Line Options	 9.1. Command Line Personalities	 9.2. Built-in Help for Command Line Options	 9.3. New Command-Line Options    (10) C-KERMIT AND G-KERMITIII. APPENDICESIII.1. Character Set TablesIII.1.1. The Hewlett Packard Roman8 Character SetIII.1.2. Greek Character SetsIII.1.2.1. The ISO 8859-7 Latin / Greek AlphabetIII.1.2.2. The ELOT 927 Character SetIII.1.2.3. PC Code Page 869III.2. Updated Country CodesIV. ERRATA & CORRIGENDA: Corrections to "Using C-Kermit" 2nd Edition.V. ADDITIONAL COPYRIGHT NOTICES------------------------------I. C-KERMIT DOCUMENTATIONThe user manual for C-Kermit is:  Frank da Cruz and Christine M. Gianone, "Using C-Kermit", Second Edition,  Digital Press /  Butterworth-Heinemann, Woburn, MA, 1997, 622 pages,  ISBN 1-55558-164-1.The present document is a supplement to "Using C-Kermit" 2nd Ed, not areplacement for it.  US single-copy price: $44.95; quantity discounts available.  Available in  bookstores or directly from Columbia University:    The Kermit Project    Columbia University    612 West 115th Street    New York NY  10025-7799    USA    Telephone: +1 (212) 854-3703    Fax:       +1 (212) 663-8202  Domestic and overseas orders accepted.  Price: US $44.95 (US, Canada, and  Mexico).  Shipping: $4.00 within the USA; $15.00 to all other countries.  Orders may be paid by MasterCard or Visa, or prepaid by check in US dollars.  Add $65 bank fee for checks not drawn on a US bank.  Do not include sales  tax.  Inquire about quantity discounts.  You can also order by phone from the publisher, Digital Press /  Butterworth-Heinemann, with MasterCard, Visa, or American Express:    +1 800 366-2665   (Woburn, Massachusetts office for USA & Canada)    +44 1865 314627   (Oxford, England distribution centre for UK & Europe)    +61 03 9245 7111  (Melbourne, Vic, office for Australia & NZ)    +65 356-1968      (Singapore office for Asia)    +27 (31) 2683111  (Durban office for South Africa)  A German-language edition of the First Edition is also available:    Frank da Cruz and Christine M. Gianone, "C-Kermit - Einfuehrung und    Referenz", Verlag Heinz Heise, Hannover, Germany (1994).    ISBN 3-88229-023-4.  Deutsch von Gisbert W. Selke.  Price: DM 88,00.    Verlag Heinz Heise GmbH & Co. KG, Helstorfer Strasse 7, D-30625 Hannover.    Tel. +49 (05 11) 53 52-0, Fax. +49 (05 11) 53 52-1 29.The Kermit file transfer protocol is specified in:  Frank da Cruz, "Kermit, A File Transfer Protocol", Digital Press,  Bedford, MA, 1987, 379 pages, ISBN 0-932376-88-6.  US single-copy price: $39.95.  Availability as above.News and articles about Kermit software and protocol are publishedperiodically in the journal, Kermit News.  Subscriptions are free; contactColumbia University at the address above.Online news about Kermit is published in the comp.protocols.kermit.announceand comp.protocols.kermit.misc newsgroups.------------------------------II. NEW FEATURESSupport for the Bell Labs Plan 9 operating system was added to version 6.0too late to be mentioned in the book (although it does appear on the cover).Specific changes and additions are grouped together by major topic, roughlycorresponding to the chapters of "Using C-Kermit".(0) INCOMPATIBILITIES WITH PREVIOUS RELEASESC-Kermit 7.0 uses FAST Kermit protocol settings by default.  This includes"unprefixing" of certain control characters.  Because of this, file transfersthat worked with previous releases might not work in the new release (but itis more likely that they will work, and much faster).  If a transfer fails,you'll get a context-sensitive hint suggesting possible causes and cures.C-Kermit 7.0 transfers files in BINARY mode by default.  To restore theprevious behavior, put SET FILE TYPE TEXT in your C-Kermit initializationfile.No matter whether FILE TYPE is BINARY or TEXT by default, C-Kermit 7.0 nowswitches between text and binary mode automatically on a per-file basisaccording to various criteria, including (a) which kind of platform is on theother end of the connection (if known), (b) the version of Kermit on the otherend, and (c) the file's name (see Sections 4 and 4.3).  To disable thisautomatic switching and restore the earlier behavior, put SET TRANSFER MODEMANUAL in your C-Kermit initialization file.  To disable automatic switchingfor a particular transfer, include a /TEXT or /BINARY switch with your SEND orGET command.The RESEND and REGET commands automatically switch to binary mode; previouslyif RESEND or REGET were attempted when FILE TYPE was TEXT, these commandswould fail immediately, with a message telling you they work only when theFILE TYPE is BINARY.  Now they simply do this for you.  See section 4.23 foradditional (important) information.SET PREFIXING CAUTIOUS and MINIMAL now both prefix linefeed (10 and 138)in case rlogin or cu are "in the middle", since otherwise <LF>~ might appearin Kermit packets, and this would rlogin or cu to disconnect, suspend,escape back, or otherwise wreck the file transfer.  Xon and Xoff are nowalways prefixed too, even when Xon/Xoff flow control is not in effect, sinceunprefixing them has proven dangerous on TCP/IP connections.In UNIX, VMS, Windows, and OS/2, the DIRECTORY command is built into C-Kermititself rather than implemented by running an external command or program.The built-in command might not behave the way the platform-specific externalone did, but many options are available for customization.  Of course theunderlying platform-specific command can still be accessed with "!", "@",or "RUN" wherever the installation does not forbid.  In UNIX, the "ls"

⌨️ 快捷键说明

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