From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harry Kuiper Newsgroups: gmane.emacs.bugs Subject: Re: term.el (term-emulate-terminal) Date: 13 Apr 2002 23:54:05 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87u1qf1czm.fsf@mumon.localnet> References: <87k7rb3ee1.fsf@mumon.localnet> <8962-Sat13Apr2002183653+0300-eliz@is.elta.co.il> <7fea2bbd-6176-4969-88ea-fa458a704344@deisui.org> <87elhj2zs3.fsf@mumon.localnet> <878z7r2ve0.fsf@mumon.localnet> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1018735028 3050 127.0.0.1 (13 Apr 2002 21:57:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 13 Apr 2002 21:57:08 +0000 (UTC) Cc: Eli Zaretskii , bug-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16wVW7-0000n5-00 for ; Sat, 13 Apr 2002 23:57:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16wVW9-00072l-00; Sat, 13 Apr 2002 17:57:09 -0400 Original-Received: from node-c-4639.a2000.nl ([62.194.70.57] helo=mumon.localnet) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16wVTS-0006xf-00 for ; Sat, 13 Apr 2002 17:54:22 -0400 Original-Received: from hkuiper by mumon.localnet with local (Exim 3.35 #1 (Debian)) id 16wVTB-0007EV-00; Sat, 13 Apr 2002 23:54:05 +0200 Original-To: Daiki Ueno In-Reply-To: <878z7r2ve0.fsf@mumon.localnet> Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:650 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:650 Harry Kuiper writes: > > I noticed one strange thing. The shell prompt is printed twice when I Sorry I made a mistake. Not the shell prompt but the current directory is printed when I press enter. After an elisp crash course (long live info-mode) I understand that this should go to term-command-hook for gud support or directory tracking instead of onto the screen. So if I understand correctly the \032 is an escape-code that is followed by a string that should be sent to term-command-hook. And this did not work correctly when a ^Z was present. Shouldn't the regexp match zero or more ^Z's followed by a newline instead of at least one ^Z? NB: I have the bash prompt set to display the current directory hence the confusion. -- Harry Kuiper hkuiper@xs4all.nl Haarlem, The Netherlands