gnuclient does not work when called from tkcvs

[email protected] Tue, 9 May 2006 10:01:39 +0200
Newsgroups gmane.emacs.xemacs.general
Message-ID <OF985A7A66.1523E7A1-ONC1257169.002B311B-C1257169.002C189D@pruftechnik.com>
Hello,

Since I have no idea if this is a tkcvs or xemacs problem, I send this to=
=20
both parties...

tkcvs 8.0.3 can edit files with an external editor, configurable in .tkcv=
s=20
like this:
set cvscfg(editor) "/home/gru/bin/xemacs"

~/bin/xemacs is a wrapper that opens a gnuclient session if xemacs is=20
already running, or starts a new xemacs if not:

--------------------------------------------------------
#!/bin/bash
gnuclient $@ 2> /dev/null
error=3D$?

[ $error -eq 0 ] && exit

xmessage "ErrorCode: $error" &

[ -x /usr/bin/xemacs ] && /usr/bin/xemacs $@
--------------------------------------------------------

This works perfectly everywhere, except when called from tkcvs. From=20
there, gnuclient always returns with an error, even when xemacs is=20
running...

It would be great if anyone could help me there...

TIA,

Markus Grunwald
Softwareentwicklung

PR=DCFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Stra=DFe 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200