ttysize: new applet. +200 bytes

This commit is contained in:
Denis Vlasenko
2007-08-02 22:23:47 +00:00
parent 1caca34aa6
commit c01af95c39
5 changed files with 56 additions and 2 deletions

View File

@@ -366,6 +366,14 @@ config TIME
When the command finishes, time writes a message to standard output
giving timing statistics about this program run.
config TTYSIZE
bool "ttysize"
default n
help
A replacement for "stty size". Unlike stty, can report only width,
only height, or both, in any order. It also does not complain on error,
but returns default 80x24. Usage in shell scripts: width=`ttysize w`.
config WATCHDOG
bool "watchdog"
default n