Reading long lines from TTY

David Lassner david at uhccux.uhcc.hawaii.edu
Fri Feb 3 13:26:29 AEST 1989


Any suggestions on using standard utilities to read VERY
long lines from the TTY using Unix (Ultrix 2.2).  The
intuitive:
	%cat > filename
and
	%cp /dev/ttyxx filename
both stop accepting characters after about 250 without a CR.

Our user basically wants to do the equivalent of a TOPS-20
	@copy tty: filename
to upload text that does not contain line breaks.  Yes, we
know about Kermit and other protocols, but they can't be
used in this case.

-- 
David Lassner, University of Hawaii Computing Center, 808/948-7351
INTERNET: david at uhccux.uhcc.hawaii.edu      BITNET: david at uhccux
UUCP:     ...!ucsd!nosc!uhccux!david        PLATO:  david/p/hawaii



More information about the Comp.unix.questions mailing list