🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2182

Re: Elm 2.2 not entering raw mode

#2182
From: Mark A. Matthews
Date: Thu, 20 Apr 1989 16:33
32 lines
2059 bytes
In article <3925@mipos3.intel.com> bbishop@tamcad.intel.com (Brian Bishop) writes:
>I am running ULTRIX 2.? on a 11/750, and Elm 2.2 doesn't enter raw
>mode.  This is even worse than one might think as when the pager exits
>and elm says "i to return to index page" (or something like that), one
>must type i <RET>.  Now elm thinks the return means read the message.
>I endup generating a QUIT to bail out.
>
>I ran configure with nothing strange.  It thought I was on BSD
>(unrelated note - even though configure couldn't find uname, it tried
>to use it anyways).
>Brian Lloyd Bishop                            bbishop@tamcad.intel.com

I ran into the same problem.  (Ultrix 2.0 on uVax II).  Turns out to be that
Configure gets a bit confused with all the system 5'isms contained in
Ultrix.  Configure ends up finding termio.h due to the order that it
searches.  Later on when compiling elm, The curses library used is expecting
BSD ioctls but is getting called with sys 5 (so I think.)  Anyway, elm ends
up in half-cooked mode and won't do anything until it receives a newline.

To hack around it, run Configure and edit the config.sh script when you get
the opportunity at the end of Configure. Make d_termlib='-ltermcap' and
d_term_io=''.  Then config, make and install.

A more permanent fix would require detecting Ultrix before hunting for
libraries.  One possible way is to look for the pre-defined 'ultrix'
produced by the C compiler.




-- 
-Mark (mam@gvgspd.GVG.TEK.COM -or- ..!tektronix!gvgpsa!gvgspd!mam)
Technical Details
Message-ID: <711@gvgspd.GVG.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!tektronix!gvgpsa!gvgspd!mam
References: <3925@mipos3.intel.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!tektronix!gvgpsa!gvgspd!mam
From: mam@gvgspd.GVG.TEK.COM (Mark A. Matthews)
Newsgroups: comp.sources.bugs,comp.mail.elm
Subject: Re: Elm 2.2 not entering raw mode
Message-ID: <711@gvgspd.GVG.TEK.COM>
Date: 20 Apr 89 16:33:25 GMT
References: <3925@mipos3.intel.com>
Reply-To: mam@gvgspd.GVG.TEK.COM (Mark A. Matthews)
Followup-To: comp.mail.elm
Organization: The Grass Valley Group, Grass Valley, CA
Lines: 32