next up previous
Next: この文書について... Up: 数学科でコンピューターを使う Previous: A. Windows + Cygwin

B. 什 の設定ファイル

.cshrc
#
source /cygdrive/y/local/skel/cshrc

.emacs
(cond
  ((string-match "20.*" emacs-version)

   (load "y:/local/skel/meadow")

   ); Meadow

  ((string-match "21.*" emacs-version)

   (load "/cygdrive/y/local/skel/emacs21")

   )
)

.xinitrc
PATH=/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/canna/bin:/.Windows/winsys32
cd

exec > .xinitrc.log 2> .xinitrc.log

DISPLAY=`hostname`:0.0
export DISPLAY
xhost oyabun-gw

rm -rf /tmp/.iroha_unix /tmp/.ki2-unix

cannaserver

LANG=ja_JP.EUC
XMODIFIERS='@im=kinput2'
export LANG XMODIFIERS

if [ -d /usr/X11R6/lib/X11/fonts/TT ]; then
    xset fp+ /usr/X11R6/lib/X11/fonts/TT
fi

xmodmap $HOME/.xmodmap.jp

xrdb -load $HOME/.Xresources

kinput2 -canna &

xterm -geometry 80x5 -title 'xterm' -e /bin/tcsh &
kterm -geometry 80x60+0+100 -title 'kterm(sjis)' -km sjis -sb -sl 1000 -e /bin/tcsh &
kterm -geometry 80x40+500+300 -title 'kterm(euc)' -km euc -sb -sl 1000 -e /bin/tcsh &
xeyes -geometry +864+0 &
xclock -geometry +850+130 &
#
xwinclip &
openbox

cannakill
# if cannakill could not terminate cannaserver...
p=`ps a | grep cannaserver | awk '{ print $1; }'`
if [ "$p" != "" ]; then
    kill $p
fi


next up previous
Next: この文書について... Up: 数学科でコンピューターを使う Previous: A. Windows + Cygwin
Masashi Katsurada
平成15年12月4日