home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!raek
- From: raek@athena.mit.edu (Robyn A E Kozierok)
- Newsgroups: comp.lang.lisp.mcl
- Subject: Redirecting input
- Message-ID: <1992Jul24.175110.22804@athena.mit.edu>
- Date: 24 Jul 92 17:51:10 GMT
- Sender: news@athena.mit.edu (News system)
- Organization: Massachusetts Institute of Technology
- Lines: 10
- Nntp-Posting-Host: e40-008-13.mit.edu
-
- I am writing a program which need to be able to take its input either
- interactively or from a file. On another platform I have been able to
- accomplish this by writing the code using "read" to do the input, and then
- setting *standard-input* to the stream which is my opened input file
- whenever I needed to use the file version. In MCL, setting *standard-input*
- seems to have no effect, however, and input is still expected in the listener.
-
- How can this be accomplished using MCL?
-
- --Robyn
-