]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
reset: deprecate the script, and remove reset.033c
authorSami Kerola <kerolasa@iki.fi>
Fri, 12 Jun 2015 20:25:08 +0000 (21:25 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 29 Jun 2015 10:06:22 +0000 (12:06 +0200)
Most distributions probably ship reset from ncurses, which means
util-linux reset(1) is unlikely to be in use anywhere.  Assuming the
previous being true it is almost unimaginable anyone one would be using
the alternative script, so remove it and mark the script deprecated.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Documentation/deprecated.txt
term-utils/Makemodule.am
term-utils/reset
term-utils/reset.033c [deleted file]

index a32833fd094f56f7ffaab257de0dae60d6ab7aa8..e63675a4b1c3b6b08edac70d979087febf197b67 100644 (file)
@@ -93,6 +93,11 @@ Why: parallel port printers are probably almost extinct devices
 
 ----------------------------
 
+What:  reset
+Why:   ncurses has better reset(1)
+
+----------------------------
+
 The Single UNIX(TM) Specification, Version 2
 Copyright (C) 1997 The Open Group
 
index c566318025fe08f30bf089b465765fecbfe8f8c4..ea1affcdcb95283363a5302c1341584d3ef5d4cf 100644 (file)
@@ -55,7 +55,6 @@ if BUILD_RESET
 dist_usrbin_exec_SCRIPTS += term-utils/reset
 dist_man_MANS += term-utils/reset.1
 endif
-EXTRA_DIST += term-utils/reset.033c
 
 
 if BUILD_MESG
index 68de82eb1cba9b6e3ace2c53d51d0b0a1ea3a691..43f83cbda84b5359b68e42826faee1343b17027f 100755 (executable)
@@ -1,4 +1,10 @@
 #!/bin/sh
+# This command is deprecated.  The utility is in maintenance mode,
+# meaning we keep them in source tree for backward compatibility
+# only.  Do not waste time making this command better, unless the
+# fix is about security or other very critical issue.
+#
+# See Documentation/deprecated.txt for more information.
 stty sane
 tput clear
 tput rmacs
diff --git a/term-utils/reset.033c b/term-utils/reset.033c
deleted file mode 100755 (executable)
index fc7fad6..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-stty sane
-tput clear
-tput rmacs
-tput rmm
-tput rmso
-tput rmul
-tput rs1
-tput rs2
-tput rs3
-printf "\\033c\n"