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