Sujet : Re: xterm rlwrap sbcl
De : nospam (at) *nospam* needed.invalid (Paul)
Groupes : comp.unix.questionsDate : 13. Dec 2024, 09:22:31
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vjgqs7$3a8q8$1@dont-email.me>
References : 1 2
User-Agent : Ratcatcher/2.0.0.25 (Windows/20130802)
On Fri, 12/13/2024 2:03 AM, Oregonian Haruspex wrote:
Salvador Mirzo <smirzo@example.com> wrote:
I know next to nothing about terminals. My .profile says TERM=xterm.
>
$ echo $TERM
xterm
>
I really am running PuTTY on Windows and logging in to a FreeBSD system.
>
When I invoke ``rlwrap sbcl'', I get a little bug:
>
--8<-------------------------------------------------------->8---
$ rlwrap sbcl
This is SBCL 2.4.9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
>
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (f(format t "hello~%")
hello
NIL
--8<-------------------------------------------------------->8---
>
Of course, I typed
>
(format t "hello~%")
>
but we end up seeing
>
(f(format t "hello~%")
>
If I type
>
(write-string "hello")
>
we end up with
>
* (w(write-string "hello")
hello
"hello"
>
You get the idea. This doesn't happen with other programs. It seems to
be something specific to sbcl, though I could hardly believe that sbcl
is guilty of anything here.
>
Any remedies?
>
What terminal emulations does Putty support? Try vt100.
OK, I found a dialog to change it from "xterm".
[Picture]
https://i.postimg.cc/Pqm5L2LS/Putty-Set-Terminal.gifSince the connection is SSH over Ethernet, the "baud-rate"
would be mostly irrelevant.
Paul