[issue1329] Make ip-screen display each IP only once
Michael Prokop
bts at bts.grml.org
Tue Nov 18 22:47:44 CET 2014
Michael Prokop <mika at grml.org> added the comment:
* 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-
----------
messages: 4895, 4897
nosy: korn
priority: wish
status: chatting
title: Make ip-screen display each IP only once
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1329>
_____________________________________
More information about the Bugs-changes
mailing list