Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site astrovax.UUCP Path: utzoo!watmath!clyde!floyd!harpo!ulysses!allegra!princeton!astrovax!wls From: wls@astrovax.UUCP (William L. Sebok) Newsgroups: net.unix Subject: Re: Re: Modified CU wanted Message-ID: <293@astrovax.UUCP> Date: Tue, 10-Apr-84 21:55:57 EST Article-I.D.: astrovax.293 Posted: Tue Apr 10 21:55:57 1984 Date-Received: Wed, 11-Apr-84 07:43:28 EST References: <2030@usceast.UUCP> <293@hlhop.UUCP> Organization: Princeton Univ. Astrophysics Lines: 25 > To transfer a file (or just the results of a set of commands), I use > the standard cu command. When you wish to begin the diversion > to a file, simply enter (or have the remote system output): > ~>: Unix_Path_Name > ..... < Your commands go here, like 'type file', or something > ... > ~> > and, the information (i.e., the contents of the file on the remote > system) is stored in the file pointed to by the Unix_Path_Name. > Steven M. Queriolo I seem to remember that when using this technique to talk to VMS with the the original cu, when one gave a VMS "TYPE" command, one either ended up with a carriage return (\r) or an extra newline embedded after every line in the file, I forget which. I also forget what tip does but I seem to remember that it also did not do it right. What is worse is when one wants to transfer text files to the VMS system. Neither cu nor tip knows enough to convert the newslines in the file to carriage returns. This definitely should be an option to tip. There are so many other options to tip, some of dubious utility. This one really should have been thought of. Almost any modem program on a micro-computer can do with ease this thing that is difficult for cu or tip. -- Bill Sebok Princeton University, Astrophysics {allegra,akgua,burl,cbosgd,decvax,ihnp4,kpno,princeton,vax135}!astrovax!wls