From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: fmoreau Newsgroups: gmane.emacs.help Subject: Re: undo in shell buffer? Date: Fri, 9 Jan 2009 05:38:13 -0800 (PST) Organization: http://groups.google.com Message-ID: <0a833e42-ae6b-47aa-ae5d-a922b4d32970@o40g2000prn.googlegroups.com> References: <87mye1wi9q.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1231508528 20891 80.91.229.12 (9 Jan 2009 13:42:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Jan 2009 13:42:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 09 14:43:20 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LLHdq-0002Vs-CR for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jan 2009 14:43:14 +0100 Original-Received: from localhost ([127.0.0.1]:56523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLHca-0005oM-HC for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jan 2009 08:41:56 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!postnews.google.com!o40g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 213.41.232.205 Original-X-Trace: posting.google.com 1231508293 9828 127.0.0.1 (9 Jan 2009 13:38:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 9 Jan 2009 13:38:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o40g2000prn.googlegroups.com; posting-host=213.41.232.205; posting-account=ekTE0goAAADiVCThPmo4ph0C5bTUhQOx User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121622 Fedora/3.0.5-1.fc9 Firefox/3.0.5,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 grimoire.wyplay.int:3128 (squid/2.5.STABLE14) Original-Xref: news.stanford.edu gnu.emacs.help:165871 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:61204 Archived-At: On Jan 8, 11:21=A0pm, Tim X wrote: [...] > term mode: this is a more sophisticated shell interface with support > for ANSI escape characters and can run programs that require more > sophisticated terminal I/O, such as ncurses based programs. To get the > best out of this mode, you should install the etc/e/term-color terminfo > file in the appropriate place e.g. /etc/terminfo/e on your system. Term > mode also provides two different operational modes - character mode and > line mode. In terminal character mode, all your characters are sent to > the shell, so hitting the up arrow will be interpreted by the shell > (under bash, this would usually cycle through command history). That's not entirely true: for example in term mode where I use bash as shell, I can't call the 'shell-expand-line' readline function anymore. This function is binded to M-C-e. Francis