emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read a reply from the terminal


From: Stefan Monnier
Subject: Re: read a reply from the terminal
Date: Fri, 03 Aug 2007 21:00:52 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>> > I have now tested the code using a timeout of 0.1 on xterm, rxvt,
>> > gnome-terminal, konsole, putty, and a very old xterm (from an old
>> > Solaris). It works fine for all of them. All these terminals support
>> > the "\e[>0c" query.
>> > I also tested it on a Linux console, that does not support the query.
>> 
>> Sorry to bring this up so much later, but is a timeout of 0.1 always
>> appropriate?  Is there ever a circumstance where a remote host would need
>> to provide the information, or is it always trapped by a local terminal
>> driver in such a case?

> The terminal emulator replies.

But if you're running Emacs remotely via an ssh shell, then there's
a network between Emacs and the terminal emulator.  E.g. in the case of
PuTTY, or in my case (xterm -e ssh <host>).


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]