centOS 4.2 설치시 한글깨짐 문제

2010.05.12 07:41

조인상 조회 수:18468

원문 : 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 30767
» centOS 4.2 설치시 한글깨짐 문제 조인상 2010.05.12 18468
23 리눅스 환경에서 Xmanager 사용법 조인상 2010.05.12 19185
22 다수의 파일에서 ^M 문자를 모두 없애는 쉘스크립트 ischo 2013.05.09 19273
21 [펌] 리눅스에서의 시리얼통신 조인상 2010.05.12 19998
20 리눅스에 Qlogic2300 HBA카드로 어레이 붙이기 file 조인상 2010.05.12 20213
19 리눅스에서 디스크 덤프하기 ischo 2011.12.22 21898
18 ssh 접속시 로그인 속도가 느릴경우 속도 향상법 ischo 2011.08.30 23007
17 리눅스 Services 설명 ischo 2011.07.08 23645
16 file descriptor 설정하기 ischo 2013.07.10 24076
15 아파치 SSL 적용된 경우 startup 시에 SSL 패스워드 자동입력시키기 ischo 2011.06.02 24256
14 백스페이스 눌러서 지우려고 할때 ^H 표시될때 조치법 조인상 2010.05.12 24526
13 삼바 세팅 및 사용법 [1] 조인상 2010.05.12 25133
12 static routing 정보 저장하여 재부팅시에도 자동 적용 ischo 2013.07.23 25386
11 리눅스 mdadm 을 이용한 S/W RAID 구성 [1] ischo 2011.07.20 25449
10 RHEL 6.x 에서 multipath 설정 ischo 2015.07.31 27202
9 TCP TIME_WAIT이 많이 발생하여 문제가 되는 경우 ischo 2011.08.18 28344
8 Linux용 nmon 설치 및 구성 file ischo 2013.01.17 29157
7 리눅스에서 hostid 란? ischo 2013.06.25 29170
6 랜카드 동작속도 확인/수정 방법 조인상 2010.05.12 29490
5 리눅스 가상 IP 설정 조인상 2010.05.12 30763
서버에 요청 중입니다. 잠시만 기다려 주십시오...