Article View: comp.sys.mac
Article #25338Re: LSP keyboard EOF
From: friedman
Date: Mon, 15 Feb 1988 19:18
Date: Mon, 15 Feb 1988 19:18
37 lines
1820 bytes
1820 bytes
Leonard Rosenthol (leonardr@uxe.cso.uiuc.edu) kindly responded to my query:
>>A LightSpeed Pascal question:
>>In reading from standard input, from the keyboard, is there any way to
>>signal end of file to the program? I can't find any indication in the
>>manual.
>>Thanks to anyone who can help.
> I believe (and Rich will correct me if I am wrong, won't you Rich?) that
>you can signal the end of file the same way you would if you were working on a
>Unix machine (for example) by using a Cmd-D (or Control-D, to those Unix folk).
>I think that the reason for this is that Cmd/Ctl-D is a Pascal standard.
I think I had tried that, but will try it again.
I have also (so far) gotten email responses from Richard Siegel of THINK
(rs4u+@andrew.cmu.edu), who suggested the Enter key, but only if using
the old Mac keyboard; and from Ken Hancock (isle@eleazar.dartmouth.edu),
who suggested Cmd-Shift-3.
I haven't tried any of these yet, but will do so soon.
Thanks to all three of you for the help!
H. George Friedman, Jr.
Department of Computer Science
University of Illinois at Urbana-Champaign
1304 West Springfield Avenue
Urbana, Illinois 61801
USENET: ...!{pur-ee,ihnp4,convex}!uiucdcs!friedman
CSNET: friedman@a.cs.uiuc.edu
ARPA: friedman@a.cs.uiuc.edu
Technical Details
Message-ID:
<164500096@uiucdcsb>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uiucdcsb!friedmanReferences:
<164500095@uiucdcsb>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uiucdcsb!friedman From: friedman@uiucdcsb.cs.uiuc.edu Newsgroups: comp.sys.mac Subject: Re: LSP keyboard EOF Message-ID: <164500096@uiucdcsb> Date: 15 Feb 88 19:18:00 GMT References: <164500095@uiucdcsb> Lines: 37 Nf-ID: #R:uiucdcsb:164500095:uiucdcsb:164500096:000:1340 Nf-From: uiucdcsb.cs.uiuc.edu!friedman Feb 15 13:18:00 1988