From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Aichner Newsgroups: gmane.emacs.help Subject: Re: Running bash inside emacs Date: Tue, 03 May 2005 21:06:54 +0200 Organization: The XEmacs Project Message-ID: References: <4277aa50$0$79460$14726298@news.sunsite.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1115232252 18437 80.91.229.2 (4 May 2005 18:44:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 May 2005 18:44:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 04 20:44:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DTOqb-0001JV-9I for geh-help-gnu-emacs@m.gmane.org; Wed, 04 May 2005 20:43:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTOxx-00006X-JR for geh-help-gnu-emacs@m.gmane.org; Wed, 04 May 2005 14:51:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feed.news.tiscali.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-X-Trace: news.t-online.com 1115147100 02 25148 6ZoIr2Nrkdkd9vP 050503 19:05:00 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: V9WQS+ZBYeu9oV3qdk--LTsjbSuVRCHqBKiKDunQRFGwYimg-2a18t X-Attribution: APA X-Face: 4[iHdXiTu\V3u[~\I)*}#kYF[-tYl3VZga/HSOP|K,{L Rtu@f0y/=O&Cu}\:~d|P$JON?pn?j,&CnPb1z#/TL9bkAJwyol&a:SvYj-VYbM=Dtxhk9 =w|R6U3_;SH&B List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26280 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26280 Madhusudan Singh 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/