RESIZEWIN(1)

NAME
resizewin - update the kernel window size for the current TTY

DESCRIPTION
Query the terminal emulator window size with the TIOCSWINSZ ioctl and set the window size known by the kernel to the new values. The terminal is assumed to be VT100/ANSI compatible. 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.

After a terminal window has been resized, running resizewin updates the kernel's window size to match the new size.

Note that virtually all modern terninals support VT100/ANSI escape sequences, including xterm, konsole, gnome-terminal iTerm, Terminal.app, and puTTY.

SEE ALSO
resize(1), stty(1)

HISTORY
resizewin appeared in FreeBSD 11.