From 2b3d8c98c1ac5dd5c5aeecfd02298e0c7355734f Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 6 Oct 2006 18:03:42 +0000 Subject: remove stty calls. Too much fun with SIGTTOU (#209469) --- lang.csh | 6 ------ lang.sh | 6 ------ 2 files changed, 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 -- cgit