Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!palo-alto!vixie From: vixie@palo-alto.DEC.COM (Paul Vixie) Newsgroups: news.software.b Subject: Re: rn Ultrix patches wanted Keywords: cbreak, Ultrix Message-ID: <3522@palo-alto.DEC.COM> Date: 20 Jul 88 11:30:55 GMT References: <451@ncar.ucar.edu> Organization: DEC Western Research Lab Lines: 36 In article <451@ncar.ucar.edu> woods@ncar.UCAR.EDU (Greg Woods) writes: # Could someone out there mail me the necessary patches to rn to make it # set CBREAK mode correctly under Ultrix (or a place where I can FTP the # patches from)? Now that I have an Ultrix machine running news here, I'm # getting bit by this one. Thanks. # # --Greg Big-time, major ugly no-no hack to Configure: =============== : see if this is a termio system if $test -r /usr/include/termio.h ; then if grep -s Ultrix /etc/motd ; then $echo "termio.h found, but this is Ultrix so we'll use sgtty.h." termio=undef else termio=define $echo "termio.h found." fi else if $test -r /usr/include/sgtty.h ; then termio=undef $echo "sgtty.h found." else termio=undef $echo "Neither termio.h nor sgtty.h found--you could have problems." fi fi =============== It works, but it ain't right. -- Paul Vixie Digital Equipment Corporation Work: vixie@dec.com Play: paul@vixie.UUCP Western Research Laboratory uunet!decwrl!vixie uunet!vixie!paul Palo Alto, California, USA +1 415 853 6600 +1 415 864 7013