http://d.hatena.ne.jp/kamicup/20081002/1222926167
を完全に参照いたしました。
cygwin 日本語用化 .bashrc
export LANG=ja_JP.SJIS export TZ=JST-9 export JLESSCHARSET=japanese-sjis #export PATH=$PATH:/cygdrive/c/Program Files/R/R-2.8.1/bin #export PATH=/cygdrive/c/MinGW/bin:$PATH #export PATH=/cygdrive/c/bin:$PATH #export RHOME=/urs/local/lib/R #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RHOME/bin alias ls='ls --show-control-chars --color=auto' alias xin='(cd; startx > .startx.log 2>&1) &' #ln -s /bin/cygstart open
.inputrc
set kanji-code sjis set convert-meta off set meta-flag on set output-meta on
.vimrc
set encoding=cp932 set fileencoding=cp932 set termencoding=cp932 set fileencodings=iso2022-jp,uts-8,uts-16,euc-jp,cp932
プログラム用
set encoding=cp932 set fileencoding=cp932 set termencoding=cp932 set fileencodings=iso2022-jp,uts-8,uts-16,euc-jp,cp932 syntax on set ruler set number set incsearch
login用 cocotの導入
# wget http://iwa.ath.cx/software/cygwin/cocot-20041220.tar.bz2 wget https://github.com/vmi/cocot/tarball/master --no-check-certificate #tar xjf cocot-20041220.tar.bz2' #cd cocot-20041220 gzip -d vmi-cocot-1c5e570.tar.gz tar -xvf vmi-cocot-1c5e570.tar cd vmi-cocot-1c5e570 ./configure make make install