home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / lisp / 2308 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.6 KB

  1. Path: sparky!uunet!mcsun!uknet!edcastle!chemeng.ed.ac.uk!stow!haitham
  2. From: haitham@Chemeng.Ed.Ac.Uk (Haitham Lababidi)
  3. Newsgroups: comp.lang.lisp
  4. Subject: standard output and standard error
  5. Message-ID: <1992Aug27.084614.10923@chemeng.ed.ac.uk>
  6. Date: 27 Aug 92 08:46:14 GMT
  7. Sender: news@chemeng.ed.ac.uk
  8. Reply-To: haitham@Chemeng.Ed.Ac.Uk
  9. Organization: Edinburgh University Chemical Engineering Department.
  10. Lines: 22
  11. Originator: haitham@stow
  12.  
  13. I created a program (using DISKSAVE) which reads from standard input and
  14. writes to standard output. The problem is that I want to differentiate between
  15. two sorts of output. The first one is the program output which can be
  16. directed to a file (i.e. under unix: % myprogram < input > output). The other
  17. type include messages concerning the progress of the program which should
  18. appear on the screen.
  19.  
  20. In LCL4.0 *standard-output* stream is equal to *error-output*. So the output
  21. directed through any of these will make no difference. Even *terminal-io* is
  22. the same. I don't want to direct the error output (or progress messages) to
  23. a file because it is important for the user to see.
  24.  
  25. Another question: is there a way to decrease the size of the program (Lisp Image)?
  26.  
  27. Thank you in advance for your help.
  28.  
  29.  
  30. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  31.     Dr. Haitham Lababidi                       Tel  +44 31 650 4862
  32.     Department of Chemical Engineering         Email haitham@uk.ac.ed
  33.     Edinburgh University                                              
  34. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  35.