Re: odd behavior of with-keyboard

Will Mengarini <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
* Don Cohen <[email protected]> [15-08/01=Sat 15:16 -0700]:
> (defun f()(with-keyboard (read-char *keyboard-input*)))
> [...] if I type "~" (tilde) (ascii 126), I get a character
> printed on the 64 bit build but not on the 32 bit build - if I then 
> type another character on the 32 bit build I see the ~ character.

SSH uses #\Return #\~ as an escape sequence.  If you're shelled into
one of the machines via SSH, it could be intercepting the tilde
which you type immediately after the #\Return after "(f)".

If that's happening, then typing a second tilde will return one tilde.

There's an -e option for SSH that changes the escape character.

------------------------------------------------------------------------------
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.