centOS 4.2 설치시 한글깨짐 문제

2010.05.12 07:41

조인상 조회 수:18456

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


/etc/sysconfig/i18n 의 내용을 아래와 같이 고치면 된다.



LANG="ko_KR.eucKR"
SUPPORTED="en_US.UTF-8:en_US:en:ko_KR.eucKR:ko_KR:ko"
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15"



앞으로도 몇가지 보안 및 기타 설정들을 해야 하는데, 간간히 정리나 해봐야겠다.



/*------------------------------man의 한글 깨짐 추가--------------------------------*/

man명령어에서도 한글이 깨지는 현상이 있었다.--;

그래서 수정했다.



/etc/man.config 에서



PAGER          /usr/bin/less -iRs 의 옵션 중에서 대문자 R을 아래와 같이

PAGER      /usr/bin/less -irs 로



소문자로 바꿔주면 된다. 두 옵션의 차이는 아래의 설명으로 대신한다.



      -r or --raw-control-chars
              Causes "raw" control characters to be displayed.  The default is to  dis-

              play control characters using the caret notation; for example, a control-
              A (octal 001) is displayed as "^A".  Warning: when the -r option is used,
              less cannot keep track of the actual appearance of the screen (since this
              depends on how the screen responds to each type  of  control  character).
              Thus, various display problems may result, such as long lines being split
              in the wrong place.



      -R or --RAW-CONTROL-CHARS
              Like -r, but tries to keep track of the screen appearance where possible.
              This  works  only  if the input consists of normal text and possibly some
              ANSI "color" escape sequences, which are sequences of the form:



                  ESC [ ... m



              where the "..." is zero or more characters other than "m".  For the  pur-
              pose  of  keeping  track of screen appearance, all control characters and
              all ANSI color escape sequences are assumed to not move the cursor.  You
              can  make  less  think  that characters other than "m" can end ANSI color
              escape sequences by setting the environment variable LESSANSIENDCHARS  to
              the list of characters which can end a color escape sequence.
번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 30736
44 파이프를 이용한 tar와 gzip 동시에 처리하기 ischo 2011.05.19 12067
43 리눅스에서 2TB 이상의 파티션 만들기 ischo 2011.04.11 12244
42 bonding 네트워크 설정 ischo 2011.03.30 15588
41 텍스트파일의 내용을 순차적으로 읽어들이는 스크립트 ischo 2011.03.29 17590
40 불특정 파일리스트 FTP 전송 스크립트 file ischo 2011.02.18 14160
39 시스템 관리자를 위한 50가지 비법 조인상 2011.01.04 12197
38 Linux Performance and Tuning Guidelines - IBM file ischo 2010.11.17 9780
37 HOW TO SELinux file ischo 2010.11.17 9339
36 CentOS에 zabbix 1.8.2 install secret 조인상 2010.07.27 2
35 case로 만드는 오라클 서비스 관리 ksh 스크립트 예제 ischo 2010.06.18 13478
34 리눅스환경에서 RedOwl 정지시키기 조인상 2010.05.27 14431
33 LVM 사용하여 추가한 디스크로 볼륨 늘리기 ischo 2010.05.19 35789
32 vsftpd 포트변경 방법 조인상 2010.05.12 14854
31 파일로 스왑추가 방법 조인상 2010.05.12 11084
30 ssh 자동로그아웃 설정방법 조인상 2010.05.12 41513
29 xinetd 모드로 proftpd 변경 조인상 2010.05.12 12351
28 [펌] 리눅스에서의 시리얼통신 조인상 2010.05.12 19968
27 tar 를 이용한 테잎 백업스크립트 예 조인상 2010.05.12 10973
26 랜카드 동작속도 확인/수정 방법 조인상 2010.05.12 29465
25 sendmail 25번포트 접속이 localhost에서만 허용될때 조인상 2010.05.12 16909
서버에 요청 중입니다. 잠시만 기다려 주십시오...