tar jxf rxvt-2.7.2-10-src.tar.bz2
cd rxvt-2.7.2
zcat ../rxvt-272-6j01.patch.gz | patch -p1
zcat ../rxvt-2.7.2-10-j01-p1.patch.gz | patch -p1
CFLAGS=-O3 ./configure --prefix=/usr/local --x-includes="../W11 -IW11" \
    --x-libraries="../W11/lib -mwindows ../W11/wrap/rxvt_res.o -Wl,--subsystem,windows" \
    --with-xpm-includes=../W11/X11 \
    --with-xpm-library=../W11/lib \
    --enable-transparency \
    --enable-menubar \
    --enable-xpm-background \
    --enable-languages \
    --with-encoding=sjis
make 
make install
-km [sjis|eucj] 漢字コード (default: sjis) -fn fontname 1byte文字用フォント (default: msmincho-14) -fm fontname 多バイト文字用フォント (default: msmincho-14) -lsp int 行間を空ける (default: 0)
c:\usr\local\bin\rxvt.exe -display :0 -fn msgothic-12 -fm msgothic-12 -km sjis -e /bin/bash.exe --login -i rxvt -fn 'DFパブリW5D'-14-jisx0201 -fm 'DFパブリW5D'-14-jisx0208 -e bash -i
 
 
 
 
 
 
 
CFLAGS=-O2 ./configure --prefix=/usr/local
make 
make install-strip
jvimのパッチを当てる。
tar zxvf vim-3.0.tar.gz
tar zxvf jvim-2.1a.tar.gz -C vim
cd vim
patch -p1 < jvim.diff
cd src
cp makjunix.mak Makefile
vim/src/Makefile:
line 81
 - TARGET = vim
 + TARGET = vim.exe
line 225
 - #MACHINE = -DBSD_UNIX
 - #CC=gcc -O
 - #LIBS = -lncurses
 + MACHINE = -DBSD_UNIX
 + CC=gcc -O
 + LIBS = -ltermcap
vim/src/vim.h:
line 311
 - #ifdef linux
 + #if defined(linux) || defined(__CYGWIN__)
cd vim/src
make
make install
make
make install
gcc -o nkf -O2 nkf.c
cp nkf.exe /usr/local/bin
cp nkf.1* /usr/local/man/man1
cd kterm-6.2.0
patch -p1 < ../kterm-6.2.0.cygwin-b19.patch
main.c:2116
/dev/ttyを開くときretryするようにする。
(inetdのrexec向け)
  if (! setjmp(env)) {
    tty = open("/dev/tty", O_RDWR, 0);
+   if (tty == -1){ /* retry for cygwin rexec */
+     alarm(2);
+     tty = open("/dev/tty", O_RDWR, 0);
+   }
    alarm(0);
  } else { 
Imakefile:74 
ncursesではなくtermcapを使うように。
-  TERMCAPLIB = -lncurses
+  TERMCAPLIB = -ltermcap
xmkmf
make (warningが出まくるのが不安)
make install
make install.man
なお、実行にはxemacs-sumo.tar.gz, xemacs-mule-sumo.tar.gzを取ってきて、
/usr/local/lib/xemacs以下で展開する必要がある
(xemacs-sumo.tar.gz,
xemacs-sumo.tar.gz)。
./configure \
        --cflags="-O6 -mpentiumpro -mcpu=pentiumpro -march=pentiumpro
                -fomit-frame-pointer -ffast-math -fexpensive-optimizations
                -fschedule-insns2 -fsched-spec-load -fstrength-reduce
                -malign-double
                -malign-loops=2 -malign-jumps=2 -malign-functions=2
                -s" \
        --cppflags="-O6 -mpentiumpro -mcpu=pentiumpro -march=pentiumpro
                -fomit-frame-pointer -ffast-math -fexpensive-optimizations
                -fschedule-insns2 -fsched-spec-load -fstrength-reduce
                -malign-double
                -malign-loops=2 -malign-jumps=2 -malign-functions=2
                -s" \
        --site-includes=/usr/local/include \
        --site-libraries=/usr/local/lib \
        --dynamic=yes \
        --with-x11 \
        --with-tty \
        --without-msw \
        --without-toolbars \
        --with-athena=xaw \
        --with-menubars=lucid \
        --with-scrollbars=lucid \
        --with-dialogs=athena \
        --with-widgets=athena \
        --with-mule \
        --with-xim=xlib \
        --with-xfs \
        --debug=no \
        --error-checking=none
make
make install
make gzip-el