util-linux/misc-utils
Karel Zak d1dca71078 namei: fix alone symlink evaluation
$ mkdir aaa
	$ ln -s aaa mylink

old version:

	$ namei mylink
	namei: could not stat 'mylink/aaa': No such file or directory

new version:

        $ namei mylink
	f: mylink
	 l mylink -> aaa
	   d aaa

Signed-off-by: Karel Zak <kzak@redhat.com>
2009-10-07 01:34:36 +02:00
..
.gitignore wipefs: new command 2009-10-06 23:56:23 +02:00
Makefile.am wipefs: new command 2009-10-06 23:56:23 +02: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
blkid.8 wipefs: new command 2009-10-06 23:56:23 +02:00
blkid.c blkid: allow to use -s <TAG> for low-level probing (-p mode) 2009-09-24 14:44:47 +02:00
cal.1 cal.1: formatting 2009-08-17 12:11:07 +02:00
cal.c cal: fix broken computation for Sep 1752 2009-07-20 15:33:50 +02: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 ddate.1: formatting 2009-08-17 12:11:07 +02:00
ddate.c ddate: 11th, 12th and 13th of month 2008-06-09 12:49:40 +02:00
findfs.8 findfs: fix typo in findfs.8 2009-10-05 15:23:57 +02:00
findfs.c blkid: move to misc-utils/ directory 2009-07-02 14:38:23 +02:00
kill.1 kill.1: formatting 2009-08-17 12:11:07 +02:00
kill.c remove hardcoded package name from some utils 2007-07-27 12:12:00 +02:00
kill.h Imported from util-linux-2.10m tarball. 2006-12-07 00:25:43 +01:00
logger.1 manpage typos 2007-07-24 13:51:06 +02:00
logger.c replace bcopy,bzero,index and rindex 2009-08-17 11:15:59 +02:00
look.1 look: man page clarification 2007-07-25 18:03:52 +02:00
look.c build-sys: nls/locale handling in util-linux-ng general 2007-09-19 23:15:21 +02:00
mcookie.1 mcookie.1: formatting 2009-08-17 12:11:07 +02:00
mcookie.c remove CVS keywords 2008-07-28 11:10:08 +02:00
namei.1 namei.1: formatting 2009-08-17 12:11:07 +02:00
namei.c namei: fix alone symlink evaluation 2009-10-07 01:34:36 +02:00
procs.c Imported from util-linux-2.10s tarball. 2006-12-07 00:25:44 +01:00
rename.1 rename.1: formatting 2009-08-17 12:11:08 +02:00
rename.c rename: remove useless variable 2007-09-05 11:51:11 +02:00
reset Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
reset.1 reset.1: formatting 2009-08-17 12:11:08 +02: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 man pages: add "AVAILABILITY" section 2007-07-03 01:17:04 +02:00
script.c include: clean up _PATH_DEV_* macros 2009-06-30 01:13:42 +02:00
scriptreplay.1 scriptreplay.1: formatting 2009-08-17 12:11:08 +02:00
scriptreplay.c scriptreplay: fix typo in error message 2009-07-20 10:31:27 +02:00
setterm.1 setterm.1: formatting 2009-08-17 12:11:08 +02:00
setterm.c setterm: add -blan [force|poke] options for TIOCL_{BLANKED,BLANK}SCREEN 2008-02-08 02:01:27 +01:00
uuidd.8 uuidd.8: formatting 2009-08-17 12:11:08 +02:00
uuidd.c libuuid, uuidd: Avoid infinite loop while reading from the socket fd 2009-06-30 23:26:09 -04:00
uuidd.rc uuidd: init /var/run/uuidd, add option for on-demand mode to .rc file 2009-07-01 21:25:37 +02:00
uuidgen.1 uuidgen.1: formatting 2009-08-17 12:11:08 +02:00
uuidgen.c uuidgen: new command (from e2fsprogs) 2009-05-22 10:06:16 +02:00
whereis.1 whereis.1: formatting 2009-08-17 12:11:08 +02:00
whereis.c replace bcopy,bzero,index and rindex 2009-08-17 11:15:59 +02:00
wipefs.8 wipefs: new command 2009-10-06 23:56:23 +02:00
wipefs.c wipefs: fix coding style 2009-10-07 00:04:08 +02:00
write.1 write.1: formatting 2009-08-17 12:11:09 +02:00
write.c misc-utils: write include signal.h directly 2008-07-28 11:08:09 +02: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.]