Mailinglist Archive: opensuse-bugs (5398 mails)
| < Previous | Next > |
[Bug 279934] ssh doesn't send locale environment when a command is executed remotely
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 4 Jun 2007 09:53:47 -0600 (MDT)
- Message-id: <20070604155347.535FC1094@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=279934
werner@xxxxxxxxxx changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|werner@xxxxxxxxxx |nadvornik@xxxxxxxxxx
------- Comment #6 from werner@xxxxxxxxxx 2007-06-04 09:53 MST -------
This does _not_ work for all cases, it is a matter of fact, that ssh does not
provide any locale in case of not having a login session. In other words: you
will use the locale of the local systems which may or may not fit. Beside this
the /etc/profile.d/*.utf8 will only work if and only if a terminal line is
used:
/suse/werner> testutf8 < /dev/null
/suse/werner> echo $?
0
/suse/werner> testutf8
/suse/werner> echo $?
1
/suse/werner> echo -ne '\e%G' > /dev/tty
/suse/werner> testutf8
/suse/werner> echo $?
2
as you can see on the exit status of testutf8 used by /etc/profile.d/*.utf8.
--
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, or are watching someone who is.
werner@xxxxxxxxxx changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|werner@xxxxxxxxxx |nadvornik@xxxxxxxxxx
------- Comment #6 from werner@xxxxxxxxxx 2007-06-04 09:53 MST -------
This does _not_ work for all cases, it is a matter of fact, that ssh does not
provide any locale in case of not having a login session. In other words: you
will use the locale of the local systems which may or may not fit. Beside this
the /etc/profile.d/*.utf8 will only work if and only if a terminal line is
used:
/suse/werner> testutf8 < /dev/null
/suse/werner> echo $?
0
/suse/werner> testutf8
/suse/werner> echo $?
1
/suse/werner> echo -ne '\e%G' > /dev/tty
/suse/werner> testutf8
/suse/werner> echo $?
2
as you can see on the exit status of testutf8 used by /etc/profile.d/*.utf8.
--
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, or are watching someone who is.
| < Previous | Next > |