Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: peter@nmti.com (Peter da Silva)
Subject: Re: Input problem with OSF/1
Date: 1995/05/26	[thread overview]
Message-ID: <id.BF7K1.3Y1@nmti.com> (raw)
In-Reply-To: pWMxvgXOBhQO083yn@vestnett.no

In article <pWMxvgXOBhQO083yn@vestnett.no>,
Yngvar Foelling <yngvar@vestnett.no> wrote:
> In article <id.DT_J1.Q59@nmti.com>, peter@nmti.com (Peter da Silva) wrote:
> > This sounds like standard "terminal isn't in raw mode" behaviour. A really
> > icky workaround is to override lynx by wrapping it in a script:

> >       stty -echo cbreak; /real/path/to/lynx; stty echo -cbreak

> As I said, I tried stty raw, and I think cbreak is *included* in that.

Raw is a specific mode whereby no input processing is performed. Cbreak
performs input processing, it just doesn't do text accumulation and erase
and kill processing. Raw can be turned on and off without effecting
whether the line is in cbreak mode. If lynx turns raw off but for some
reason isn't turning cbreak on that would happen.

I guess I shouldn't have said "raw" above.

> Anyway, I've now been told that setting stty <line speed> (for instance,
> stty 9600) fixes the problem.  It was set at 0.  Any idea why, and how
> to correct this permanently?

Lynx may use the line speed to determine whether it will switch to
some degraded mode on slow terminals. Or there may be a bug in the
character processing if speed is set to 0. Traditionally in UNIX 0
baud means "hang up line"... it shouldn't get set ever.
-- 
Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                                "Har du kramat din varg idag?"



      reply	other threads:[~1995-05-26  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-05-12  4:00 Key input problem with lynx under OSF/1 Yngvar Foelling
1995-05-18  4:00 ` Input problem with OSF/1 Brady W. Clark
1995-05-19  4:00   ` Peter da Silva
1995-05-22  4:00   ` Torbj|rn Lindgren
1995-05-25  4:00   ` Yngvar Foelling
1995-05-26  4:00     ` Peter da Silva [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox