Fix: accuracy locale settings
This commit is contained in:
parent
556f0596b0
commit
f3d19cbbff
@ -10,12 +10,12 @@ LUIT=`which luit`
|
|||||||
if [ -n $SCREEN ]; then
|
if [ -n $SCREEN ]; then
|
||||||
CMD_UTF8="$SCREEN -c ${SCREENRC_GOLDED}"
|
CMD_UTF8="$SCREEN -c ${SCREENRC_GOLDED}"
|
||||||
else if [ -n "$LUIT" ]; then
|
else if [ -n "$LUIT" ]; then
|
||||||
CMD_UTF8="$LUIT -x -encoding koi8-r -- $CMD"
|
CMD_UTF8="export LC_ALL="ru_RU.KOI8-R"; exec $LUIT -x -encoding koi8-r -- $CMD"
|
||||||
else
|
else
|
||||||
CMD_UTF8=$CMD
|
CMD_UTF8=$CMD
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$LC_ALL $LC_CTYPE $LANG" | grep -q "ru_RU.UTF-8" \
|
echo "$LC_ALL $LC_CTYPE $LANG" | grep -q "ru_RU.UTF-8" \
|
||||||
&& (export LC_ALL="ru_RU.KOI8-R"; exec $CMD_UTF8) \
|
&& ($CMD_UTF8) \
|
||||||
|| exec $CMD
|
|| exec $CMD
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
# for parallel mail transfer
|
# for parallel mail transfer
|
||||||
|
|
||||||
startup_message off
|
startup_message off
|
||||||
# Set default encoding for new windows
|
|
||||||
defencoding koi8-r
|
|
||||||
# Exec mailer in first window
|
# Exec mailer in first window
|
||||||
screen /bin/sh -c "binkd -c ~/fido/etc/binkd.conf"
|
screen /bin/sh -c "binkd -c ~/fido/etc/binkd.conf"
|
||||||
|
# Set default encoding for new windows
|
||||||
|
defencoding koi8-r
|
||||||
# Exec Golded+ in foreground window
|
# Exec Golded+ in foreground window
|
||||||
screen /bin/sh -c "LANG=ru_RU.KOI8-R gedlnx"
|
screen /bin/sh -c "LANG=ru_RU.KOI8-R gedlnx"
|
||||||
|
Reference in New Issue
Block a user