[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Killing the rest of MORE in a terminal session



   Date: Mon, 5 Mar 90 12:03:32 MST
   From: drstrip@cs.sandia.gov (David R Strip (1411))

   When using a terminal window to a UNIX box over e-net, if I cat
   a file (for example), the whole file gets sent and the lispm does
   mnore processing on it. If I don't want to see any more, control-c
   has not impact since the file has already been sent. How do I tell the
   terminal window to not display what is sitting around waiting to be
   MORE'd to me?

You can't do this.  There's nothing in the TELNET protocol that indicates
where the end of a particular command's output is, so how would the Lispm
know when to stop throwing away output?  Basing it on the amount buffered
in the Lispm's memory is extremely unreliable, as there is no reason to
believe that this will be all the output from the command (the Lispm only
buffers 20,000 bytes), and the buffered output could even end in the middle
of an escape sequence.