*BSD News Article 32227


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!yarrina.connect.com.au!harbinger.cc.monash.edu.au!msuinfo!netnews.upenn.edu!news.cc.swarthmore.edu!psuvax1!news.ecn.bgu.edu!usenet.ins.cwru.edu!gatech!swrinde!news.uh.edu!uuneo.neosoft.com!blkbox!cbevis
From: cbevis@blkbox.com (Cameron Bevis)
Newsgroups: comp.os.386bsd.apps
Subject: PICO for FreeBSD 1.1r?
Date: 27 Jun 1994 23:14:24 GMT
Organization: The Black Box, Houston, Tx (713) 480-2686 
Lines: 51
Message-ID: <2unmgg$9ii@blkbox.blkbox.COM>
NNTP-Posting-Host: blkbox.com
X-Newsreader: TIN [version 1.2 PL2]

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?