This commit is contained in:
Jim Meyering committed 1998-08-11 17:30:46 +00:00
1 parent c6afbb198c
commit b9ca4fe720
1 file changed
+16
+16
View File
@@ -0,0 +1,16 @@
#! /bin/sh
# Make sure stty can parse most of its options.
: ${STTY=stty}
if test "$VERBOSE" = yes; then
set -x
$RM --version
fi
saved_state=.saved-state
$STTY --save > $saved_state || exit 1
trap "status=$?; echo here; $STTY `cat $saved_state`; exit $status" 0 1 2 3 15
$STTY `cat $saved_state` || exit 1
exit 0