[comp.unix.ultrix] rn, ultrix, and crmode

don@seila.UUCP (12/25/87)

Am having trouble getting rn (version 4.3) to work correctly under
ultrix 2.0.  Seems like crmode() is not setting the tty mode to cbreak when
it should.  Symptom is that i have to type <return> after any single
letter command inside rn in order for anything to happen.  (Other than
that rn works perfectly.)

I ran Configure, makedepend, then make and make install... didn't
have any problems nor see anything suspicious in config.h or Makefile.

Any pointers from someone who's done this?  Thanks in advance...

don
-- 
Don Kossman, SEI Information Technology, Los Angeles
usenet: {ccicpg!imt3b2 | peregrine!imt3b2 | sun!tsunama!tsunami}!seila!don

bytebug (Roger L. Long) (12/30/87)

In article <16926@felix.UUCP> don@seila.UUCP writes:
>Am having trouble getting rn (version 4.3) to work correctly under
>ultrix 2.0.  Seems like crmode() is not setting the tty mode to cbreak when
>it should.  Symptom is that i have to type <return> after any single
>letter command inside rn in order for anything to happen.  (Other than
>that rn works perfectly.)
>
>I ran Configure, makedepend, then make and make install... didn't
>have any problems nor see anything suspicious in config.h or Makefile.

The problem is that Ultrix 2.0 has a /usr/include/termio.h, which is what
the Configure script uses to decide how to do it's i/o.  If after you run
Configure, you go and edit the config.h it creates to change:

	#define	TERMIO		/* is this a termio system? */

		to

	#undef	TERMIO		/* is this a termio system? */

you'll have rn running in short order.  
--
	Roger L. Long
	FileNet Corp
	{hplabs,trwrb}!felix!bytebug