Date: Thu, 16 Jul 2015 21:46:47 +0200 From: Ed Schouten <ed@nuxi.nl> To: Mark Murray <markm@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r285550 - head/usr.bin/w Message-ID: <CABh_MKk5ewMUxNA%2B59kg5wDdcJEtWVuQ=CUE6w8gMi3J8yismw@mail.gmail.com> In-Reply-To: <201507141853.t6EIrPcY072885@repo.freebsd.org> References: <201507141853.t6EIrPcY072885@repo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
Hi Mark,
2015-07-14 20:53 GMT+02:00 Mark Murray <markm@freebsd.org>:
> Log:
> Widen the host field so that a full IPv6 address will be seen.
>
> Modified:
> head/usr.bin/w/w.c
>
> Modified: head/usr.bin/w/w.c
> ==============================================================================
> --- head/usr.bin/w/w.c Tue Jul 14 18:45:15 2015 (r285549)
> +++ head/usr.bin/w/w.c Tue Jul 14 18:53:24 2015 (r285550)
> @@ -120,7 +120,7 @@ static struct entry {
>
> #define W_DISPUSERSIZE 10
> #define W_DISPLINESIZE 8
> -#define W_DISPHOSTSIZE 24
> +#define W_DISPHOSTSIZE 40
>
> static void pr_header(time_t *, int);
> static struct stat *ttystat(char *);
Quick question: does this column width adjust itself automatically?
The "WHAT" column of w(1) is already pretty narrow.
--
Ed Schouten <ed@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MKk5ewMUxNA%2B59kg5wDdcJEtWVuQ=CUE6w8gMi3J8yismw>
