/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.
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.
'Infrastructure' 카테고리의 다른 글
사용자 삭제 및 디비 (0) | 2010.08.04 |
---|---|
UTF-8과 EUC-KR 동시에 사용하기 (0) | 2010.08.03 |
Apache에서 디렉토리임에도 DocumentRoot 에러 날 때 (2) | 2010.08.03 |
사용자 계정의 관리 (0) | 2010.08.02 |
FTP서버 vsftpd 설치와 운영 (0) | 2010.08.02 |