UNIX to VMS communication problems

Steven M. Haflich smh at mit-eddie.UUCP
Sun Jul 22 00:16:51 AEST 1984


I have used the following shell script command to transfer files from
4BSD to VMS at 1200 baud without problem.  Your problem might be that
many text editors cannot swallow steady 1200 baud input; they were
designed to be driven by people.

You will have to edit this before it will work.  All the "^M" strings
should be replaced with the single char \215, and the "^Z" should be
replaced with \032.  You might have to make additional simple changes to
run this under S5 if you don't have csh, or if echo is significantly
different.

========================
#! /bin/csh
if ( -r $1 ) then
	echo -n set term/noecho \^M
	sleep 2
	echo -n create $1 \^M
	sleep 2
	cat $1 | tr '\012' '\015'
	sleep 2
	echo -n ^Z
	sleep 2
	echo -n set term/echo \^M
else
	echo -n Nothing doing -- $1 unreadable \^M
endif
========================

Steve Haflich, MIT



More information about the Comp.unix mailing list