Elm 2.2 not entering raw mode

Mark A. Matthews mam at gvgspd.GVG.TEK.COM
Fri Apr 21 02:33:25 AEST 1989


In article <3925 at mipos3.intel.com> bbishop at 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 at 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 at gvgspd.GVG.TEK.COM -or- ..!tektronix!gvgpsa!gvgspd!mam)



More information about the Comp.sources.bugs mailing list