🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189638

Re: Can one use the readline library in Shell Mode?

#189638
From: Joe Wells
Date: Thu, 20 Dec 1990 01:06
21 lines
1673 bytes
In article <1990Dec18.203302.26023@sunrise.com> samborn@sunrise.com (Kevin Samborn) writes:

	   Is it possible to still gain the benefits of running your
   sub-processes under Shell Mode, and still use the readline library?
   Specifically, I would like to run GDB under 18.55, and gain the
   benefits of having emacs deal with the source files.  However, I would
   still like to use GDB's readline library for inputting at the command
   line.  I know that under emacs there are many more editing
   capabilities, but I really like some of readline's functions, like the
   visual history (ctrl-p & ctrl-n).

You could run the subprocess inside a terminal-emulator window.  However,
I don't think you want to do this.  Instead, you should use the "comint"
package from CMU.  I believe it provides all the functionality of the
readline library, and since it is in elisp, it is of course easily
extended.  Basically, comint is a drop-in replacement for Shell Mode.

-- 
Enjoy,

Joe Wells <jbw@bu.edu>
Technical Details
Message-ID: <JBW.90Dec19200646@bigbird.bu.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!nntp-read!jbw
References: <1990Dec18.203302.26023@sunrise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,e3f345659791e94e
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-12-19 17:06:46 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!nntp-read!jbw
From: jbw@bigbird.bu.edu (Joe Wells)
Newsgroups: gnu.emacs.help
Subject: Re: Can one use the readline library in Shell Mode?
Message-ID: <JBW.90Dec19200646@bigbird.bu.edu>
Date: 20 Dec 90 01:06:46 GMT
References: <1990Dec18.203302.26023@sunrise.com>
Sender: news@bu.edu.bu.edu
Organization: Boston University Computer Science Department
Lines: 21
In-reply-to: samborn@sunrise.com's message of 18 Dec 90 20:33:02 GMT