Modified CU wanted

William L. Sebok wls at astrovax.UUCP
Wed Apr 11 12:55:57 AEST 1984


> 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



More information about the Comp.unix mailing list