Richard Stallman skrev:
A first step would be to provide more realistic settings for baud_rate
in xterm.c, macterm.c, and w32term.c -- for example, 250000 (assuming
that the connection is over a somewhat loaded half-duplex 10 MB LAN).
And then only enable pre-emptive redisplay if baud-rate is < 200000.
Is it possible to tell whether the X connection is local? (Do people
still use remote X connections from distant machines to the local X
server, nowadays?)
Yes, every day.:-)
What about the Linux console? Of course, we can put something in
term/linux.el, but that will take effect even when going through the
net. Is there a way to distinguish real local use from remote use?
Well, it is the same problem as finding out if a TCP/IP socket is connected to
a remote system or not. You can get the remote peer address for the socket
and compare that to the local address(es). If the X connection isn't a TCP/IP
socket, then it is local (i.e. Unix socket).
Jan D.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug