Groups | Search | Server Info | Login | Register


Groups > comp.unix.questions > #550

Re: xterm rlwrap sbcl

From Salvador Mirzo <smirzo@example.com>
Newsgroups comp.unix.questions
Subject Re: xterm rlwrap sbcl
Date 2024-12-12 13:00 -0300
Organization A noiseless patient Spider
Message-ID <874j383n8h.fsf@example.com> (permalink)
References <87frmtofu3.fsf@example.com> <vjdufn$20g9u$1@dont-email.me> <vjeke1$24hao$1@dont-email.me>

Show all headers | View raw


Paul <nospam@needed.invalid> writes:

> 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

I believe this is a FreeBSD thing.  Using the same PuTTY and the same
Windows, but loging in on a GNU Debian system, I don't see any problems:

--8<-------------------------------------------------------->8---
%uname -a
Linux kontesti.me 6.2.9-x86_64-linode160 #1 SMP PREEMPT_DYNAMIC Wed Apr  5 15:30:32 EDT 2023 x86_64 GNU/Linux
%sbcl --version

SBCL 1.2.4.debian
%echo $TERM
xterm

%rlwrap sbcl
This is SBCL 1.2.4.debian, 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.
* (format t "hello~%")
hello
NIL
--8<-------------------------------------------------------->8---

Back to comp.unix.questions | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

xterm rlwrap sbcl Salvador Mirzo <smirzo@example.com> - 2024-12-11 22:22 -0300
  Re: xterm rlwrap sbcl Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-12-12 06:05 +0000
    Re: xterm rlwrap sbcl Paul <nospam@needed.invalid> - 2024-12-12 07:20 -0500
      Re: xterm rlwrap sbcl Salvador Mirzo <smirzo@example.com> - 2024-12-12 13:00 -0300
        Re: xterm rlwrap sbcl Paul <nospam@needed.invalid> - 2024-12-12 18:57 -0500
          Re: xterm rlwrap sbcl Grant Taylor <gtaylor@tnetconsulting.net> - 2024-12-12 20:40 -0600
          Re: xterm rlwrap sbcl Salvador Mirzo <smirzo@example.com> - 2024-12-13 20:40 -0300
            Re: xterm rlwrap sbcl Salvador Mirzo <smirzo@example.com> - 2024-12-13 20:49 -0300
              Re: xterm rlwrap sbcl Paul <nospam@needed.invalid> - 2024-12-13 19:55 -0500
                Re: xterm rlwrap sbcl Salvador Mirzo <smirzo@example.com> - 2024-12-14 18:51 -0300
    Re: xterm rlwrap sbcl Salvador Mirzo <smirzo@example.com> - 2024-12-25 22:01 -0300
  Re: xterm rlwrap sbcl Eli the Bearded <*@eli.users.panix.com> - 2024-12-13 03:06 +0000
    Re: xterm rlwrap sbcl Salvador Mirzo <smirzo@example.com> - 2024-12-13 20:59 -0300
  Re: xterm rlwrap sbcl Oregonian Haruspex <no_email@invalid.invalid> - 2024-12-13 07:03 +0000
    Re: xterm rlwrap sbcl Paul <nospam@needed.invalid> - 2024-12-13 03:22 -0500
  Re: xterm rlwrap sbcl Bozo User <anthk@disroot.org> - 2025-01-12 23:01 +0000
    Re: xterm rlwrap sbcl Salvador Mirzo <smirzo@example.com> - 2025-01-12 22:06 -0300

csiph-web