[Xastir] Re: Day/Night Users

Alex Carver kf4lvz at yahoo.com
Sat Apr 19 13:38:05 EDT 2008


--- On Sat, 4/19/08, Herman I. May <KE5HYW at kempiweb.net> wrote:

> From: Herman I. May
> Subject: [Xastir] Re: Day/Night Users
> To: xastir at xastir.org
> Date: Saturday, April 19, 2008, 1:23 PM
> On 20080419 at 10:14CDT,  Alex Carver wrote:
> 
> >  Then start xastir accordingly even using shell
> scripts:
> >
> >  ~/xastir.night:
> >  #!/bin/bash
> >  xastir -c ~/bob/.xastir.night
> >
> >  ~/xastir.day:
> >  #!/bin/bash
> >  xastir -c ~/bob/.xastir.day
> 
> Even easier:
> For such a short command, simply add an alias to the shell
> resource
> file (or aliases file, if applicable).
> 
> alias xD='xastir -c ~/bob/.xastir.day
> alias xN='xastir -c ~/bob/.xastir.night'
> 
> Then, simply issue "xN" from the CLI and away you
> go.

This is true though a script allows other prep work to be added (permissions for serial port for example) if needed.  But indeed shell aliases work, too.


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the Xastir mailing list