home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / lisp / mcl / 1069 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  910 b 

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