Upload Tizen:Base source
[framework/base/util-linux-ng.git] / misc-utils / README.reset
1 RedHat and SuSE take the program reset from ncurses,
2  where reset is a name for the program tset.
3  It is approximately equivalent to
4         stty sane; tputs rs1; tputs rs2; tputs rf
5  with `tputs rf' replaced by `tputs if' when there is an
6  init_file but no reset_file. In the comments it wonders
7  whether also sending rs3, rmacs, rmul, rmm might be a good idea.
8
9 Slackware uses the small script given here.
10  The part `echo -e \\033c' is the canonical reset of the kernel
11  console status, and is equivalent to `tputs rs1' for a linux
12  terminal.
13
14 So, both versions are approximately the same.
15
16
17 [A disadvantage of `echo -e \\033c' might be that it is potentially
18 wrong on a non-vt100, non-xterm, non-linux terminal.
19 An advantage is that there are terminfo entries for xterm around
20 that only use rs1=^O as reset, and then \Ec is much better.]