making on 1.4.1/SS-2
site index less- の出力から。(1999/11/28)
200-98/08/26 21:00 256338 /pub/misc/less-332-iso248.tar.gz
ftp> site index less-34
200-index less-34
200-99/04/28 14:59 225543 /pub/GNU/less/less-340.tar.gz
200-99/11/06 02:05 226547 /pub/misc/less-346.tar.gz
上の 332-iso248 の方を
./configure
time make
screen.c: In function `cost':
screen.c:1307: warning: passing arg 3 of `tputs' from incompatible pointer type
screen.c: In function `init':
screen.c:1488: warning: passing arg 3 of `tputs' from incompatible pointer type
というのがうるさい。
man から
void
tputs(char *cp, int affcnt, void (*outc)(int));
/usr/include/termcap.h から
void tputs __P((const char *, int, void (*)(int)));
1307 行目
tputs(t, sc_height, inc_costcount);
char *t, int, static int
213.717u 27.447s 4:49.64 83.2% 0+0k 382+1039io 12pf+0w
makoto@milano 21:04:23/991128(...making/less-332-iso248)>
make install
これでも /usr/bin/less の方が先に出て来てしまうこともある。
/usr/local/bin が先にあれば良い
echo $PATH | tr ':' '\012'
で確める