GNU bug report logs - #15013
emacs -nw doesn't always restore the terminal screen

Previous Next

Package: emacs;

Reported by: "Andries E. Brouwer" <Andries.Brouwer <at> cwi.nl>

Date: Fri, 2 Aug 2013 21:10:01 UTC

Severity: normal

Merged with 10959, 14491

Found in version 23.3

To reply to this bug, email your comments to 15013 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15013; Package emacs. (Fri, 02 Aug 2013 21:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Andries E. Brouwer" <Andries.Brouwer <at> cwi.nl>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 02 Aug 2013 21:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Andries E. Brouwer" <Andries.Brouwer <at> cwi.nl>
To: bug-gnu-emacs <at> gnu.org
Cc: 14491 <at> debbugs.gnu.org
Subject: Re: emacs -nw doesn't always restore the terminal screen
Date: Fri, 2 Aug 2013 18:56:05 +0200
Two months ago I wrote

> Sometimes after exiting "emacs -nw" the cursor is left
> in the middle of a former terminal buffer.
> It feels like a timing issue.

Yesterday I had a different emacs problem (utf-8 pasted
into an emacs -nw buffer was corrupted when preceded by an
ESC-q command, for any q), and debugging showed that the problem
was not with emacs but with luit, a layer that sits between
xterm and emacs -nw. Since luit parses its input and recognizes
escape sequences, it is in a state where it truncates UTF-8
when it thinks it is reading an ISO 2022 escape sequence.

OK - so emacs -nw under luit has some strange corruption issues.

Returning to this old problem, I now conjecture that also that was
caused by luit. It is somewhat difficult to reproduce, but a moment ago
I did reproduce it once with emacs -nw under luit, and saw no problems
without luit.

Perhaps the problem has been solved and no emacs fixes are required.

Andries





Merged 10959 14491 15013. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Aug 2013 21:28:01 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.