From owner-svn-src-head@freebsd.org Thu Jul 16 19:46:54 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CABB19A45BE for ; Thu, 16 Jul 2015 19:46:54 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 960981D92 for ; Thu, 16 Jul 2015 19:46:54 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by obbop1 with SMTP id op1so53489757obb.2 for ; Thu, 16 Jul 2015 12:46:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=tXyK255M+Ia7a9txntlSMQhpR86GVDtmpQQPvUG9eVw=; b=cXRozTVzK5ibcoUZ5/wi/9ggaRv5cR0Mc/2aHFS7kHNX/KXs3wyQ4XZ6/s27CWeQ3r WDcIRUwNXOi3KejpQgD0Wghyt3BNRtN1hsf8tnuCmmWhY+EcWm/IWRem7owC4Tgvwh7H SyVguEq1Q2J8E4w88TFzoDkIvpOho7Er8Z4bsug3IOjJK/gYlGHZRzro8KvCaIUWIleP bEAlp7BpyhtmlELFI0vj1mGpSjYcxM5bomywly8pULGW1/DAMbxAhTtVoFi0ZFWhdwqc h8F+zjjMizmcasxiqxFgB3AFGHG2X8Z8Bjdq6ClI/CjXg1xRqcc8aw4ZgSy1xFTiPjlm GbHQ== X-Gm-Message-State: ALoCoQlYBxR2stTCeNzduzR3vU60g2xcVFF0Al7MtQh8tnK0VVEU4fs1sEhiFx/IgjfL2jkf8Y+G MIME-Version: 1.0 X-Received: by 10.60.50.232 with SMTP id f8mr10003665oeo.55.1437076007760; Thu, 16 Jul 2015 12:46:47 -0700 (PDT) Received: by 10.76.0.46 with HTTP; Thu, 16 Jul 2015 12:46:47 -0700 (PDT) X-Originating-IP: [84.27.222.46] In-Reply-To: <201507141853.t6EIrPcY072885@repo.freebsd.org> References: <201507141853.t6EIrPcY072885@repo.freebsd.org> Date: Thu, 16 Jul 2015 21:46:47 +0200 Message-ID: Subject: Re: svn commit: r285550 - head/usr.bin/w From: Ed Schouten To: Mark Murray Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 19:46:54 -0000 Hi Mark, 2015-07-14 20:53 GMT+02:00 Mark Murray : > 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 Nuxi, 's-Hertogenbosch, the Netherlands KvK/VAT number: 62051717