Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #433: error: one bad user found in front of screen


comp / comp.unix.programmer / xterm rlwrap sbcl

SubjectAuthor
* xterm rlwrap sbclSalvador Mirzo
`- Re: xterm rlwrap sbclOregonian Haruspex

1
Subject: xterm rlwrap sbcl
From: Salvador Mirzo
Newsgroups: comp.unix.programmer, comp.unix.questions, comp.misc
Followup: comp.unix.questions
Organization: A noiseless patient Spider
Date: Thu, 12 Dec 2024 01:22 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.programmer,comp.unix.questions,comp.misc
Subject: xterm rlwrap sbcl
Followup-To: comp.unix.questions
Date: Wed, 11 Dec 2024 22:22:28 -0300
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <87frmtofu3.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 12 Dec 2024 02:22:46 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e88128b70b601236abbe8acbed1b8eee";
logging-data="1912341"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5k8AeQXsUUCVPV6dsMnPJ7d3gi25ePas="
Cancel-Lock: sha1:r0hhCSw/9MNUjxluVUGWzNgznmU=
sha1:lETxUHAMnpEzp6A1tcJ21gJSxDk=
View all headers

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?

Subject: Re: xterm rlwrap sbcl
From: Oregonian Haruspex
Newsgroups: comp.misc, comp.unix.programmer, comp.unix.questions
Followup: comp.unix.questions
Organization: A noiseless patient Spider
Date: Fri, 13 Dec 2024 07:03 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no_email@invalid.invalid (Oregonian Haruspex)
Newsgroups: comp.misc,comp.unix.programmer,comp.unix.questions
Subject: Re: xterm rlwrap sbcl
Followup-To: comp.unix.questions
Date: Fri, 13 Dec 2024 07:03:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <vjgm8c$3999k$1@dont-email.me>
References: <87frmtofu3.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 13 Dec 2024 08:03:41 +0100 (CET)
Injection-Info: dont-email.me; posting-host="0fd1c0dd37bf7929aac0adce1ecefb9d";
logging-data="3450164"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/i71kxA3n/vTecjCoAHip2"
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:tNbnrTraddRgaZ3ne16RMhGeC+E=
sha1:st9njsKfzM8dhPQDdQ4FJ7Hr+8Q=
View all headers

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.

1

rocksolid light 0.9.8
clearnet tor