[comp.sources.d] Less command problem

rds95@leah.Albany.Edu (Robert Seals) (09/27/88)

My `less' came up fine, but the screen is apparently not in the
correct mode (cbreak?). It does not respond to commands immediately,
but waits for the user to hit cr.

Ultrix v 1.2.

I looked through all the "patches" (and there are a bunch - like what the
heck gang?) but did not find anything like this. I think I even read all
the documentation and instructions...wow.

So is this just me being stoopid again, or a real live problem?

Hope my .sig makes it this time...(and torek doesn't mind....)

rob

mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) (10/09/88)

From article <1051@leah.Albany.Edu>, by rds95@leah.Albany.Edu (Robert Seals):
> My `less' came up fine, but the screen is apparently not in the
> correct mode (cbreak?). It does not respond to commands immediately,
> but waits for the user to hit cr.

This sounds like the infamous Ultrix termio.h problem that has bitten
rn installers before.  If you told "linstall" that your system has TERMIO,
it does a #define TERMIO 1 in defines.h; consequently in screen.c you get
a #include <termio.h>.  You DON'T want that on an Ultrix system.

Just change the TERMIO #define to 0 in defines.h and recompile.

Mike Khaw
-- 
internet: mkhaw@teknowledge.arpa
uucp:	  {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge.arpa
hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303