Glynn Clements <glynn(a)sensei.co.uk> writes in xemacs-beta(a)xemacs.org:
> Jan Vroonhof wrote:
...
>> I think he starts XEmacs from his WM but is running gnuclient in an
>> xterm.
> Yep, that is the case.
I see. That should work.
>> Anybody have a clue about what is typically different between a WM
>> environment and say a shell in Xterm? (Note the unix environment is
>> more-or-less the same in each case)
The Unix environment more than likely isn't unless you have been
really, really careful. I'm constantly running into differences.
> Well, XEmacs has no controlling tty. In my case (fvwm2), stdin is
> /dev/null and stdout/stderr are ~/.xsession-errors.
Good.
> Also, a program run from an xterm will generally inherit any
> environment settings which are made in /etc/profile, ~/.profile etc,
> while a program run from the WM won't.
Right.
> However, my Xsession script sources both of these files, so there
> shouldn't be any differences in the environment in this case.
Unless you do something different when the scripts are run
interactively -vs- noninteractively.