https://bugzilla.novell.com/show_bug.cgi?id=335246#c34
--- Comment #34 from Katarina Machalkova 2007-11-13 04:46:59 MST ---
I did a little bit of code archeology just to find this piece of code:
# on console, start yast in UTF-8 locale (only on a 'local' console)
if [ "$TERM" = "linux" -a
\( "$TTY" = /dev/console -o "$TTY" != "${TTY#/dev/tty[0-9]}" \) ] ; then
</cut>
if /bin/testutf8 ; [ $? -eq 1 ] ; then
/usr/bin/test -x /bin/unicode_start && /bin/unicode_start
uc_started=1
fi
and related bug #47530
The original purpose of this is to call unicode_start once TERM is set to
linux. The check for /dev/console and /dev/tty[0-9] has been added later on,
allegedly to avoid running unicode_start on ssh session (bug #47530#c3)
But in order to start UTF-8 only on local console (which was imho the
intention), the check should not include the negation mark i.e.:
if [ ... "$TTY" = /dev/console -o "$TTY" = "${TTY#/dev/tty[0-9]}" ]
as ssh session uses /dev/pts/<0-255>
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.