diff options
author | Sami Kerola | 2016-12-29 11:28:54 +0100 |
---|---|---|
committer | Sami Kerola | 2016-12-29 11:56:15 +0100 |
commit | 5d795999511adc455d223be8281948796bd7d087 (patch) | |
tree | cf2d48eb177e717343f9926d9c6b9858f578d98c /term-utils/setterm.1 | |
parent | Merge branch 'getrandom' of git://github.com/kerolasa/lelux-utiliteetit (diff) | |
download | kernel-qcow2-util-linux-5d795999511adc455d223be8281948796bd7d087.tar.gz kernel-qcow2-util-linux-5d795999511adc455d223be8281948796bd7d087.tar.xz kernel-qcow2-util-linux-5d795999511adc455d223be8281948796bd7d087.zip |
setterm: add --resize option
Reset terminal size by assessing maximum row and column. This is useful
when actual geometry and kernel terminal driver are not in sync.
Addresses: http://bugs.debian.org/835636
Based-on-work-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/setterm.1')
-rw-r--r-- | term-utils/setterm.1 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/term-utils/setterm.1 b/term-utils/setterm.1 index 2a06c1a08..22a8ff03a 100644 --- a/term-utils/setterm.1 +++ b/term-utils/setterm.1 @@ -228,6 +228,13 @@ Turns keyboard repeat on or off. Displays the terminal reset string, which typically resets the terminal to its power-on state. .TP +\fB\-\-resize\fP +Reset terminal size by assessing maximum row and column. This is useful +when actual geometry and kernel terminal driver are not in sync. Most +notable use case is with serial consoles, that do not use +.BR ioctl (3) +but just byte streams and breaks. +.TP \fB\-\-reverse\fP [\fBon\fP|\fBoff\fP] Turns reverse video mode on or off. Except on a virtual console, .B \-\-reverse off |