Arguments: stream
This function gets the terminal characteristics for
stream. The value returned is a list of keywords
indicating which characteristics are on. The current set of keywords
are :echo
, :raw
,
:cbreak
and :cooked
. The last
three values are mutually exclusive.
An error is signaled if the characteristics cannot be determined. This normally happens when the request is made in a process which is not attached to a terminal (ps shows ? as the terminal), which can occur when a Lisp process is started in emacs with fi:common-lisp and the specified host is remote with respect to the Emacs process. Emacs will, in that case, use rsh to start the remote process, and that process will not be attached to a terminal. To work around this problem, you may configure the Emacs-Lisp interface to use the Unix on command. See your Unix manual to determine if your machine has the on command. If the on command is present, put this in your $HOME/.emacs:
(setq fi::rsh-command "/usr/bin/on")
(setq fi::rsh-args '("-i"))
See eli.htm for information on the Emacs-Lisp interface.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.
Created 2000.10.5.