From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: tramp does not work when using athena Date: Fri, 22 Jul 2011 10:51:41 +0200 Message-ID: <4E293A1D.9030803@swipnet.se> 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> <87bowskn17.fsf@muni.brainbot.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311324725 9080 80.91.229.12 (22 Jul 2011 08:52:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2011 08:52:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ralf Schmitt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 10:52:01 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 1QkBSi-0007oT-Pp for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2011 10:52:01 +0200 Original-Received: from localhost ([::1]:57282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkBSi-0007Q9-CQ for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2011 04:52:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkBSf-0007JR-Ln for emacs-devel@gnu.org; Fri, 22 Jul 2011 04:51:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkBSe-0003GZ-7K for emacs-devel@gnu.org; Fri, 22 Jul 2011 04:51:57 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]:39549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkBSd-0003GH-Ra for emacs-devel@gnu.org; Fri, 22 Jul 2011 04:51:56 -0400 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 2DEDAEB9E4 for ; Fri, 22 Jul 2011 10:51:51 +0200 (CEST) X-SENDER-IP: [85.225.45.26] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq5eABg5KU5V4S0aPGdsb2JhbABTiRKeLwsBAQEBNzKIfrtphj8Eo08 X-IronPort-AV: E=Sophos;i="4.67,246,1309730400"; d="scan'208";a="1749833579" Original-Received: from c-1a2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.26]) by ipb4.telenor.se with ESMTP; 22 Jul 2011 10:51:50 +0200 Original-Received: from anon-75-185.ipredate.net (unknown [93.182.185.75]) by coolsville.localdomain (Postfix) with ESMTPSA id 72E6B7FA05A; Fri, 22 Jul 2011 10:51:48 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: <87bowskn17.fsf@muni.brainbot.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.54.99.197 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:142201 Archived-At: Hello. Ralf Schmitt skrev 2011-07-18 10.31: > 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 > `---- There is something else going on here. I can not reproduce this error, I always get "yes" in the buffer. Futhermore, g_spawn_sync is a function in glib. But Emacs never calls it, so where does it come from? Can you run strace on your Emacs to see what it tries to spawn? Since you leave out gconf and rsvg, glib does not get linked in, so the problem dissapears. You should file a proper bug report so we can see how you configured your Emacs. Also, what system do you run on? Jan D.