diff options
| author | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:46 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:46 +0100 |
| commit | c07ebfa1e02d208ab12430e6791ea147bcfaf9c0 (patch) | |
| tree | d44a755098286f5d553c7aea1a73d98c2995d6ec /text-utils/README.reset | |
| parent | 66ee8158b69525e12060ef558cb5d77feadab1dc (diff) | |
| download | util-linux-c07ebfa1e02d208ab12430e6791ea147bcfaf9c0.tar.gz | |
Imported from util-linux-2.11b tarball.v2.11b
Diffstat (limited to 'text-utils/README.reset')
| -rw-r--r-- | text-utils/README.reset | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/text-utils/README.reset b/text-utils/README.reset new file mode 100644 index 0000000000..8060d265d8 --- /dev/null +++ b/text-utils/README.reset @@ -0,0 +1,20 @@ +RedHat and SuSE take the program reset from ncurses, + where reset is a name for the program tset. + It is approximately equivalent to + stty sane; tputs rs1; tputs rs2; tputs rf + with `tputs rf' replaced by `tputs if' when there is an + init_file but no reset_file. In the comments it wonders + whether also sending rs3, rmacs, rmul, rmm might be a good idea. + +Slackware uses the small script given here. + The part `echo -e \\033c' is the canonical reset of the kernel + console status, and is equivalent to `tputs rs1' for a linux + terminal. + +So, both versions are approximately the same. + + +[A disadvantage of `echo -e \\033c' might be that it is potentially +wrong on a non-vt100, non-xterm, non-linux terminal. +An advantage is that there are terminfo entries for xterm around +that only use rs1=^O as reset, and then \Ec is much better.] |
