Re: Summary: FVWM: Changing desktop color.

From: lar3ry gensch <gensch_at_zk3.dec.com>
Date: Mon, 09 Dec 1996 13:52:41 -0500

Albrecht Kadlec wrote:
>
> >>>>> Mike A Harris writes:
>
> M> 2) What can I put in .xinitrc to test wether or not I'm online and
> M> if I am then set the window to orange, otherwise set it to
> M> navyblue?
> M> My scripting abilities are not yet to the point where I can
> M> figure out stuff like this easily.
>
> M> Any help would be greatly appreciated.
> maybe a ping to your server host
> which should return an error if you're offline (no connection)
> Just check the exit status of the command.

Maybe 'netstat -i' with a suitable 'grep' for your PPP connection would
be more accurate and not incur the delays inherent for 'ping'

-- 
(void) lar3ry();                                      gensch_at_zk3.dec.com
  "I'm sorry you saw me, Billy.  Now I'll have to kill you." -- Santa
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Dec 09 1996 - 13:06:03 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST