Subject: bug#14615: xterm--query results in slow -nw startup on some terminals

From: Stefan Monnier <[email-masked]>
Date: Thu, 13 Jun 2013 21:17:38 -0400

>> Can you show C-h l after such a slow startup?
> ESC [ ? 1 ; 2 c C-h l
> Same result in 24.3, but not slow.

Hmm... that looks harmless enough.

Could you add some `message's to xterm--query to see whether we take the
synchronous or the asynchronous route?

Also, can you try to set debug-on-quit and get a backtrace during the
2s wait?

        Stefan "who installed Debian's aterm, but whose aterm refuses to
                start, giving him a BadWindow error instead"