mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-20 12:23:06 +03:00
*** empty log message ***
This commit is contained in:
1 parent
b9ca4fe720
commit
40178d3a77
1 file changed
+8
-1
+8
-1
@@ -10,7 +10,14 @@ 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
|
||||
trap "status=$?; $STTY `cat $saved_state`; exit $status" 0 1 2 3 15
|
||||
$STTY `cat $saved_state` || exit 1
|
||||
|
||||
# Build a list of all boolean options stty accepts on this system.
|
||||
options=`stty -a|tail +2|tr ';' '\012'|sed 's/ =.*//;s/^ //'|tr -s ' -' '\012'`
|
||||
|
||||
for opt in $options; do
|
||||
echo $opt
|
||||
done
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user