Ar an triú lá de mí Meitheamh, scríobh Hauke Fath:
The intertubes wouldn't say, so I thought I might ask here:
Is there a way of starting an non-X11 XEMacs gnuserv instance?
I have an old script around that will open a file with gnuclient in an
existing XEmacs instance, or start one up first. It can attach to a
running gnuserv from tty, but I haven't managed to convince it to start
one up from there...
XEmacs with gnuserv currently needs at least one frame. It’s not possible to
start up an XEmacs with, only, a gnuserv process waiting for input. My
approach is to start a TTY XEmacs using screen(1), and attach to it using
gnuclient as needed. This is not hugely different from attaching to it using
screen(1), but does have the advantage that you can attach X11 gnuclient
instances to the TTY XEmacs, and that screen(1) doesn’t eat up C-a
keystrokes :) . (Something easily worked around, I know, but an annoyance
all the same.) Relevant command:
screen -d -m xemacs
If started on a machine with X11 support, you may need to unset DISPLAY in a
shell function to have this work.
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’