From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Why is Emacs so slow when used remotely? Date: Thu, 23 Sep 2010 08:33:41 +1000 Organization: Unlimited download news at news.astraweb.com Message-ID: <87iq1xs916.fsf@puma.rapttech.com.au> References: <76f5ba95-cc68-4326-a962-f515c0fb70cd@y31g2000vbt.googlegroups.com> <3ebca0e6-c698-44dd-a4fd-6166233f5eba@q26g2000vbn.googlegroups.com> <87ocbqsq3g.fsf@puma.rapttech.com.au> <87tylizq1x.fsf@kuiper.lan.informatimago.com> <87d3s6s1y3.fsf@lola.goethe.zz> <874odiylly.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291872138 19366 80.91.229.12 (9 Dec 2010 05:22:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 05:22:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 06:22:14 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQYxJ-0004ks-1b for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 06:22:13 +0100 Original-Received: from localhost ([127.0.0.1]:46174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQYxI-0005DH-9M for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 00:22:12 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!news.alt.net!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:TbQOaOyF8AGxYJJ6B+xestAfN7s= Original-Lines: 47 Original-NNTP-Posting-Host: 8a9835dd.news.astraweb.com Original-X-Trace: DXC=Jk`WTCX4N8XeIcSKiG^o_UL?0kYOcDh@Zi=VFiPm?<[U3L9oLM4\jnZEjbCDJKa`PPj<8YH9fgIYQ Original-Xref: usenet.stanford.edu gnu.emacs.help:181438 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76730 Archived-At: pjb@informatimago.com (Pascal J. Bourguignon) writes: > David Kastrup writes: > >> pjb@informatimago.com (Pascal J. Bourguignon) writes: >> >>> Tim X writes: >>> >>>> A few things to try ... >>>> >>>> 1. turn off tooltip mode >>> >>> Yes. Anything graphic. >>> >>> >>>> 2. Try running with -nw to turn off X and only have a terminal UI >>>> and see what the performance is like. this will let you know if >>>> the problem is basic emacs or the X protocol stuff >>> >>> This is not useful, if you only work with text. The X protocol is >>> not significantly worse than any other terminal protocol to send >>> over text. >> Not my practical experience. When I run I don't use the menus, mouse or toolbar. However, -nw is much faster than X. The only issue I've had is with different local X terminals 'grabbing' some keys, making some key combinations harder to achieve in the remote emacs. Depending on yhour window manager and terminal emulator, it may be necessary to tweak things to get the full list of keys to the remote emacs. However, my recommendation for the OPs question is to run one of the X compression protocols. X was designed for a LAN rather than a WAN and has a lot of overhead. However, much of this is easily compressed. In the past, on a 56k modem, I used dxcp with good results. Still a bit slow, but usable. Anyone using DSL should get much better results. There is also nxproxy, which I've not used, but which is based on the concepts in dxcp. Setting up dxcp was fairly trivial. Tim -- tcross (at) rapttech dot com dot au