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 20:56:28 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87elhj2zs3.fsf@mumon.localnet> References: <87k7rb3ee1.fsf@mumon.localnet> <8962-Sat13Apr2002183653+0300-eliz@is.elta.co.il> <7fea2bbd-6176-4969-88ea-fa458a704344@deisui.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1018728121 28107 127.0.0.1 (13 Apr 2002 20:02:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 13 Apr 2002 20:02:01 +0000 (UTC) Cc: Eli Zaretskii , bug-gnu-emacs@gnu.org Return-path: Original-Received: from hermes.netfonds.no ([195.204.10.138]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16wTc3-0006jp-02 for ; Sat, 13 Apr 2002 21:55:07 +0200 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164]) by hermes.netfonds.no (8.10.1/8.9.3) with ESMTP id g3DIvDf02593 for ; Sat, 13 Apr 2002 20:57:13 +0200 (CEST) Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16wShz-0003dl-00; Sat, 13 Apr 2002 14:57:11 -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 16wShb-0003cg-00 for ; Sat, 13 Apr 2002 14:56:47 -0400 Original-Received: from hkuiper by mumon.localnet with local (Exim 3.35 #1 (Debian)) id 16wShJ-0005np-00; Sat, 13 Apr 2002 20:56:29 +0200 Original-To: Daiki Ueno In-Reply-To: <7fea2bbd-6176-4969-88ea-fa458a704344@deisui.org> Original-Lines: 37 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:646 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:646 Daiki Ueno writes: > >>>>> In <8962-Sat13Apr2002183653+0300-eliz@is.elta.co.il> > >>>>> "Eli Zaretskii" wrote: > > > I looked at the diffs between term.el in Emacs-21.1 and Emacs-21.2 > > > using these I backed out the change Eli Zaretskii made at 2002-02-03 > > > (see below, something about matching terminal prompt). After that > > > term works OK again for me. > > > Actually, this change was suggested by Daiki Ueno; I was asked > > (probably by Richard Stallman) to install it. > > > The bug which the change was supposed to fix is explained here: > > > http://mail.gnu.org/pipermail/bug-gnu-emacs/2002-January/010123.html > > I guess it is the bug introduced by my patch, if the infloop is caused > by (string-match "\r?$" ""). The patch should be: > > > > ! (let ((end (string-match "\r?\n" str i))) > > rather than: > > > > ! (let ((end (string-match "\r?$" str i))) > Daiko, Sorry but this brings back my problem again. :-( I'm not familiar with elisp programming nor terminal emulation so I don't really know how to help. What is the regexp supposed to match? Greetings, -- Harry Kuiper hkuiper@xs4all.nl Haarlem, The Netherlands