help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running bash inside emacs


From: Adrian Aichner
Subject: Re: Running bash inside emacs
Date: Tue, 03 May 2005 21:06:54 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b20 (cilantro, windows-nt)

Madhusudan Singh <spammers-go-here@spam.invalid> writes:

> Hi
>
>  I was wondering if it is possible to run a bash shell inside an emacs
> buffer (where the up and down keys recall commands executed
> in .bash_history and do not move the cursor around -- the problem with the
> native shell available in emacs, tab results in command completion, etc.).

Why don't you do it the X?Emacs way and use
M-n runs the command comint-next-matching-input-from-input
M-p runs the command comint-previous-matching-input-from-input
for history.

To insert avoid
TAB runs the command comint-dynamic-complete
use C-q TAB instead

C-q runs the command quoted-insert

Hope this helps,

Adrian

>
> Thanks.

-- 
Adrian Aichner
 mailto:adrian@xemacs.org
 http://www.xemacs.org/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]