[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrolling Fred Window on output
- To: JCMA@ai.mit.edu (John C. Mallery)
- Subject: Re: Scrolling Fred Window on output
- From: poeck@informatik.uni-wuerzburg.de (Karsten Poeck)
- Date: Thu, 4 May 1995 17:14:45 +0200
- Cc: info-mcl@digitool.com
- Sender: owner-info-mcl@digitool.com
>Is there a convenient and efficient way to make a fred window so that
>current output is always visible?
>
(defclass *autoscroll-window* (Fred-Window)
())
(Defmethod Stream-Tyo ((Ich *autoscroll-window*) char)
(declare (ignore char))
(Call-Next-Method)
(When (zerop (Stream-Column ich))
(window-show-cursor Ich))
)
#|
(let ((window (make-instance '*autoscroll-window*)))
(dotimes (x 100)
(format window "Line ~a~%" x)))
|#
Karsten