Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!uwm.edu!spool.mu.edu!agate!news.mindlink.net!vanbc.wimsey.com!io.org!nobody From: taob@io.org (Brian Tao) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: XMan and the directories it searches Date: 9 Jul 1995 12:33:12 -0400 Organization: Internex Online (io.org) Data: 416-363-4151 Voice: 416-363-8676 Lines: 19 Message-ID: <3tp0c8$hri@ionews.io.org> References: <DBFGpu.6Ir@ecf.toronto.edu> NNTP-Posting-Host: io.org In article <DBFGpu.6Ir@ecf.toronto.edu>, FICNAR FRANK G <ficnar@ecf.toronto.edu> wrote: > > 2) if the above requires a MANPATH variable, how does one set > this for an Xman not started from an environment from which it > can inherit the proper MANPATH variable? I have the same problem starting news or IRC from the window manager menu (I need certain variables set before they are invoked). I call a wrapper shell script right now that seems to solve the problem, but isn't a 100% solution. When I'm back in front of my computer after my holidays, I'm going to source my ~/.var file (which contains all my variable definitions) in .xsession. That should solve the problem. ~/.xsession is exec'd by /usr/X11R6/lib/X11/xdm/Xsession, which itself is just a Bourne shell script. My window manager (also ctwm) is started up last, so any variable declarations should be effective for the life of the window manager session. -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org