How do I get rlwrap to work inside the Emacs shell / eshell?

When I try to get rlwrap

to work inside an Emacs shell buffer (version 24.3.50.1) (either M-x shell

or M-x eshell

), I get this error message:

rlwrap: Oops, crashed (caught by SIGFPE) - it shouldn't be!

For example:

 rlwrap telnet google.com 80

      

different from a normal terminal (like xterm), but exits the shell inside an Emacs buffer.

Several people have a similar problem, but the only "answer" I could find was the "RTFM" style answer on the mailing lists. I have read this part of the Emacs document and I do not understand what I have to do to make it work rlwrap

from Emacs.

+3


source to share


1 answer


Try using M-x ansi-term

shell / eshell instead.



shell

and eshell

does not provide terminal emulation functionality, but readline

requires terminal emulation capability to move the cursor, etc.

+4


source







All Articles