GNU emacs via ssh
markw-FJ05HQ0HCKaWd6l5hS35sQ at public.gmane.org
markw-FJ05HQ0HCKaWd6l5hS35sQ at public.gmane.org
Sun Jan 25 12:44:03 EST 2009
> Date: Sat, 24 Jan 2009 13:49:13 -0500
> From: Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
> Subject: Re: GNU emacs via ssh
> To: Boston Linux and Unix <discuss-mNDKBlG2WHs at public.gmane.org>
> Message-ID: <497B62A9.6050400-mNDKBlG2WHs at public.gmane.org>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I just installed GNU emacs on my Fedora 10 system and ran the same test,
> and emacs would not even run, but xemacs works fine. So, my solution at
> work will be to grab the xemacs rpms and install xemacs.
Not to say "I told you so," but, well, there it is.
The issue is that when you run ssh with the "-f" there is no valid tty for
emacs to use, and thus it should fail. At some point in the past, I seem
to remember emacs able to detect a condition where it can't get the tty,
and then testing for X11, but I think that code has been removed or moved
to xemacs by the console purists. That may explain why an old ssh example
exists.
>
> On 01/23/2009 02:22 PM, John Abreau wrote:
>> In the first case, ssh is assigned a tty; in the second case, it isn't.
>> Try adding a "-t" to force tty allocation.
>>
>>
[snip]
>>> --
>>> Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
>>> Boston Linux and Unix
>>> PGP key id: 537C5846
>>> PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846
More information about the Discuss
mailing list