From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4564c4797a1b4cb X-Google-Attributes: gidfee84,public From: marek.pola@mailbox.swipnet.se (Marek Pola) Subject: Re: ksh, session manager and environment variables Date: 1996/07/08 Message-ID: <4rrtde$7r0@mn5.swip.net>#1/1 X-Deja-AN: 167295351 references: <31E14ADD.41C6@henri.chem.uleth.ca> organization: - nntp-posting-user: ef6973175ca49332904493b4eec7540a newsgroups: comp.unix.osf.osf1 In article <31E14ADD.41C6@henri.chem.uleth.ca>, Marc Roussel 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.