ossp-pkg/shtool/sh.echo 1.30 -> 1.31
--- sh.echo 2002/02/23 09:18:03 1.30
+++ sh.echo 2002/10/07 05:02:12 1.31
@@ -76,7 +76,7 @@
fi
done
if [ ".$term_bold" != . ]; then
- for seq in sgr0 me rmso reset; do # 'reset' is last
+ for seq in sgr0 me rmso init reset; do # 'reset' is last
norm="`$dir/$tool $seq 2>/dev/null`"
if [ ".$norm" != . ]; then
term_norm="$norm"
@@ -95,6 +95,8 @@
esac
if [ ".$term_bold" = . -o ".$term_norm" = . ]; then
echo "$msgprefix:Warning: unable to determine terminal sequence for bold mode" 1>&2
+ term_bold=''
+ term_norm=''
fi
fi
|
|