stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] Best of the modelines


From: Vitaly Mayatskikh
Subject: Re: [STUMP] Best of the modelines
Date: Thu, 19 Nov 2009 14:15:00 +0100
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0 (HANACHIRUSATO)

At Thu, 19 Nov 2009 14:06:53 +0100, Sébastien Vauban wrote:

> Yes, I can easily imagine this would be better, but I really enjoy seeing the
> current IP (with mask) and the default route on my modeline:
> 
>     IP:192.168.0.188/24 Gw:192.168.0.1
> 
> Is there a way to get this in a lighter manner?

Yes, by parsing /proc/net/route. See, for example, contribs/net.lisp
-- 
wbr, Vitaly




reply via email to

[Prev in Thread] Current Thread [Next in Thread]