RESIZEWIN(1) | MidnightBSD General Commands Manual | RESIZEWIN(1) |
resizewin
— update
terminal size
resizewin |
[-z ] |
The resizewin
utility queries the terminal
emulator for the current window size and updates the size known to the
kernel using the TIOCSWINSZ
ioctl.
The following options are available:
-z
After a terminal window has been resized, running
resizewin
updates the kernel's window size to match
the new size.
resizewin
is functionally similar to
resize(1), which is part
of the xterm(1)
distribution. However, resizewin
only works with
VT100/ANSI-compatible terminals and does not emit commands to set
environment variables.
The terminal is assumed to be VT100/ANSI compatible. The VT100/ANSI escape sequences are supported by virtually all modern terminals, including xterm, konsole, gnome-terminal, iTerm, Terminal.app, and PuTTY.
The resizewin
command first appeared in
FreeBSD 11.0.
May 9, 2017 | midnightbsd-3.1 |