svn commit: r285550 - head/usr.bin/w

Ed Schouten ed at nuxi.nl
Thu Jul 16 19:46:54 UTC 2015


Hi Mark,

2015-07-14 20:53 GMT+02:00 Mark Murray <markm at 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 at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717


More information about the svn-src-all mailing list