USING C-KERMIT Communications Software
Total Page:16
File Type:pdf, Size:1020Kb
USING C-KERMIT Communications Software for UNIX, Windows 95, Windows NT, OS/2, VMS, VOS, AOS/VS, Commodore Amiga, Atari ST, and OS-9 DRAFT, 3 March 2001 Frank da Cruz and Christine M. Gianone Copyright 1996,2001 by Frank da Cruz and Christine M. Gianone. All rights reserved. Foreword 2016 This PDF is the unfinished manuscript of the 3rd Edition of Using C-Kermit. It was being written in tandem with the preparation of C-Kermit 8.0, and therefore would have updated the Second Edition with new materal for C-Kermit 7.0 and 8.0. The contract was signed with Digital Press and work was well underway, but then Digital Press disappeared (along with Digital Equipment Corporation itself) and the new edition was never finished. Thus the content tends to hover between C-Kermit 6.0 and C-Kermit 8.0; Some chapters are up- dated, others not. Most of the new material is in the early chapters: Preface, Intro, Run- ning, Dialing, Modems, Terminal Connection, Troubleshooting, External Protocols, Net- works. All rest is unchanged from the 1996 Second Edition. Nevertheless, I think it's an improvement. Like all Kermit books, it was written using the markup language of the Scribe Documentation Preparation System, which was far more powerful, flexible, customizable, and extensible than anything I know of that came later. This online version was produced by running the 2001 draft through the last surviving in- stance of Scribe on a Columbia University computer shortly before it was to be turned off and retired. Luckily, this was the same computer where the 2001 work was done, so al- most everything worked just as before. The result is an online PDF version of the manual with a few things missing (the Table of Contents and all of the artwork) and a few things wrong (mainly in the character-set tables at the end). i Will there ever be a new, comprehensive, up-to-date version of this book? I doubt it. Not only would it be a lot of work to organize all the material, but Scribe will be gone (the source for this book is about 64,000 lines of Scribe code). Furthermore, the demand for Kermit software has slacked off a bit since the turn of the century. And perhaps most to the point, the result would be at least 1000 pages long, maybe 2000, compared to "only" 622 for the second edition. In the 15 years since this draft was worked on, there have been significant new develop- ments in C-Kermit, lots of other things happened, but in the end the Kermit Project was canceled by Columbia University in 2011 and everybody laid off. Since then all Kermit software has been rebranded as Open Source and a new Kermit Project website has opened at: http://www.kermitproject.org/ The C-Kermit page is here: http://www.kermitproject.org/ckermit.html And documentation for new features of C-Kermit 7.0, 8.0, and 9.0 can be found here: http://www.kermitproject.org/ckermit70.html http://www.kermitproject.org/ckermit80.html http://www.kermitproject.org/ckermit80.html Kermit 95 is Open Source too, but nobody has yet been able to build a version of it that has all necessary features (such as an SSH client): http://www.kermitproject.org/k95sourcecode.html There are no more Kermit mailing lists or newsgroup, no more newsletters, and no more tech support hot-line, but emails are still answered (by me) on a best-effort basis. This document will not be updated unless Scribe makes a miraculous comeback. Frank da Cruz Bronx NY, February 2016 [email protected] [email protected] ii Foreword 2016 Preface This book describes C-Kermit, the world's most portable communications software program, available for for UNIX computer systems (hundreds of different ones); Digital Equipment Corporation (now Compaq) (Open)VMS; PCs with Windows 95/98/ME/NT/ 2000 or OS/2; Data General AOS/VS, Stratus VOS, the Commodore Amiga, and com- puters with the QNX and OS-9 realtime operating systems. The UNIX version of C-Kermit runs on all known implementations of UNIX, old and new, on computers rang- ing from PCs to large mainframes and supercomputers. C-Kermit software offers you online terminal sessions, file transfer and management, and automation of communications tasks over the full range of communication methods in- cluding direct and dialed serial connections and (in most versions) TCP/IP other networks too. C-Kermit's command language operates consistently across all of C-Kermit's plat- forms and over all types of connections. It allows routine, complex, or time-consuming communications and data-transfer tasks to be executed for you automatically. C-Kermit transfers text and binary files faithfully and efficiently with any other kind of computer. The Kermit file transfer protocol takes care of synchronization, error detection and correction, file format and character set conversion, and myriad details you should never have to worry about. It was designed to work in even the most hostile communica- tion environments, where other protocols fail, and at the same time to take full advantage of modern high-bandwidth network connections. C-Kermit embodies the premiere and definitive rendition of the Kermit file-transfer protocol. In some cases other protocols such as FTP and ZMODEM are available too. iii The Kermit file transfer protocol was originally designed in 1981 by Frank da Cruz and Bill Catchings at Columbia University, which has been ``Kermit headquarters'' ever since, and extended over the years by the authors and others Ð principally Joe Doupnik of Utah State University and John Chandler of the Harvard / Smithsonian Astronomical Obser- vatory, and more recently Jeffrey Altman of the Kermit Project Ð to meet the evolving needs of the people who depend on it. Because the Kermit protocol is well documented [21], easy to implement, robust, extensible, and adaptable to almost any style of communication and any computer architecture, it has long since taken its place as a worldwide de facto standard for reliable data transfer. Acknowledgments C-Kermit was written by Frank da Cruz of Columbia University with contributions from hundreds of other developers and testers, all of whom have our deepest thanks, with our sincere apologies to anyone else we might have overlooked (U = University, locations are in the USA unless otherwise indicated, and note that affiliations or locations might have changed since the contribution was made): Chris Adie (Edinburgh U, Scotland); Robert Adsett (U of Waterloo, Canada); Larry Afrin (Clemson U); Jeffrey Altman (Columbia U); Greg Andrews (Telebit Corp, Sun); Barry Archer (U of Missouri); Bengt Andersson (ABC-Klubben, Sweden); Robert Andersson (International Systems A/S, Oslo, Norway); Chris Armstrong (Brookhaven National Lab- oratory); William Bader (Software Consulting Services, Nazareth, PA); Fuat Baran (Columbia U); Stan Barber (Rice U); Jim Barbour (U of Colorado); Donn Baumgartner (Dell Computer Corp); Nelson Beebe (U of Utah); Jeff Bernstein; Karl Berry (UMB); Mark Berryman (SAIC); Dean W Bettinger (SUNY); John Bigg (HP); Gary Bilkus; Peter Binderup (Denmark); David Bolen (Advanced Networks and Services, Inc.); Volker Bor- chert; Jonathan Boswell; Marc Boucher (U of Montreal, Canada); Tim Boyer; Mark Brader (SoftQuad Inc., Toronto); Charles Brooks (EDN); Bob Brown; Mike Brown (Pur- due U); Rodney Brown (COCAM, Australia); Frederick Bruckman; Jack Bryans (Califor- nia State U at Long Beach); Mark Buda (DEC); A. Butrimenko (ICSTI, Moscow); Fer- nando Cabral (Padrão IX, Brasília, Brazil); Björn Carlsson (Stockholm U Computer Centre QZ, Sweden); Bill Catchings (formerly of Columbia U); Bob Cattani (formerly of Columbia U); Davide Cervone (Rochester U, NY); Seth Chaiklin (Denmark); John Chandler (Harvard U/Smithsonian Astronomical Observatory, Cambridge, MA); 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); Kenneth Cochran; Bertie Coopersmith (London, England); Jared Crapo; Chet Creider (U of Western Ontario, Canada); Alan Crosswell (Columbia U); Jeff Damens (formerly of Columbia U); Mark Davies (Bath U, England); Bill Delaney; Igor Sobrado Delgado, Sin-itirou Dezawa (Fujifilm, Japan); Clarence Dold (Pope Valley & Napa, CA); Joe R. iv Preface Doupnik (Utah State U); Frank Dreano (US Navy); John Dunlap (U of Washington); Alex Dupuy (SMART.COM), Jean Dutertre (DEC France and Club Kermit); David Dyck (John Fluke Mfg Co.); Stefaan Eeckels (Statistical Office of the European Community, CEC, Luxembourg); Paul Eggert (Twin Sun, Inc.); Bernie Eiben (DEC); Peter Eichhorn (assyst, Gesellschaft für Automatisierung, Software und Systeme mbH, Kirchheim bei München, Germany); Kristoffer Eriksson (Peridot Konsult AB, Örebro, Sweden); John Evans (IRS, Kansas City); Glenn Everhart (DEC); Vincent Fatica (Syracuse U); Charlie Finan (Cray Research, Darien, CT); Herm Fischer (Encino, CA); Carl Fongheiser (CWRU); Mike Freeman (Bonneville Power Authority); Patrick French; Carl Friedberg, Carl Friend; Mar- cello Frutig (Catholic U, São Pãulo, Brazil); Hirofumi Fujii (Japan National Laboratory for High Energy Physics, Tokyo); Chuck Fuller (Westinghouse); Andy Fyfe (Caltech); Christine M. Gianone (Columbia U); Andrew Gabriel; Gabe Garza; Boyd Gerber; David Gerber; Joseph (Yossi) Gil (Technion, Haifa, Israel); George Gilmer; John Gilmore (UC Berkeley); Madhusudan Giyyarpuram (HP France); Rainer Glaschick (Siemens AG, Paderborn); William H. Glass; Hunter Goatley (Process Software); Malka Gold (Colum- bia U); German Goldszmidt (IBM); Chuck Goodheart (NASA); Alistair Gorman (New Zealand);