Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul Newsgroups: comp.unix.questions Subject: Re: xterm rlwrap sbcl Date: Thu, 12 Dec 2024 07:20:17 -0500 Organization: A noiseless patient Spider Lines: 64 Message-ID: References: <87frmtofu3.fsf@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 12 Dec 2024 13:20:21 +0100 (CET) Injection-Info: dont-email.me; posting-host="6f8af7da0feb519e94ec411dfa2d5523"; logging-data="2245976"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qeGIZQxt9b9s+gR4PaLPEZi04phrgJPg=" User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802) Cancel-Lock: sha1:eqX7WvqEzkQBHDqkDbaupQECjmM= Content-Language: en-US In-Reply-To: Bytes: 2472 On Thu, 12/12/2024 1:05 AM, Lawrence D'Oliveiro wrote: > On Wed, 11 Dec 2024 22:22:28 -0300, Salvador Mirzo wrote: > >> $ echo $TERM >> xterm > > Same here. > >> I really am running PuTTY on Windows and logging in to a FreeBSD system. > > I am running KDE Konsole on Linux to access a local shell. > >> Of course, I typed >> >> (format t "hello~%") >> >> but we end up seeing >> >> (f(format t "hello~%") > > My terminal window shows: > > * (format t "hello~%") > hello > NIL > >> If I type >> >> (write-string "hello") >> >> we end up with >> >> * (w(write-string "hello") >> hello >> "hello" > > My terminal window shows: > > * (write-string "hello") > hello > "hello" > > Most likely suspect: Windows is the weakest link. > This is the easiest thing I could wire up as a simulation for those at home. Since I don't know a thing about LISP, I can't very well address that part of the problem. [Picture] https://i.postimg.cc/9FVtm0S5/putty-ssh-session-overview.gif The $TERM declaration and the color capability, don't exactly match in my copy of PuTTY. The distortion seen by the OP does not look like wrongly emitted color codes, which could make more of a mess. PuTTY is not declaring "xterm-256color" as the term type. [Picture] https://i.postimg.cc/QMtZRXsc/putty-settings.gif Paul