From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: term.el (term-emulate-terminal)
Date: Sat, 13 Apr 2002 18:36:53 +0300 [thread overview]
Message-ID: <8962-Sat13Apr2002183653+0300-eliz@is.elta.co.il> (raw)
In-Reply-To: <87k7rb3ee1.fsf@mumon.localnet> (message from Harry Kuiper on 13 Apr 2002 15:40:54 +0200)
> From: Harry Kuiper <hkuiper@xs4all.nl>
> Date: 13 Apr 2002 15:40:54 +0200
>
> 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
> <<<<< Eli's changes I backed out. >>>>>
>
> + 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
> +
> + * term.el (term-emulate-terminal): Extract proper command string
> + which is supplied to term-command-hook.
> +
>
> --- 797,814 ----
> *************** See `term-prompt-regexp'."
> *** 2856,2864 ****
> (beep t)) ; Bell
> ((eq char ?\032)
> ! (let ((end (string-match "\n" str i)))
> (if end
> (progn (funcall term-command-hook
> ! (substring str (1+ i) (1- end)))
> ! (setq i end))
> (setq term-terminal-parameter
> (substring str i))
> --- 2831,2839 ----
> (beep t)) ; Bell
> ((eq char ?\032)
> ! (let ((end (string-match "\r?$" str i)))
> (if end
> (progn (funcall term-command-hook
> ! (substring str (1+ i) end))
> ! (setq i (match-end 0)))
> (setq term-terminal-parameter
> (substring str i))
> <<<<< End >>>>>
next prev parent reply other threads:[~2002-04-13 15:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-13 13:40 term.el (term-emulate-terminal) Harry Kuiper
2002-04-13 15:36 ` Eli Zaretskii [this message]
2002-04-13 17:25 ` Daiki Ueno
2002-04-13 18:15 ` Eli Zaretskii
2002-04-13 18:56 ` Harry Kuiper
2002-04-13 19:24 ` Daiki Ueno
2002-04-13 20:31 ` Harry Kuiper
2002-04-13 21:54 ` Harry Kuiper
2002-04-13 22:31 ` Harry Kuiper
2002-04-14 1:17 ` Daiki Ueno
2002-04-14 6:48 ` Harry Kuiper
2002-04-16 18:52 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8962-Sat13Apr2002183653+0300-eliz@is.elta.co.il \
--to=eliz@is.elta.co.il \
--cc=bug-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.