해결방안 : LANG 환경변수와 터미널 모드를 확인한다.
# env | grep LANG
LANG=C
# stty -a
speed 38400 baud;
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^?; kill = ^u;
eof = ^d; eol = ; eol2 = ; swtch = ;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff -pare
xt
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
* sh, ksh일 경우 자신의 홈디렉토리에 있는
.profile에 다음내용을 넣는다.
LANG=ko
export LANG
stty -istrip -parenb cs8
* csh일 경우 .login에 다음과 같은 내용을 넣는다.
setenv LANG ko
stty -istrip -parenb cs8
# env | grep LANG
LANG=C
# stty -a
speed 38400 baud;
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^?; kill = ^u;
eof = ^d; eol = ; eol2 = ; swtch = ;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff -pare
xt
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
* sh, ksh일 경우 자신의 홈디렉토리에 있는
.profile에 다음내용을 넣는다.
LANG=ko
export LANG
stty -istrip -parenb cs8
* csh일 경우 .login에 다음과 같은 내용을 넣는다.
setenv LANG ko
stty -istrip -parenb cs8