BTS

Message4897

Author mika
Recipients korn
Date 2014-11-18.21:47:44
Content
* Andras Korn wrote in grml's BTS on 20141118 / 22:03:

> If the same IP is present on more than one interface, ip-screen will list it
> several times, e.g.

> # ip-screen 
> 169.254.255.254 | 169.254.0.1 | 169.254.255.254 | 169.254.0.1 | 169.254.0.1 |
> 169.254.15.254

> This takes up precious space in the status line.

Ah, indeed.

> It would also be nice to be able to exclude IPs from being printed at all
> (individually or by subnet), for example by way of an environment variable or
> command line option.

Hm, so you actually invoke ip-screen on the command line, or would
you adjust the GNU screen configuration as needed then? FTR,
ip-screen was mainly written for usage inside GNU screen and for
performance reasons written in C:

  http://git.grml.org/?p=grml-scripts-core.git;a=blob;f=compile/ip-screen.c;hb=HEAD

regards,
-mika-
History
Date User Action Args
2014-11-18 21:47:44mikasetrecipients: + korn
2014-11-18 21:47:44mikalinkissue1329 messages
2014-11-18 21:47:44mikacreate