Cygwin上のEmacs でGmail, 2ch, hiki更新 (その2)

2chComputercygwinGoogleWindows

パーマリンク

http://yourpalm.jubenoum.com/entry/archives/126

の続き..


Cygwin環境の整備

私の環境では、 環境変数HOMEのディレクトリ=My Documentsのディレクトリ=D:/home/${user} というふうにしています。 というわけで、My Documents配下に以下のファイルを作成します。 emacsの他vimを使えないと不便なことがあるので、.vimrcを作成します。 .vimrc
set encoding=japan
set fileencodings=iso-2002-jp,utf-8,euc-jp,cp932

cygwin上で日本語入力するために必要な.inputrcを作成します。 .inputrc


# 日本語入力の設定
set kanji-code sjis
set convert-meta off
set meta-flag on
set output-meta on

ログイン時に参照される.bashrcを作成します。 .bashrc


PS1="[e]0;wa]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.SJIS export TZ=JST-9 export JLESSCHARSET=japanese-sjis


続き

http://yourpalm.jubenoum.com/entry/archives/128