Cygwin 한글 설정

| 댓글 없음 | 트랙백 없음

Cygwin 기본설정 상태에서는 한글입출력이 불가능 합니다.몇가지 환경설정을 해줘야 한글 입출력이 가능해 집니다.

자신의 홈 디렉토리의.inputrc 파일을 생성하여 다음의 내용을 추가하여 줍니다.

set meta-flag on
set convert-meta off
set output-meta on

마찬가지로 홈 디렉토리의.bashrc 파일을 생성하여 다음의 내용을 추가하여 줍니다.

alias ls="ls -F --color=auto --show-control-char"
alias l.="ls -dl .[a-zA-Z]*"
alias ll="ls -al"
alias cp="cp -i"
alias mv="mv -i"
alias rm="rm -i"

마지막으로 .bash_profile 맨 마지막에

if [ -f /etc/bash.bashrc ] ; then
source /etc/bash.bashrc
fi
 
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi

를 추가해줍니다.

트랙백 없음

트랙백 주소: http://zbum.cafe24.com/MT/mt-tb.cgi/24

댓글

About This Blog Author

정지범(jibum.jung@gmail.com)

Google AdSense

Clock Link

Developers Works

Creative Commons License
This blog is licensed under a Creative Commons License.