all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ralf Schmitt <ralf@brainbot.com>
To: emacs-devel@gnu.org
Subject: Re: tramp does not work when using athena
Date: Mon, 18 Jul 2011 10:31:32 +0200	[thread overview]
Message-ID: <87bowskn17.fsf@muni.brainbot.com> (raw)
In-Reply-To: 87vcv2feou.fsf@engster.org

David Engster <deng@randomsample.de> 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 <stdio.h>
| #include <unistd.h>
| 
| 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




  reply	other threads:[~2011-07-18  8:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-23 11:34 tramp does not work when using athena Ralf Schmitt
2011-06-23 13:24 ` Michael Albinus
2011-06-23 20:40   ` Ralf Schmitt
2011-06-26  7:26     ` Michael Albinus
2011-06-27  8:15       ` Ralf Schmitt
2011-06-27  8:26         ` Ralf Schmitt
2011-06-27 20:34           ` Jan Djärv
2011-06-27 20:53             ` Michael Albinus
2011-07-16 15:06               ` David Engster
2011-07-18  8:31                 ` Ralf Schmitt [this message]
2011-07-22  8:51                   ` Jan Djärv
2011-07-22  9:31                     ` Ralf Schmitt
2011-07-22  9:42                       ` David Engster
2011-07-22 18:07                       ` Ralf Schmitt
2011-07-18 20:50                 ` Michael Albinus
2011-07-21 20:08                   ` David Engster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bowskn17.fsf@muni.brainbot.com \
    --to=ralf@brainbot.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.