NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: xsrc/56021: /usr/bin/resize does not work



The following reply was made to PR xsrc/56021; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: re: xsrc/56021: /usr/bin/resize does not work
Date: Sat, 27 Feb 2021 23:30:01 +1100

 > Guess from
 >
 > diff -pu xsrc/external/mit/xterm/dist/resize.c src/usr.bin/resize/resize.c
 >
 > is, this is due to missing ``#if defined(USE_STRUCT_WINSIZE)'' block,
 > which was removed by hand. This macro is originally defined in xterm_io.h.
 
 thanks.  this is almost certainly the issue.
 
 > I don't think having such a modified copy of resize(1) in src/usr.bin
 > is a good idea. I'd prefer restoring original version rather than
 > fixing this one.
 
 the point was to have resize when you don't have xterm installed,
 and i've been known to install xbase just to get resize when i'm
 working on serial consoles in single user mode.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index