Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2016 15:28:13 -0700
From:      Conrad Meyer <cem@FreeBSD.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org,  src-committers@freebsd.org, darius@dons.net.au
Subject:   Re: svn commit: r297897 - in head/usr.bin: . resizewin
Message-ID:  <CAG6CVpVbp6fEpyf--4PgAYsjrmVLv_bjM--ZTUt_oPdYOiEADw@mail.gmail.com>
In-Reply-To: <20160503215348.GC1369@FreeBSD.org>
References:  <201604130030.u3D0UggB007871@repo.freebsd.org> <CAG6CVpUGdpXxGwQ5SkmwEy48RC0mjBCvhf%2B_bS7R%2BYY%2BNK71Kg@mail.gmail.com> <20160503215348.GC1369@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 3, 2016 at 2:53 PM, Gleb Smirnoff <glebius@freebsd.org> wrote:
> On Tue, Apr 12, 2016 at 05:42:54PM -0700, Conrad Meyer wrote:
> C> On Tue, Apr 12, 2016 at 5:30 PM, Conrad E. Meyer <cem@freebsd.org> wrote:
> C> > Log:
> C> >   Add a small tool, resizewin(1), to query terminal for window size
> C>
> C> Whoops.  The commit message should have included this blurb from the
> C> phabricator review:
> C>
> C>     This tool is a smaller, less featured version of resize from the xterm port.
> C>
> C>     It's very useful when accessing systems via serial console that
> C> don't run X (e.g. dev boxes).
>
> Are there any good reasons not to call it resize then? Those who have
> xterm installed would have it overriden with /usr/local/bin/resize.

Hi,

I don't think it's a good idea to name different binaries the same
thing and rely on PATH ordering to pick the right one.  And it would
introduce a conflict for LOCALBASE=/usr.

Best,
Conrad



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpVbp6fEpyf--4PgAYsjrmVLv_bjM--ZTUt_oPdYOiEADw>