* freeze after M-x term, ^L
@ 2002-05-02 7:32 Robert W Anderson
2002-05-02 9:40 ` Harry Kuiper
2002-05-02 15:26 ` Eli Zaretskii
0 siblings, 2 replies; 3+ messages in thread
From: Robert W Anderson @ 2002-05-02 7:32 UTC (permalink / raw)
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2002-05-02 on mirage
configured using `configure --prefix=/home/rwa/linux-packages'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Actions:
M-x term (to enter terminal mode)
^L (to clear screen)
ls (to list files)
at which point emacs freezes indefinitely and must be
killed.
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
Loading fortran-skeletons (source)...done
Loading c++-skeletons (source)...done
File "/home/rwa/.hotlist" does not exist.
(New file)
File "/home/rwa/.hotlist" does not exist.
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Loading emacsbug...done
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: freeze after M-x term, ^L
2002-05-02 7:32 freeze after M-x term, ^L Robert W Anderson
@ 2002-05-02 9:40 ` Harry Kuiper
2002-05-02 15:26 ` Eli Zaretskii
1 sibling, 0 replies; 3+ messages in thread
From: Harry Kuiper @ 2002-05-02 9:40 UTC (permalink / raw)
rwa@mirage.ca (Robert W Anderson) writes:
> This bug report will be sent to the Free Software Foundation,
> not to your local site managers!
> Please write in English, because the Emacs maintainers do not have
> translators to read other languages for them.
<snip>
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
>
> Actions:
>
> M-x term (to enter terminal mode)
> ^L (to clear screen)
> ls (to list files)
>
> at which point emacs freezes indefinitely and must be
> killed.
This problem was solved by Daiki Ueno. His patch will be part of the
next Emacs release. FYI here is the patch:
Index: term.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/term.el,v
retrieving revision 1.46
diff -u -F^( -r1.46 term.el
--- term.el 3 Feb 2002 11:25:23 -0000 1.46
+++ term.el 14 Apr 2002 00:56:23 -0000
@@ -2827,11 +2827,11 @@ (defun term-emulate-terminal (proc str)
((eq char ?\^G)
(beep t)) ; Bell
((eq char ?\032)
- (let ((end (string-match "\r?$" str i)))
+ (let ((end (string-match "\r?\n" str i)))
(if end
- (progn (funcall term-command-hook
- (substring str (1+ i) end))
- (setq i (match-end 0)))
+ (funcall term-command-hook
+ (prog1 (substring str (1+ i) end)
+ (setq i (match-end 0))))
(setq term-terminal-parameter
(substring str i))
(setq term-terminal-state 4)
--
Harry Kuiper hkuiper@xs4all.nl
Haarlem, The Netherlands
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: freeze after M-x term, ^L
2002-05-02 7:32 freeze after M-x term, ^L Robert W Anderson
2002-05-02 9:40 ` Harry Kuiper
@ 2002-05-02 15:26 ` Eli Zaretskii
1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2002-05-02 15:26 UTC (permalink / raw)
Cc: bug-gnu-emacs
On Thu, 2 May 2002, Robert W Anderson wrote:
> M-x term (to enter terminal mode)
> ^L (to clear screen)
> ls (to list files)
>
> at which point emacs freezes indefinitely and must be
> killed.
Thanks, this bug is already fixed for the next release.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-02 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-02 7:32 freeze after M-x term, ^L Robert W Anderson
2002-05-02 9:40 ` Harry Kuiper
2002-05-02 15:26 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).