[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
standard stream redirection
My usual solution to the problems of messages that file streams don't
handle is to send the information to a buffer instead. The I can edit
the buffer or print it or do what ever I want. Here's some simple code
to generate a stream that goes to a buffer:
(defvar *buf* ())
(defun make-buf ()
(setq *buf* (zwei:open-editor-stream :buffer-name "my-temp"
:create-p t :no-redisplay t)))
Just send whatever you want to *buf*
-Bill Long