svn commit: r297897 - in head/usr.bin: . resizewin

Conrad Meyer cem at FreeBSD.org
Tue May 3 22:28:20 UTC 2016


On Tue, May 3, 2016 at 2:53 PM, Gleb Smirnoff <glebius at 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 at 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


More information about the svn-src-head mailing list