aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-06 18:03:42 +0000
committerBill Nottingham <notting@redhat.com>2006-10-06 18:03:42 +0000
commit2b3d8c98c1ac5dd5c5aeecfd02298e0c7355734f (patch)
tree365af410e6e1c50ad9e8b6cf87bb722dc9b511d4
parenta6de97cd931e3e60e371abc08c7be4f36172f1b7 (diff)
downloadinitscripts-2b3d8c98c1ac5dd5c5aeecfd02298e0c7355734f.tar
initscripts-2b3d8c98c1ac5dd5c5aeecfd02298e0c7355734f.tar.gz
initscripts-2b3d8c98c1ac5dd5c5aeecfd02298e0c7355734f.tar.bz2
initscripts-2b3d8c98c1ac5dd5c5aeecfd02298e0c7355734f.tar.xz
initscripts-2b3d8c98c1ac5dd5c5aeecfd02298e0c7355734f.zip
remove stty calls. Too much fun with SIGTTOU (#209469)
-rwxr-xr-xlang.csh6
-rwxr-xr-xlang.sh6
2 files changed, 0 insertions, 12 deletions
diff --git a/lang.csh b/lang.csh
index 334a6294..4c815d30 100755
--- a/lang.csh
+++ b/lang.csh
@@ -68,9 +68,6 @@ if ($sourced == 1) then
switch ($LANG)
case *.utf8*:
case *.UTF-8*:
- if ( "$consoletype" == "vt" || "$consoletype" == "pty" ) then
- stty iutf8
- endif
if ( $?TERM ) then
if ( "$TERM" == "linux" ) then
if ( "$consoletype" == "vt" ) then
@@ -90,9 +87,6 @@ if ($sourced == 1) then
endif
breaksw
case *:
- if ( "$consoletype" == "vt" || "$consoletype" == "pty" ) then
- stty -iutf8
- endif
if ( $?TERM ) then
if ( "$TERM" == "linux" ) then
if ( "$consoletype" == "vt" ) then
diff --git a/lang.sh b/lang.sh
index e8b1a911..19bf9158 100755
--- a/lang.sh
+++ b/lang.sh
@@ -63,9 +63,6 @@ if [ "$sourced" = 1 ]; then
if [ -n "$LANG" ]; then
case $LANG in
*.utf8*|*.UTF-8*)
- if [ "$consoletype" = "vt" -o "$consoletype" = "pty" ]; then
- stty iutf8
- fi
if [ "$TERM" = "linux" ]; then
if [ "$consoletype" = "vt" ]; then
[ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start $SYSFONT $SYSFONTACM
@@ -73,9 +70,6 @@ if [ "$sourced" = 1 ]; then
fi
;;
*)
- if [ "$consoletype" = "vt" -o "$consoletype" = "pty" ]; then
- stty -iutf8
- fi
if [ "$TERM" = "linux" ]; then
if [ "$consoletype" = "vt" ]; then
[ -x /bin/unicode_stop ] && /sbin/consoletype fg && /bin/unicode_stop