[issue1329] Make ip-screen display each IP only once

Andras Korn bts at bts.grml.org
Wed Nov 19 10:03:33 CET 2014


Andras Korn <korn-grml at elan.rulez.org> added the comment:

On Tue, Nov 18, 2014 at 09:47:44PM +0000, Michael Prokop wrote:

> > 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,

I would adjust the screen configuration or export the relevant environment
variable before starting screen.

There are other ways of obtaining a list of IPs on the command line (e.g.
via ip addr sh, or ifdata).

Andras

-- 
              Piracy is not a synonym for copyright infringement.

----------
messages: 4895, 4897, 4901
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