Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpfcso!bigelow From: bigelow@hpfcso.HP.COM (Jim Bigelow) Newsgroups: comp.sys.hp Subject: Re: XSession & the env? Message-ID: <7370199@hpfcso.HP.COM> Date: 29 Aug 90 18:24:20 GMT References: <313@esl.ESL.COM> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 44 / hpfcso:comp.sys.hp / jsd@esl.ESL.COM (Jeff Dalton) / 10:34 am Aug 28, 1990 / > 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. I run emacs from the Xsession control box with the following set up in my .Xdefaults and help file. I think you could set your environment as needed as an argument to the /bin/sh command. I hope this will help you get set up. Jim Bigelow S300 Pascal Colorado Langauage Lab. HP ---- .Xdefaults ---- XCtrl*addPrograms: datebook emacs cutdisp XCtrl*emacs*CommandLine: /bin/sh -c "DISPLAY='unix:0'; export DISPLAY; exec /usr/local/bin/emacs -i -w =80x43 -bg wheat" XCtrl*emacs*ManPage: emacs XCtrl*emacs*IconBitmap: emacs ---- /usr/lib/X11/helpfiles/app_info/emacs ---- The GNU project Emacs text editing program __________________________________________________________________ GNU Emacs is a new version of Emacs, written by the author of the original (PDP-10) Emacs, Richard Stallman. Emacs has an extensive interactive help facility, but the facility assumes that you know how to manipulate Emacs windows and buffers. ESC-x info enters the Help facility. Help Tutorial (ESC-x help-for-help t) requests an interactive tutorial which can teach beginners the fundamentals of Emacs in a few minutes. Help Apropos (ESC-x help-for-help a) helps you find a command given its functionality, Help Character (ESC-x help-for-help c) describes a given character's effect, and Help Function (ESC-x help-for-help f) describes a given Lisp function specified by name.