You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which could be useful in providing more information.
When I invoke sbcl without rlwrap, I get the normal, expected
behavior:
$ 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.
* (format t "hello~%")
hello
NIL
*
If I invoke with rlwrap, however, we find a little imperfection as
soon as we press RET after the command given to SBCL:
$ 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
Trying rlwrap out with other programs, we find other problematic
behavior. For instance, a sample program called history's normal
behavior is:
$ ./history
prompt> hello1
hello1: command not found
prompt> hello2
hello2: command not found
prompt> Good-bye!
$
Under rlwrap, we get:
$ rlwrap ./history
prompt> hello1 hello1
hello1: command not found
prompt> hello2 hello2
hello2: command not found
Good-bye!
$
It makes the command given to history be repeated. Upon ^D, we also
find an extra newline at the end. Notice that history does not use a
readline library in any way. Is this an rlwrap problem? Or is it a
terminal configuration that I'm not doing? This is happening on:
This issue is coming from this request for help at comp.unix.questions
https://comp.unix.questions.narkive.com/PyZWXzFH/xterm-rlwrap-sbcl
which could be useful in providing more information.
When I invoke sbcl without rlwrap, I get the normal, expected
behavior:
If I invoke with rlwrap, however, we find a little imperfection as
soon as we press RET after the command given to SBCL:
Under rlwrap, we get:
It makes the command given to history be repeated. Upon ^D, we also
find an extra newline at the end. Notice that history does not use a
readline library in any way. Is this an rlwrap problem? Or is it a
terminal configuration that I'm not doing? This is happening on:
Here's the source code of history.c (in case it matters):
I appreciate any help on this. Thanks!
The text was updated successfully, but these errors were encountered: