Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!daemon From: ROKICKI@su-sushi.arpa Newsgroups: net.micro.amiga Subject: Amiga keyboard EOF (control-backslash) Message-ID: <1979@caip.RUTGERS.EDU> Date: Mon, 21-Apr-86 17:50:29 EST Article-I.D.: caip.1979 Posted: Mon Apr 21 17:50:29 1986 Date-Received: Wed, 23-Apr-86 22:07:33 EST Sender: daemon@caip.RUTGERS.EDU Organization: Rutgers Univ., New Brunswick, N.J. Lines: 13 From: Tomas G. Rokicki 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 -------