Where is the $LANG variable defined?

Björn Persson listor1.rombobeorn at comhem.se
Wed Nov 10 13:12:42 UTC 2004


Nifty Hat Mitch wrote:

> In FC3's current version of ssh stuff there is a new? (to me) flag
> that lets specific environment variables pass.  Something like...
> 
>      ssh -o"SendEnv blat" xtl1
> 
> If this works as expected one could pass $LANG and get a forward
> looking language match.  Language and timezone info seem like good
> choices of variables to pass.  This is not enabled by default
> and warrants some inspection...

Setting LANG on the remote system to match that on the local system 
should make messages from locale-aware programs look right, but ls and 
Bash don't transcode filenames so file listings would be damaged and 
filenames typed on the command line would be wrong.

Björn Persson





More information about the users mailing list