Re: ksh and X windows.
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 sensible[1].) 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. Joachim [1] This being UNIX, though, it will do exactly what you told it to do.
Re: ksh and X windows.
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 ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Holland Sent: Saturday, May 13, 2006 1:33 PM To: misc Subject: Re: ksh and X windows. Peter Fraser wrote: > If you install a new 3.9 system, and enable X windows > (The only package I installed was emacs) > > Create a new userid with ksh as its shell > and sign on though X. > > ~/.profile does not get executed > > Nor does ~/.profile get executed then a > new xterm is created using the left click > menu in the background. http://www.openbsd.org/faq/ > I expect this related to my earlier messages > about .profile and ksh. Got me, I see you have asked a lot of questions, often in the tone of a remarkable discovery that most of us already knew about. A little time doing some research on your own will be far more educational. For that reason, I deleted the rest of the link above. The answer to your quest..er..statement is very much in there. Start reading. Nick.
Re: ksh and X windows.
Peter Fraser wrote: If you install a new 3.9 system, and enable X windows (The only package I installed was emacs) Create a new userid with ksh as its shell and sign on though X. ~/.profile does not get executed Nor does ~/.profile get executed then a new xterm is created using the left click menu in the background. http://www.openbsd.org/faq/ I expect this related to my earlier messages about .profile and ksh. Got me, I see you have asked a lot of questions, often in the tone of a remarkable discovery that most of us already knew about. A little time doing some research on your own will be far more educational. For that reason, I deleted the rest of the link above. The answer to your quest..er..statement is very much in there. Start reading. Nick.
Re: ksh and X windows.
On Sat 2006.05.13 at 13:16 -0400, Peter Fraser wrote: > If you install a new 3.9 system, and enable X windows > (The only package I installed was emacs) > > Create a new userid with ksh as its shell > and sign on though X. > > ~/.profile does not get executed > > Nor does ~/.profile get executed then a > new xterm is created using the left click > menu in the background. > > I expect this related to my earlier messages > about .profile and ksh. man xterm - see loginShell you can change defaults here: /etc/X11/app-defaults/XTerm or in ~/.Xresources
Re: ksh and X windows.
On 2006/05/13 13:16, Peter Fraser wrote: > Create a new userid with ksh as its shell > and sign on though X. > > ~/.profile does not get executed > > Nor does ~/.profile get executed then a > new xterm is created using the left click > menu in the background. that's normal; see xterm(1) about -ls
ksh and X windows.
If you install a new 3.9 system, and enable X windows (The only package I installed was emacs) Create a new userid with ksh as its shell and sign on though X. ~/.profile does not get executed Nor does ~/.profile get executed then a new xterm is created using the left click menu in the background. I expect this related to my earlier messages about .profile and ksh.