Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!elroy.jpl.nasa.gov!decwrl!ucbvax!bloom-beacon!snorkelwacker!ira.uka.de!smurf!gopnbg!altger!mike From: mike@alt.sub.org (Mike Hoffmann) Newsgroups: comp.unix.i386 Subject: Re: rn on 386/ix. Keywords: install, crunch, magic incantations Message-ID: <2341@altger.UUCP> Date: 15 Mar 90 11:14:30 GMT References: <3975@uceng.UC.EDU> Organization: /usr/lib/news/organization Lines: 36 In article <3975@uceng.UC.EDU> dmocsny@uceng.UC.EDU (daniel mocsny) writes: >"intrp.c" line 538, CBREAK undefined. > >Grep'ing the sources shows CBREAK on line 104 of a file term.h. This is >in a macro definition for what is ordinarily the perfectly fine curses >library function crmode(). But nowhere in the rn sources do I see a line >like #include , so I guess Larry Wall is "rolling his own." >But the Makefile does have the -lcurses.h option in there. Suddenly things >are looking pretty strange. >dmocsny@uceng.uc.edu I stumbled into that one too!}i Then I wondered why the system used CBREAK at all, as it's doesn't occur in Sys V termio.h. So I started from scratch and watched the Configure script closely and LO! it didn't use termio at all, but sgtty instead. I looked into the the script and found a weird expression checking for existence of /usr/include/termio.h and then some other stuff. (I remember "sun" was in that line, it's all archived and tugged away, and I haven't got the time to unpack it now) I discarded everything after the check for termio.h that followed in that line, ran it all again and presto! Configure found termio.h OK and then it all wen't smoothly. Hope this helps! Mike -- ! Mike Hoffmann ! It's difficult ! UUCP: ! ! Fasangartenstr.102 ! to soar with Eagles ! ...!unido!altger!mike ! ! D-8000 Munich 90 ! when you have to ! SUB: ! ! West Germany ! work with Turkeys ! ...!altger!chiuur!krondor!mike !