GNU emacs via ssh

John Abreau jabr-iwcNaMm7aMIiq3RsQ1AnAw at public.gmane.org
Fri Jan 23 14:22:13 EST 2009


In the first case, ssh is assigned a tty; in the second case, it isn't.
Try adding a "-t" to force tty allocation.



On Fri, Jan 23, 2009 at 11:57 AM, Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org> wrote:
> When I ssh -X <host>, and run /usr/bin/emacs everything works fine:
> (emacs)
> Loading disp-table...done
> Loading tool-bar...done
> Loading image...done
> Loading tooltip...done
> Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el
> (source)...done
> Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el
> (source)...
> Loading encoded-kb...done
> Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el
> (source)...done
> Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el
> (source)...done
> Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el
> (source)...done
> Loading /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el
> (source)...done
> Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el
> (source)...done
> Loading /usr/share/emacs/site-lisp/site-start.d/tramp-init.el
> (source)...done
> Loading mwheel...done
> Loading jka-compr...done
>
> But, when I run emacs using ssh -X -f <host> /usr/bin/emacs, it fails while
> reading lang-coding-systems-init.el.
> (emacs)
> Loading disp-table...done
> Loading tool-bar...done
> Loading image...done
> Loading tooltip...done
> Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el
> (source)...done
> Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el
> (source)...
> or: Wrong type argument: stringp, nil
>
> In both cases the <host> I was coming from and going to are the same. The
> target system is running RHEL 5.2. I actually deleted /usr/share/emacs and
> deinstalled and reinstalled emacs just in case there were some artifacts
> from a previous installation, though the RHEL 5.2 was a clean install. The
> reason I can't run emacs on my workstation is that it is an IA64 system and
> I usually compile from emacs, so I need to be on an x86 system since I am
> using a pre-built set of compilation tools. I've tested this on a number of
> different systems we have here, and with a couple of different ~/.emacs
> files (and no ~/.emacs). I specified /usr/bin/emacs just to eliminate any
> hidden aliases. I suspect that the issue might be that it cannot detect the
> keyboard using the ssh -f (which implies -n) option.
>
> --
> 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
>
>
>
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
>
>



-- 
John Abreau / Executive Director, Boston Linux & Unix
AIM abreauj / JABBER jabr-iMZfmuK6BGBxLiRVyXs8+g at public.gmane.org / YAHOO abreauj / SKYPE zusa_it_mgr
Email jabr-mNDKBlG2WHs at public.gmane.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99





More information about the Discuss mailing list