On Sun, 02 Nov 2003, hniksic(a)xemacs.org wrote:
Scott Blachowicz <scott.xemacs(a)mail.dsab.rresearch.com>
writes:
> 1) I ssh into a Linux box
> 2) run 'xemacs -q'
> 3) Within xeamcs, do `M-x gnuserv-start'
> 4) Within xemacs, do `M-x shell'
> 5) Within the *shell* buffer, type 'gnuclient foobar'
>
> At this point, if I have a usable $DISPLAY setting, I would get a new
> frame. If I do NOT have a usable $DISPLAY, it complains about:
If you have a usable DISPLAY, then ssh X11 forwarding is working.
How are you doing the different ssh commands. If you don't have a
usable DISPLAY don't you have to run xemacs -nw?
Byt *why* are you trying to run terminal-based GNU client under an
Emacs shell? Are you aware that Emacs shell doesn't provide a
terminal emulation? If you wish to run XEmacs under itself, use `M-x
term' instead of `M-x shell', and it will probably work.
If you want to edit a file from the shell buffer, simply use `C-x C-f'!
C-x C-f <foobar> would work for 'gnuclient <foobar>' command from the
*shell* buffer. There are various commands that invoke $EDITOR, like
crontab -e, which should work if you've done export EDITOR=gnuclient,
and have gnuserv running.
-jeff