The manual says tty-info takes _optional_ argument, but it seems not.
(running under emacs):
Welcome to scsh 0.6.1 (Combinatorial Algorithms)
Type ,? for help.
>
> (tty? (current-input-port))
#t
> (tty-file-name (current-input-port))
"/dev/pts/32"
> (tty-info)
Error: wrong number of arguments
('#{Procedure 10606 (tty-info in scsh-level-0)})
1> (tty-info (current-input-port))
Process scheme segmentation fault (core dumped)
BTW: the manual at http://www.scsh.net/docu/html/man.html is new, isn't it.
That's very handy, thanks!
|