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