GNU bug report logs - #18713
Very slow startups with TERM=xterm

Previous Next

Package: emacs;

Reported by: Roy Smith <roy <at> panix.com>

Date: Mon, 13 Oct 2014 23:15:03 UTC

Severity: normal

Tags: moreinfo

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Roy Smith <roy <at> panix.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 18713 <at> debbugs.gnu.org
Subject: bug#18713: Very slow startups with TERM=xterm
Date: Tue, 14 Oct 2014 10:33:39 -0400
[Message part 1 (text/plain, inline)]
I downloaded emacs-24.3.94 (I assume that’s what you intended?) and built it with:

./configure --prefix=`/bin/pwd` --with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=n
o --with-tiff=no
./configure --prefix=`/bin/pwd` --with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=n
o --with-tiff=no

It has exactly the same behavior.  Starting it with TERM=xterm-256color, it takes a couple of seconds to get to the welcome screen.  Same pselect6() calls in the trace output:

pselect6(4, [3], [], NULL, {1, 995148137}, {NULL, 8}) = 1 (in [3], left {1, 952766953}) <0.042444>
pselect6(4, [3], [], NULL, {1, 999909468}, {NULL, 8}) = 0 (Timeout) <2.000402>
pselect6(4, [3], [], NULL, {0, 499943592}, {NULL, 8}) = 0 (Timeout) <0.500541>
pselect6(4, [3], [], NULL, {29, 498901886}, {NULL, 8}) = 1 (in [3], left {29, 361558588}) <0.137381>
pselect6(4, [3], [], NULL, {0, 499841425}, {NULL, 8}) = 1 (in [3], left {0, 308628336}) <0.191243>

TERM=ansi starts instantly.


On Oct 14, 2014, at 2:21 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:

>> From: Roy Smith <roy <at> panix.com>
>> Date: Mon, 13 Oct 2014 19:00:45 -0400
>> 
>> I'm running GNU Emacs 24.3.1, with the -nw flag. If have TERM=xterm or
>> TERM=xterm-256color, it takes 2 or 3 seconds to start up. Setting TERM=ansi (or
>> vt100, or vt102), I get instant startups. I'm running on goobuntu (Google's own
>> flavor of ubuntu linux)
> 
> Please try a recent pretest of Emacs 24.4 (available from
> alpha.gnu.org and probably also from goobuntu), I believe this was
> already solved there.
> 
> See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17648.
> 
> 
> 

[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 46 days ago.

Previous Next


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