From owner-svn-src-all@freebsd.org Thu Jul 16 19:46:54 2015 Return-Path: Delivered-To: svn-src-all@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 071F69A45BB for ; Thu, 16 Jul 2015 19:46:54 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) (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 C4CC11D90 for ; Thu, 16 Jul 2015 19:46:53 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by oibn4 with SMTP id n4so57562780oib.3 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=IKDxmZ8EDPfLTq4W5WmU0T5lTliPKjL+uLBCcyW2/QEiw59891rjJluMt66MbNEbnk q8Cdi+vjSaiVulrT3pLGvgxJURF38Hj97EodS5c5gE1YTSWtw4dnGpBCctr89Jl12A0v 8IWomjjchFfaWIc4KO0q9Xug0j12doywRgKwrovWTqU/NUEFf1XRyvZ3/FdEmejYKmFv xdbFObgvclzBQDJ6q19FLtV4eAeYZOhX0MC79gN1aHai0NG1biESOzQyHZpYbUvvGmgc H6aK//WvxkYbrkruL9RPujxE0EcjB9j15vkUK7oDPDpvDGO5ZRsB15//N48rwBLZFGLn CQiQ== X-Gm-Message-State: ALoCoQk/Bkbmpy8qDAnLi/+8/6SbVadfAf3iTpi2TfbwLe0XO6ad32dWAyJYZqdPxGTTMlF5tMuT 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-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" 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