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

  1. Path: sparky!uunet!munnari.oz.au!mips!mips!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: standard output and standard error
  5. Date: 27 Aug 1992 15:55:34 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 23
  8. Message-ID: <17ittmINNhtr@early-bird.think.com>
  9. References: <1992Aug27.084614.10923@chemeng.ed.ac.uk>
  10. NNTP-Posting-Host: telecaster.think.com
  11.  
  12. In article <1992Aug27.084614.10923@chemeng.ed.ac.uk> haitham@Chemeng.Ed.Ac.Uk writes:
  13. >In LCL4.0 *standard-output* stream is equal to *error-output*. So the output
  14. >directed through any of these will make no difference. Even *terminal-io* is
  15. >the same. I don't want to direct the error output (or progress messages) to
  16. >a file because it is important for the user to see.
  17.  
  18. The following Lucid-specific code will connect *error-output* to the Unix
  19. stderr stream:
  20.  
  21. (defconstand unix-stderr 2)
  22.  
  23. (with-open-stream (*error-output* (make-lisp-stream :output-handle unix-stderr))
  24.   ...)
  25.  
  26. >Another question: is there a way to decrease the size of the program (Lisp Image)?
  27.  
  28. Use the Delivery Toolkit.  It includes a treeshaker that removes unused
  29. code.
  30. -- 
  31. Barry Margolin
  32. System Manager, Thinking Machines Corp.
  33.  
  34. barmar@think.com          {uunet,harvard}!think!barmar
  35.