Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!jade!eris!spencer From: spencer@eris.UUCP Newsgroups: comp.sys.amiga Subject: Re: Dave Wecker's VT100 Message-ID: <2609@jade.BERKELEY.EDU> Date: Tue, 24-Feb-87 21:24:45 EST Article-I.D.: jade.2609 Posted: Tue Feb 24 21:24:45 1987 Date-Received: Fri, 27-Feb-87 07:00:17 EST References: <1070@ulowell.cs.ulowell.edu> <4239@videovax.Tek.COM> Sender: usenet@jade.BERKELEY.EDU Reply-To: spencer@eris.BERKELEY.EDU (Randy Spencer) Organization: University of California, Berkeley Lines: 45 In article <4239> stever@videovax.Tek.COM (Steven E. Rice, P.E.) writes: >John Roberts (roberts@icst-ecf.ARPA) writes: >> 1) VT100 has a menu category called "xfer mode", with the choices >> of "image" and "CR LF". Which is preferable for downloading C source? > >Choose image mode when running between an Amiga and a VAX, or any other >system which uses newline internally as the line terminator for text >files. Choose CR/LF when transferring to any system which uses carriage >return (or anything other than newline) as the internal line terminator. > >Whichever mode you use, be sure to use it on both ends! > > Steve Rice No actually, you don't have to set it on both ends, it is determined by the sender. The sender goes out to the receiver and in an initialization packet tell it how they are going to do the transfer. Kermit was set up as a file transfer protocol that works between any and all machines, so there is a default protocol that does work on all machines. It is from that default that we start adding features to the transfer. On of those is compression, if the sending kermit says "we are going to use compression" then unless the other side can't compression is the default way to transfer. If the receiver can't do compression it says so and the transfer goes on with less features than the send could handle. Sort of like this: Sender sends packet telling which extra features it wants to use in the transfer. Receiver sends packet telling which of those it can't handle. Send sends first packet as agreed. So if the sender says "Send this file with CR/LF translation" then unless the receiver is really dumb it says OK and they do the translation that way, even (I stress, _EVEN_) if you "set file type text" on the receiver. Sorry, kind of a nut on Kermit, and have spent years debugging transfers. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Randy Spencer P.O. Box 4542 Berkeley CA 94704 (415)284-4740 C#(415)283-5469 I N F I N I T Y spencer%eris@berkeley.edu Now working for |||||||||||::::... . . spencer@USCVAXQ.bitnet But in no way |||||||||||||||::::.. .. . ....ucbvax!eris!spencer Officially representing ||||||||||||:::::... .. s o f t w a r e -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-