Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!news From: andrew@werple.apana.org.au (Andrew Herbert) Newsgroups: comp.os.386bsd.questions Subject: Re: lynx? Date: 8 Dec 1993 23:04:16 +1100 Organization: werple public-access unix, Melbourne Lines: 76 Message-ID: <2e4fs0$a74@werple.apana.org.au> References: <2dtdgp$d53@terminator.rs.itd.umich.edu> NNTP-Posting-Host: werple.apana.org.au altitude@css.itd.umich.edu (Alex Tang) writes: >Hi. Has anyone got LYNX for *BSD? just wondering. I'm working on it, but if >I could get it from someone who's completed it... [For people wondering, lynx is quite a cute tty-based www client.] Lynx v2-0-12 builds under netbsd-current just fine, with the following patch. Please excuse my SOCKS defines - you can ignore those. :) Andrew -- *** Makefile.unhacked Fri Nov 26 15:22:57 1993 --- Makefile Sat Nov 27 12:35:32 1993 *************** *** 75,90 **** # this generic entry!! generic: @echo "You must first compile the WWW library in WWW/Library" ! cd WWW/Library/unix; make ! cd src/WWW; make lib CC="cc" MCFLAGS="-g -DUNIX -I../../$(WWWINC) \ -DFANCY_CURSES -DHAVE_SIGIO" ! cd src/WWW; make ranlib ! cd src/gopher; make all CC="cc" MCFLAGS="-g -DUNIX -I../../$(WWWINC)\ -DHAVE_SIGIO" ! cd src/gopher; make ranlib ! cd src; make all CC="cc" MCFLAGS="-g -DFANCY_CURSES -DUNIX -DHAVE_SIGIO\ -DREXEC -I../$(WWWINC)" LIBS="-lcurses -ltermcap \ ../WWW/Library/unix/libwww.a " snake: cd WWW/Library/snake; make --- 75,105 ---- # this generic entry!! generic: @echo "You must first compile the WWW library in WWW/Library" ! cd WWW/Library/unix; $(MAKE) ! cd src/WWW; $(MAKE) lib CC="cc" MCFLAGS="-g -DUNIX -I../../$(WWWINC) \ -DFANCY_CURSES -DHAVE_SIGIO" ! cd src/WWW; $(MAKE) ranlib ! cd src/gopher; $(MAKE) all CC="cc" MCFLAGS="-g -DUNIX -I../../$(WWWINC)\ -DHAVE_SIGIO" ! cd src/gopher; $(MAKE) ranlib ! cd src; $(MAKE) all CC="cc" MCFLAGS="-g -DFANCY_CURSES -DUNIX -DHAVE_SIGIO\ -DREXEC -I../$(WWWINC)" LIBS="-lcurses -ltermcap \ ../WWW/Library/unix/libwww.a " + + # if you are compiling on a previously unsupported system, modify + # this generic entry!! + netbsd: + @echo "You must first compile the WWW library in WWW/Library" + cd WWW/Library/unix; $(MAKE) MCFLAGS="-O -DSOCKS" + cd src/WWW; $(MAKE) lib CC="cc" MCFLAGS="-O -DSOCKS -DUNIX -I../../$(WWWINC) \ + -DHAVE_SIGIO" + cd src/WWW; $(MAKE) ranlib + cd src/gopher; $(MAKE) all CC="cc" MCFLAGS="-O2 -m486 -DSOCKS -DUNIX -I../../$(WWWINC)\ + -DHAVE_SIGIO" + cd src/gopher; $(MAKE) ranlib + cd src; $(MAKE) all CC="cc" MCFLAGS="-g -DUNIX -DHAVE_SIGIO\ + -DREXEC -I../$(WWWINC)" LIBS="-lcurses -ltermcap \ + ../WWW/Library/unix/libwww.a -L/usr/local/lib -lsocks" snake: cd WWW/Library/snake; make *** src/size_change.c.unhacked Sat Nov 27 00:44:22 1993 --- src/size_change.c Sat Nov 27 00:45:26 1993 *************** *** 1,4 **** --- 1,7 ---- #include "defs.h" + #ifdef __NetBSD__ + #include <sys/ioctl.h> /* struct winsize */ + #endif /************** ** This bit of code catches window size change signals