[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ksh and X windows.
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: ksh and X windows.
- From: Joachim Schipper <j_(_dot_)_schipper_(_at_)_math_(_dot_)_uu_(_dot_)_nl>
- Date: Sun, 14 May 2006 22:47:23 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
On Sat, May 13, 2006 at 01:53:36PM -0400, Peter Fraser wrote:
> My apologies, for not noticing that faq entry. But is
> is not a solution in general.
> I had a menu entry for "emacs", The effect I got
> was the shell inside emacs didn't have ENV set,
> and by that time ksh is not going to look at
> .profile. I tried to come up with a simple
> example of the problem.
> Why doesn't Xsession just do a ". ~/.profile"
> before calling /usr/X11R6/bin/fvwm ?
Because .profile might do stuff that does not, at all, make sense in a
context that is not a text-only shell. (E.g. my .profile exec's
misc/screen under the right conditions; I presume this would sort of
work, but not produce a result that is desired, foreseen, or even
If that's what you want, how about just adding that line to ~/.xinitrc?
It's not hard, but you do get to keep the pieces.
 This being UNIX, though, it will do exactly what you told it to do.
Visit your host, monkey.org