util-linux/misc-utils
Karel Zak dab737cc42 look: fix problem with !isalnum() words
for example "$ look apple-pie"

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-03-06 13:14:52 +01:00
..
Makefile.am build-sys: fix README filenames and add missing files to EXTRA_DISTs 2007-02-08 12:38:25 +01:00
README.cal Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
README.ddate build-sys: fix README filenames and add missing files to EXTRA_DISTs 2007-02-08 12:38:25 +01:00
README.flushb build-sys: fix README filenames and add missing files to EXTRA_DISTs 2007-02-08 12:38:25 +01:00
README.namei Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
README.namei2 build-sys: fix README filenames and add missing files to EXTRA_DISTs 2007-02-08 12:38:25 +01:00
README.reset build-sys: fix README filenames and add missing files to EXTRA_DISTs 2007-02-08 12:38:25 +01:00
cal.1 Imported from util-linux-2.11o tarball. 2006-12-07 00:25:53 +01:00
cal.c build-sys: fix ifdef ENABLE_WIDECHAR usage 2007-01-30 13:49:50 +01:00
cal_test.sh Imported from util-linux-2.12j tarball. 2006-12-07 00:26:24 +01:00
chkdupexe.1 Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
chkdupexe.pl Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
ddate.1 Imported from util-linux-2.12l tarball. 2006-12-07 00:26:28 +01:00
ddate.c Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
kill.1 Imported from util-linux-2.11b tarball. 2006-12-07 00:25:46 +01:00
kill.c Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
kill.h Imported from util-linux-2.10m tarball. 2006-12-07 00:25:43 +01:00
logger.1 Imported from util-linux-2.11v tarball. 2006-12-07 00:26:02 +01:00
logger.c Imported from util-linux-2.12d tarball. 2006-12-07 00:26:18 +01:00
look.1 Imported from util-linux-2.11f tarball. 2006-12-07 00:25:48 +01:00
look.c look: fix problem with !isalnum() words 2007-03-06 13:14:52 +01:00
mcookie.1 Imported from util-linux-2.9i tarball. 2006-12-07 00:25:37 +01:00
mcookie.c Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
namei.1 namei: fix logic and infinite loop of symlinks 2007-01-31 16:43:18 +01:00
namei.c namei: fix logic and infinite loop of symlinks 2007-01-31 16:43:18 +01:00
procs.c Imported from util-linux-2.10s tarball. 2006-12-07 00:25:44 +01:00
rename.1 Imported from util-linux-2.12b tarball. 2006-12-07 00:26:16 +01:00
rename.c Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
reset Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
reset.1 Imported from util-linux-2.7.1 tarball. 2006-12-07 00:25:34 +01:00
reset.033c build-sys: fix README filenames and add missing files to EXTRA_DISTs 2007-02-08 12:38:25 +01:00
script.1 Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
script.c execl() should be use NULL not 0 2007-01-04 14:39:44 +01:00
scriptreplay.1 Imported from util-linux-2.12b tarball. 2006-12-07 00:26:16 +01:00
scriptreplay.pl Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
setterm.1 Imported from util-linux-2.12a tarball. 2006-12-07 00:26:14 +01:00
setterm.c Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
whereis.1 Imported from util-linux-2.8 tarball. 2006-12-07 00:25:35 +01:00
whereis.c Imported from util-linux-2.11b tarball. 2006-12-07 00:25:46 +01:00
write.1 Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
write.c Imported from util-linux-2.11b tarball. 2006-12-07 00:25:46 +01:00

README.reset

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.]