Cygwin上のEmacs でGmail, 2ch, hiki更新 (その1)
http://yourpalm.blogspot.com/2009/02/cygwinemacs-gmail-2ch-hiki-1.html
の続き..
Cygwin環境の整備
私の環境では、
環境変数HOMEのディレクトリ=My Documentsのディレクトリ=D:\home\${user}
というふうにしています。
というわけで、My Documents配下に以下のファイルを作成します。
emacsの他vimを使えないと不便なことがあるので、.vimrcを作成します。
.vimrc
set encoding=japanset fileencodings=iso-2002-jp,utf-8,euc-jp,cp932
cygwin上で日本語入力するために必要な.inputrcを作成します。
.inputrc
# 日本語入力の設定set kanji-code sjisset convert-meta offset meta-flag onset output-meta on
ログイン時に参照される.bashrcを作成します。
.bashrc
PS1="\[\e]0;\w\a\]\n\[\e[32m\]\t [\u@\w]\\[\e[33m\]\[\e[0m\]\$ "PATH=$PATH:/usr/local/bin alias ls='ls --show-control-chars --color=auto' export LANG=ja_JP.SJISexport TZ=JST-9export JLESSCHARSET=japanese-sjis
Cygwin上のEmacs でGmail, 2ch, hiki更新 (その3)
http://yourpalm.blogspot.com/2009/02/cygwinemacs-gmail-2ch-hiki-3.html
へ続く