From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "David Abrahams" Newsgroups: gmane.emacs.help Subject: Re: remote X11/GNU emacs/ssh: Incredible slowness loading libs Date: Mon, 30 Sep 2002 19:40:17 -0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: Reply-To: "David Abrahams" NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1033431955 4910 127.0.0.1 (1 Oct 2002 00:25:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2002 00:25:55 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17wArE-0001Fl-00 for ; Tue, 01 Oct 2002 02:25:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wArV-00022U-00; Mon, 30 Sep 2002 20:26:05 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 103 Original-X-Trace: UmFuZG9tSVYMYYYQ7dKNRxm2k/bnW++iqKr2AJ3lLWFy5rsu4jsYoaAf/T3OvH8m Original-X-Complaints-To: abuse@rcn.com Original-NNTP-Posting-Date: 1 Oct 2002 00:17:53 GMT X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal Original-Xref: nntp.stanford.edu comp.emacs:74949 gnu.emacs.help:105568 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2112 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2112 "Krishnakumar B" wrote in message news:dmlit0njctk.fsf@samba.doc.wustl.edu... > On Monday, 30 September 2002, "David Abrahams" wrote: > > > > No need to get nasty. It's hard to know what information people will find > > relevant. > > Sorry if I sounded rude. Running an X application on a non-native X server What does "non-native" mean in this context? It certainly is native x86 code running on an x86 machine. > like Exceed always has problems related to fonts. It's not Exceed, FWIW; it's Cygwin XFree86: http://cygwin.com/xfree/ > > > I have also had slowdowns with running Emacs 21 when X is enabled. This > > > happens when I try connecting to the remote machine using rxvt (shipped > > > with Cygwin). > > > > I'm not using rxvt, to my knowledge. > > What terminal are you using ? I'm using xterm to launch emacs, but I'm confused by your question because I can't see how it's relevant. The slowdowns only occur when emacs isn't running in a terminal window. > > > Try switching your SSH client (for example use PUTTY's terminal > > > window). > > > > Do you really think that's the culprit, considering that I have no > > problems with "emacs -nw" run in an xterm window? > > Since I have exact symptoms that you posted and it works for me when I do > this, I suggested this. It's up to you. Okay. I'm not sure what it means to "switch the SSH client". I have two ways of starting ssh: 1. From within a dos box running cygwin. It doesn't know about my DISPLAY and thus I don't bother with -X 2. From within an xterm window I launch on my local machine from within TWM under cygwin/XFree86 > > I also have no problems running emacs over ssh outside X11, in a regular > > cygwin window. > > What does "outside" mean ? Outside means I pick the "Cygwin Bash Shell" from my start menu and get a "dos box" running bash, with no X server running. When I launch emacs it's running in a character-based mode. > > > I don't know what is causing the slowdowns in the case when I login > > > using plink -ssh > > > > plink? > > It's the command-line utility that ships with Putty. If you have slowdowns with plink, why do you think I'll see an improvement by switching to its terminal window? > > The windows command shell always works, but usually not like a charm. What > > were you using it for? > > To login to a remote machine and start Emacs on the remote machine and have > it display using an X server running on the local windows machine. Uhhhm. Coming up with the correct DISPLAY variable setting for the remote machine is difficult, isn't it? Well, OK, I tried it. And it made... no perceivable difference :( > > > > 2. Wouldn't know how to use it if I could find it > > > > 3. Wouldn't know how to interpret the results > > > > > > tcpdump is too much for this unless you want to get to the root of the > > > problem. > > > > I wouldn't mind, if it resulted in a useful bug report to the GNU emacs > > developers. > > Again it's up to you. If you have the time, I am sure that the GNU Emacs > developers will appreciate the extra information. Do you know where I can find a Cygwin version of this tool (or the equivalent)? -- ----------------------------------------------------------- David Abrahams * Boost Consulting dave@boost-consulting.com * http://www.boost-consulting.com