all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: rms@gnu.org
Cc: Vincent Lefevre <vincent@vinc17.org>,
	monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: ";0c" in terminal with slow connections
Date: Fri, 07 Sep 2007 07:13:46 -0700	[thread overview]
Message-ID: <200709071413.l87EDkeI026980@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <E1ITXO9-0003a2-1H@fencepost.gnu.org> (Richard Stallman's message of "Fri\, 07 Sep 2007 02\:32\:21 -0400")

Richard Stallman <rms@gnu.org> writes:

  >     > Emacs uses a read-event with a timer for processing the response,
  >     > maybe the response does come back before the timer expires, so it is
  > 					^^^^^^ after
  >     > processed as normal input.
  > 
  >     Yes, I think this is the problem, as it occurs only with connections
  >     having a high latency (such as ADSL). Is a timer really necessary?
  > 
  > If there is a chance that the terminal won't respond at all,
  > the timer would enable Enacs to avoid hanging.  Is that the
  > reason for the timer?

The reason for the timer is to avoid hanging.

  > What is the purpose of making this query in the first place?

The query is used to find out the version of xterm being used.

The reason is to enable the modifyOtherKeys feature in new enough
xterms. With that feature enabled key combinations C-. C-,
and other keys that are normally not usable in a terminal generate
distinct keys and emacs can bind them. Only newer versions of xterm
can do this and AFAIK no other terminal emulators that set TERM to
xterm can do it.

If we just send the escape sequence to enable modifyOtherKeys on a
terminal that does not support it, the escape sequence will appear as
junk on the screen. 

  > Maybe the best thing to do is get rid of it.

  parent reply	other threads:[~2007-09-07 14:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03 10:57 ";0c" in terminal with slow connections Vincent Lefevre
2007-09-04 16:45 ` Richard Stallman
2007-09-04 19:49   ` Stefan Monnier
2007-09-04 22:15     ` Vincent Lefevre
2007-09-05  6:16     ` Richard Stallman
2007-09-06  5:34       ` Dan Nicolaescu
2007-09-06 12:50         ` Vincent Lefevre
2007-09-06 15:28           ` Davis Herring
2007-09-07  6:32           ` Richard Stallman
2007-09-07  9:33             ` Vincent Lefevre
2007-09-07 14:13             ` Dan Nicolaescu [this message]
2007-09-08  7:00               ` Richard Stallman
2007-09-08  8:32                 ` Dan Nicolaescu
2007-09-08  8:21               ` Vincent Lefevre
2007-09-08  8:35                 ` Dan Nicolaescu
2007-09-08  9:32                   ` Vincent Lefevre
2007-09-08 16:17                     ` Dan Nicolaescu
2007-09-09 14:09                       ` Vincent Lefevre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200709071413.l87EDkeI026980@oogie-boogie.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    --cc=vincent@vinc17.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.