Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpfcso!hpfcda!eric From: eric@hpfcda.HP.COM (Eric Flink) Newsgroups: comp.sys.hp Subject: Re: XSession & the env? Message-ID: <970008@hpfcda.HP.COM> Date: 4 Sep 90 15:05:34 GMT References: <313@esl.ESL.COM> Organization: Hewlett-Packard, Fort Collins, CO Lines: 23 > I'm attempting to run emacs from the HP Control "box". When I do this, there > is the problem of setting the environment to the same as in my .profile and > .kshrc files. > Is there any way to have XSession referance the env set by the .profile and > .kshrc files? It is true that xsession does not read your shell configuration files. You can use the following trick to cause your .profile and .kshrc files to be read: hpterm -T emacs -n emacs -e ksh -c ". ~/.profile ; . ~/.kshrc ; exec emacs" Try hooking this command line up to your emacs button on the control panel. Regards, Eric Flink eric_flink@fc.hp.com (303) 229-2313 This posting does not reflect the official position of Hewlett-Packard Company