[Alpine-info] Foreign Characters?
Sean C. Farley
scf at FreeBSD.org
Tue Jan 13 10:18:14 PST 2009
On Tue, 13 Jan 2009, Dan Mahoney, System Admin wrote:
> On Tue, 13 Jan 2009, Sean C. Farley wrote:
>> On Mon, 12 Jan 2009, Andrew Morgan wrote:
>>> On Mon, 12 Jan 2009, Dan Mahoney, System Admin wrote:
*snip*
>>>> b) remote system (freebsd 6.x)
>>>
>>> In your login script, set LANG=en_US.UTF-8
>>
>> On this note, I recommend adding the following to
>> /etc/ssh/sshd_config on the FreeBSD system:
>>
>> AcceptEnv LANG LC_* LANGUAGE
>>
>> This will pass your language environment variables to the FreeBSD
>> system without needing to set them again in the login script.
>
> Aah, and here I thought (from the SSH man page) that is was a case of
> the terminal system not SENDING it to the remote one.
Good point. I forgot that you need to also send it. :) Also add this
to your .ssh/config file:
Host *
SendEnv LANG LC_* LANGUAGE
Sean
--
scf at FreeBSD.org
More information about the Alpine-info
mailing list