[net.micro.amiga] Amiga keyboard EOF

ROKICKI@su-sushi.arpa (04/22/86)

From: Tomas G. Rokicki <ROKICKI@su-sushi.arpa>

Just another note to beg that control-backslash be fixed in the next
release.  As it is currently set up, it sends a new line and THEN EOF,
even after a carriage return.  Thus, a program which gets input from the
terminal will always see an empty line before EOF, which does not make
for graceful exits.  I tried to get around this with a WaitForChar() call
after each line, but EOF is not considered a character, so WaitForChar()
will not signal it.  It's a bit much to require me to handle my I/O with
RAW: and duplicate all of the CON: editing facilities, just to be able
to trap EOF in a reasonable manner.  Anyone out there have a simple
work-around?                                                     -tom
-------