On Tue, 26 Nov 2002 07:41:55 -0700
Dave Serls <[EMAIL PROTECTED]> wrote:

> On Mon, 25 Nov 2002 19:39:30 -0800 (PST)
> David Oleszkiewicz <[EMAIL PROTECTED]> wrote:
> 
> > 
> > On Mon, 25 Nov 2002, Jeremy C. Reed wrote:
> > 
> > > On Mon, 25 Nov 2002, Dave Serls wrote:
> > >
> > > > I've a situation where I want to select a different menuFile depending
> > > > on the host that blackbox is running on (because of executable
> > > > existence/location).
> > > > Is there a way to accomplish this in .blackboxrc?
> > > > I'm able to pas in -rc, of course, to blackbox, but this leads to
> > > > other problems.
> > >
> > > I am curious: what problems?
> > 
> >   blackbox -rc blackboxrc.$(hostname)
> > And define rc files for each or your different hosts.  In my case I use
> >   blackbox -rc blackboxrc.$(uname)
> > since my issues are only based on host type.
> > This seems to work for me, but blackbox does automatically write out a
> > .blackboxrc file it seems.
> > I don't see what issues you could have.
> > 
> 
>   Thanks Mark, Sean, and David.
>   I think I'm going to patch blackbox.cc::load_rc (comitting serious c++ defacement)
>   to expand some potential environment variable in the menuFile line of .blackboxrc.
>   Perhaps use the first token of $HOSTNAME if present? 
> 
>

    Following up my own misguided post:

    On each of the hosts (all 3), create a 'users' group owned directory
    /var/local/bbmenu with each menu file, 'user.menu' being the one
    for that host.  So, same style/background/look/feel and host
    specific menus.


-- 
************************************************************************
*   Dave Serls                                 Littleton, CO, USA      *
*   dashs.denver.co.us                         sorrybiscuit.com        *
************************************************************************

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to