Ba.n co' the^? check bie^'n mo^i tru+o+`ng:
- REMOTEHOST dde^? bie^'t co' pha?i la` 1 telnet session hay kho^ng
- SSH_CLIENT dde^? bie^'t co' pha?i la` 1 ssh session hay kho^ng

co' the^? cho 1 ddoa.n dda.i kha'i nhu+ sau va`o /etc/bashrc

  if [ -n "$REMOTEHOST" ]; then
    export LANG=ja_JP.UTF-8
  fi

HTH,

La^m - ra^'t - Chuo^'i

--- Hoang Nam <[EMAIL PROTECTED]> wrote:

> 
> > alias mytelnet="LANG=ja_JP.UTF-8 telnet"
> > 
> > Sau ddo' thi` xa`i mytelnet thay vi` telnet se~ co' LANG nhu+ y' muo^'n :)
> > Le^.nh alias co' the^? bo? va`o ~/.bashrc hay ~/.bash_profile hoa(.c
> > ne^'u cho ca? system thi` cho vao ca'c file tu+o+ng u+'ng trong /etc.
> 
> 
> Ba'c hie^?u la^`m y' em ro^`i hi`hi`.
> Em muo^'n khi remote, thi` LANG tre^n ma'y chu? thay ddo^?i co+ .
> Cha(?ng ha.n khi telnet tu+` Windows, hay tu+` 1 client kha'c , truy ca^.p
> dde^'n server thi` default LANG la` en_US.UTF-8 , do ddo' muo^'n du`ng ja_JP
> thi` la.i pha?i la`m 1 le^.nh 
> 
> LANG=ja_JP.UTF-8
> 
> Em mo` trong /etc/sysconfig/network-script/
> cu~ng tha^'y co' script dda(.t cho remote nhu+ng kho^ng hie^?u la('m .
>  telnet kho^ng cho phe'p root truy ca^.p, ... va` ho+n nu+~a, ca'c users
> kho^ng co' quye^`n shutdown, reboot, ... Nhu+~ng ca'i na`y setting o+? dda^u
> a. ??
> 
> Ca(n ba?n em chi? co' the^? gu+?i mail ma` kho^ng surf web ddu+o+.c ne^n
> phie^`n ca'c ba'c ...
> 
> Xin dda ta. .
> 
> =====
> Hoa`ngNam



                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Reply via email to