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:
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'!
Anyways...it'd be nice if the xemacs could track the tty that was
in
use by its own shell buffers to be able to detect gnuclient runs
from within those shells and handle them.
Hmm, so you'd like `gnuclient foo' in an inferior shell to tell the
running XEmacs to load foo without bothering to set up a separate TTY.
That might even be doable, but would require hacking the gnuclient
source code as well as that of gnuserv. Good luck. :-)