[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: terminal-raw mode

> my program is the following
>   (system::terminal-raw *keyboard-input* t)
>   (system::terminal-raw *keyboard-input* nil)

I suggest you use the macro WITH-KEYBOARD documented in impnotes.txt instead
of using Unix specific, undocumented CLISP internals. A look into the
CLISP source reveals that system::terminal-raw expects *terminal-io* as
argument, not *keyboard-input*.

Btw, your comparison should read  (>= i field-length)  in

> (let ((s (make-string field-length)))
>    (do ((i 0)) ((> i field-length))
>      ...
>      (setf i (+ i 1)))

                    Bruno Haible