Path: utzoo!attcan!uunet!cs.utexas.edu!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!cit-vax!tybalt.caltech.edu!sedwards
From: sedwards@tybalt.caltech.edu (Stephen A. Edwards)
Newsgroups: comp.sys.apple
Subject: Re: console FST EOF
Summary: ASCII confusion...
Keywords: Apple IIGS GS/OS console FST EOF
Message-ID: <11604@cit-vax.Caltech.Edu>
Date: 15 Aug 89 17:12:21 GMT
References: <10727@smoke.BRL.MIL> <3539@internal.Apple.COM> <10736@smoke.BRL.MIL> <3571@internal.Apple.COM>
Sender: news@cit-vax.Caltech.Edu
Reply-To: sedwards@tybalt.caltech.edu (Stephen A. Edwards)
Organization: California Institute of Technology
Lines: 14

Hmmm. A quick glance at a couple of ASCII charts showed that CTRL-Z is and is
not the code for "end of file." According to two references (Apple IIgs
hardware reference manual, Apple IIgs assembly language programming by Scanlon)
CTRL-Z is "SUB" short for "Substitute." Another reference (Programming the
65816 by Eyes & Lichty, see a trend here?) said that it was "End of file."

So who knows...

Ctrl-C is definied as "End of Text." Ctrl-D, which Unix uses, is defined as
"End of Trasmission." Ctrl-Y is "End of Medium" Ctrl-W is "End of Text Block,"
and Ctrl-\ is "File Separator." So, basically, you have a choice.

Of course, we could simply use what the MCP in TRON used:
End of Line.