unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Adrian Aichner <adrian@xemacs.org>
Subject: Re: Running bash inside emacs
Date: Tue, 03 May 2005 21:06:54 +0200	[thread overview]
Message-ID: <sm141641.fsf@smtprelay.t-online.de> (raw)
In-Reply-To: 4277aa50$0$79460$14726298@news.sunsite.dk

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/

      parent reply	other threads:[~2005-05-03 19:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 16:47 Running bash inside emacs Madhusudan Singh
2005-05-03 18:29 ` Pascal Bourguignon
2005-05-03 18:52   ` Madhusudan Singh
2005-05-03 19:13     ` Walker Pendleton
2005-05-03 19:57       ` Madhusudan Singh
2005-05-03 19:24     ` J. David Boyd
2005-05-03 22:53     ` Tim X
2005-05-04 10:11     ` Phillip Lord
2005-05-05 17:08       ` Kevin Rodgers
2005-05-03 19:06 ` Adrian Aichner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sm141641.fsf@smtprelay.t-online.de \
    --to=adrian@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).