From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4564c4797a1b4cb,start X-Google-Attributes: gidfee84,public From: Marc Roussel Subject: ksh, session manager and environment variables Date: 1996/07/08 Message-ID: <31E14ADD.41C6@henri.chem.uleth.ca>#1/1 X-Deja-AN: 167225389 content-type: text/plain; charset=us-ascii organization: Department of Chemistry, University of Lethbridge mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.01 (X11; I; OSF1 V3.2 alpha) I'm having a bit of an oddball problem. If I set the C shell as my default login shell, when I login to the console, the path set in my .cshrc gets propagated to all X applications started from the Session Manager Applications menu. However, I've recently decided to switch to the Korn shell. Using that as my default shell, X applications started from the Session Manager get a tiny, useless path (probably a hard-wired default). Note that I'm not talking about shells in Xterms; they (of course) read .profile and .kshrc when xterm is started with the -ls switch. The applications I'm talking about are things like Netscape which need a properly set path to start up helpers. I've tried everything to fix this. Both my .profile and my .kshrc set the path (and export it, in case you're wondering). I've made by .profile Bourne shell compatible, just in case dxsession was trying to treat it as an sh script. I also tried to set the path in .X11Startup, but that didn't work either. Has anyone else seen this before? By the way, our news feed is erratic (at best) so I would appreciate email replies. I will post a summary of all responses I receive to this newsgroup. Marc R. Roussel (roussel@henri.chem.uleth.ca) Department of Chemistry University of Lethbridge