Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: marek.pola@mailbox.swipnet.se (Marek Pola)
Subject: Re: ksh, session manager and environment variables
Date: 1996/07/08	[thread overview]
Message-ID: <4rrtde$7r0@mn5.swip.net> (raw)
In-Reply-To: 31E14ADD.41C6@henri.chem.uleth.ca


In article <31E14ADD.41C6@henri.chem.uleth.ca>,
   Marc Roussel <roussel@henri.chem.uleth.ca> wrote:
>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).  
>...

Yes, I've noted this behaviour. Furtunately, some of my X apps does not need 
any paths or other stuff, so I just point with the complete path in my 
session-manager. For those apps who need something extra, I define the 
application like:

sh -c ". .profile; app-name"

or I write a two line script that will first set the environment variables as 
needed and then start the application. I know this is crude, but it works. 
First law of engineering: do not touch anything that works.

Regards


Marek Pola
Tetra Pak
Lund, Sweden
------------------------------------------------
"Jim, his brains's gone!" - Dr McCoy, Star Trek.



      reply	other threads:[~1996-07-08  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-08  4:00 ksh, session manager and environment variables Marc Roussel
1996-07-08  4:00 ` Marek Pola [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox