>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Robert_Pluim(a)BayNetworks.COM (Robert Pluim) writes:
> if I do: xemacs -vanilla & (which creates an X frame) and
then:
> gnuclient -nw from the same xterm, gnuclient hangs. I can ^Z
> it, and then bring xemacs to the foreground, and I'll get a tty
> frame.
>
> If I do the gnuclient -nw from a different xterm, everything
> works as expected.
Jan> Unfortunately this a known problem. It is basically the unix
Jan> terminal group mechanism which is getting our way here.
OK. It's not that big a deal, it just struck me as strange.
Jan> The problem could be avoid if you could do 'xemacs -unmapped
Jan> </dev/null &' or XEmacs could itself detach from its
Jan> terminal. However this cannot currently be as XEmacs needs
Jan> stdin to be a tty. This could be solved by -batch like mode
Jan> (which has a stream device[1] and thus does not need a tty)
Jan> that does not exit when some flag is set. Gnuserv-start could
Jan> then set this flag.
Jan> Alternatively 'gnuclient' could be me made to proxy the stuff
Jan> to its own pseudo terminal like 'script' does. This would
Jan> also make the signal forwarding a lot cleaner.
I don't know anything about script, but I'll have a look at it. Maybe
something will suggest itself (but is the gain worth the effort?)
Robert
--
Robert Pluim Voice: +33 4 92 96 17 43
Systems Development Engineer Fax: +33 4 92 96 15 32
Nortel Networks
<URL:mailto:rpluim@nortelnetworks.com>