From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a225f025766c613d X-Google-Attributes: gidfee84,public From: peter@nmti.com (Peter da Silva) Subject: Re: Input problem with OSF/1 Date: 1995/05/26 Message-ID: #1/1 X-Deja-AN: 103354605 sender: peter@nmti.com (peter da silva) references: <3pf20e$6o1@hermes.oc.com> organization: Network/development platform support, NMTI newsgroups: comp.unix.osf.osf1 In article , Yngvar Foelling wrote: > In article , 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 (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?"