Return to BSD News archive
Newsgroups: comp.os.386bsd.apps Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!un!pc012 From: pc012@un.seqeb.gov.au (Patrick Collins) Subject: Re: PICO for FreeBSD 1.1r? Message-ID: <CsLpEx.D4L@un.seqeb.gov.au> Organization: SEQEB X-Newsreader: TIN [version 1.2 PL2] References: <2unmgg$9ii@blkbox.blkbox.COM> Date: Fri, 8 Jul 1994 02:54:32 GMT Lines: 59 Cameron Bevis (cbevis@blkbox.com) wrote: : Has anyone ported PICO to FreeBSD 1.1-R? It has a make file for 386BSD, : but not for FreeBSD. Apparently the problem is in the keyboard. The : program compiles successfully, but when it is run, you have no access to : control characters on the keyboard. The debug output sort of confirms this. : rm -f osdep.c : cp os_unix.c osdep.c : rm -f osdep.h : cp os_bsd.h osdep.h : cc -c -O -I/usr/include -Dbsd ansi.c : cc -c -O -I/usr/include -Dbsd basic.c : cc -c -O -I/usr/include -Dbsd bind.c : cc -c -O -I/usr/include -Dbsd buffer.c : buffer.c: In function `packbuf': : buffer.c:324: warning: type mismatch with previous external decl : buffer.c:190: warning: previous external decl of `malloc' : cc -c -O -I/usr/include -Dbsd composer.c : cc -c -O -I/usr/include -Dbsd display.c : cc -c -O -I/usr/include -Dbsd file.c : cc -c -O -I/usr/include -Dbsd fileio.c : cc -c -O -I/usr/include -Dbsd line.c : cc -c -O -I/usr/include -Dbsd osdep.c : In file included from /usr/include/sys/ttychars.h:62, from /usr/include/sys/ioctl_compat.h:51, from /usr/include/sys/ioctl.h:245, from /usr/include/sgtty.h:39, from osdep.c:47: : /usr/include/sys/ttydefaults.h:62: warning: `CTRL' redefined : estruct.h:84: warning: this is the location of the previous definition : osdep.c: In function `ttopen': : osdep.c:89: warning: passing arg 2 of `signal' from incompatible pointer type : osdep.c:90: warning: passing arg 2 of `signal' from incompatible pointer type : osdep.c:92: warning: passing arg 2 of `signal' from incompatible pointer type : osdep.c:94: warning: passing arg 2 of `signal' from incompatible pointer type : osdep.c:95: warning: passing arg 2 of `signal' from incompatible pointer type : osdep.c: In function `GetKey': : osdep.c:228: `CTRL' undeclared (first use this function) : osdep.c:228: (Each undeclared identifier is reported only once : osdep.c:228: for each function it appears in.) : osdep.c: In function `bktoshell': : osdep.c:365: warning: passing arg 2 of `signal' from incompatible pointer type : osdep.c: In function `do_alarm_signal': : osdep.c:405: warning: passing arg 2 of `signal' from incompatible pointer type : osdep.c: In function `do_hup_signal': : osdep.c:419: warning: passing arg 2 of `signal' from incompatible pointer type : osdep.c: In function `pfnexpand': : osdep.c:463: warning: type mismatch with previous external decl : /usr/include/pwd.h:89: warning: previous external decl of `getpwuid' : osdep.c:463: warning: extern declaration of `getpwuid' doesn't match global one : osdep.c: In function `winch_handler': : osdep.c:688: warning: passing arg 2 of `signal' from incompatible pointer type : *** Error code 1 : Any ideas? I have ported pico to FreeBSD 1.1 with NO changes. It works well Patrick Collins pc012@seqeb.gov.au