From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Schmitt Newsgroups: gmane.emacs.devel Subject: Re: tramp does not work when using athena Date: Mon, 18 Jul 2011 10:31:32 +0200 Message-ID: <87bowskn17.fsf@muni.brainbot.com> References: <87d3i44w8a.fsf@muni.brainbot.com> <87liwsof3a.fsf@gmx.de> <87d3i4b7to.fsf@brainbot.com> <87sjqx834y.fsf@gmx.de> <878vsnzo42.fsf@muni.brainbot.com> <87vcvry915.fsf@muni.brainbot.com> <4E08E971.3080800@swipnet.se> <87y60n574b.fsf@gmx.de> <87vcv2feou.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310979195 1606 80.91.229.12 (18 Jul 2011 08:53:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 08:53:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 18 10:53:12 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QijZf-0000pX-LU for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 10:53:11 +0200 Original-Received: from localhost ([::1]:33985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QijZe-0001Ez-D3 for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 04:53:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QijG2-0003np-Tr for emacs-devel@gnu.org; Mon, 18 Jul 2011 04:32:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QijFy-0004Kd-8H for emacs-devel@gnu.org; Mon, 18 Jul 2011 04:32:54 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:46510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QijFx-0004KM-Av for emacs-devel@gnu.org; Mon, 18 Jul 2011 04:32:49 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QijFv-0002QT-UW for emacs-devel@gnu.org; Mon, 18 Jul 2011 10:32:47 +0200 Original-Received: from mail.brainbot.com ([217.86.167.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Jul 2011 10:32:47 +0200 Original-Received: from ralf by mail.brainbot.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Jul 2011 10:32:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mail.brainbot.com User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:+8UxDAWqii9kNr0EFDDOcIQmiPk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142090 Archived-At: David Engster writes: > > are there any news on that front? I'm afraid I'm struggling with the > same problem on GNU/Linux with a Lucid-build. While using 'sshx' works > in principal, it fails to use a shared ssh connection, which is pretty > important for me when using Tramp in eshell, otherwise it's just too > slow. (Emacs/GTK works fine, though.) I can give you some more details on the problem itself. tramp uses start-process to execute a shell and wait for the initial prompt. But the shell doesn't output one, since stdin is not connected to a tty (It should be). I used the following short program: ,----[ isatty.c ] | #include | #include | | int main(int argc, char **argv) | { | fprintf(stdout, isatty(1) ? "yes\n" : "no\n"); | return 0; | } `---- Running the following command ,---- | [py27] [git:master+] ~/vendor/emacs/ % src/emacs -Q --execute '(progn (start-process "test" "test" "/home/ralf/isatty")(switch-to-buffer "test"))' | | (process:18919): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but SIGCHLD action was set to SIG_IGN and ECHILD was received by waitpid(), so exit status can't be returned. This is a bug in the program calling g_spawn_sync(); either don't request the exit status, or don't set the SIGCHLD action. | Warning: Cannot convert string "Inconsolata-11" to type FontStruct `---- gives me a buffer with the string "no". The above warning message looks like another problem. I worked around the issue by configuring with ,---- | ./configure --with-x-toolkit=athena --with-xft --without-gconf --without-rsvg `---- -- Cheers, Ralf