Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Key input problem with lynx under OSF/1
@ 1995-05-12  4:00 Yngvar Foelling
  1995-05-18  4:00 ` Input problem with OSF/1 Brady W. Clark
  0 siblings, 1 reply; 6+ messages in thread
From: Yngvar Foelling @ 1995-05-12  4:00 UTC (permalink / raw)


I have no idea if this problem is specific to the program, Unix in
general or OSF/1 in particular.  Hence the crossposting.

Usually, when I start lynx, whenever I press a key it just echoes to the
lower parts of the screen until I press ENTER, and then the ENTER key is
interpreted as a key press, too, usually leading to me following an
unwanted link.

This does not happen if I start up lynx after having run another
screen-oriented program, such as Emacs.  The other programs work fine,
and afterwards, lynx does, too.  I've investigated the stty command with
settings, but nothing seems to fix the problem.  I even used stty raw.

I've got a modem dial-up account, to a DEC Alpha running OSF/1.  My
terminal program is Telix, in vt102 emulation, but I've tried other
programs with the same problem, so I think the problem is at the other
end.

Yngvar Foelling
yngvar@vestnett.no



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Input problem with OSF/1
  1995-05-12  4:00 Key input problem with lynx under OSF/1 Yngvar Foelling
@ 1995-05-18  4:00 ` Brady W. Clark
  1995-05-19  4:00   ` Peter da Silva
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Brady W. Clark @ 1995-05-18  4:00 UTC (permalink / raw)


In article <aU7svgXOBF3P083yn@vestnett.no>,
Yngvar Foelling <yngvar@vestnett.no> wrote:
>Usually, when I start lynx, whenever I press a key it just echoes to the
>lower parts of the screen until I press ENTER, and then the ENTER key is
>interpreted as a key press, too, usually leading to me following an
>unwanted link.
...
>I've got a modem dial-up account, to a DEC Alpha running OSF/1.  My
>terminal program is Telix, in vt102 emulation, but I've tried other
>programs with the same problem, so I think the problem is at the other
>end.
>
>Yngvar Foelling
>yngvar@vestnett.no

Is the system you're dialing into running 3.2?  I am having the same
problem on a system I run, although for me the characters *always*
echo at the bottom of the screen until return is pressed, at which
point the entered data is all acted upon, including the return key.  I
am having the same problem with talk, as I mentioned last night.  Is
there anyone else out there who has seen this problem?  I *just*
upgraded my system to 3.2 from 1.2 and had had no problems like this
before.



-- 
Brady W. Clark -- System Manager, saturn.uaamath.alaska.edu, OSF/1
University of Alaska Anchorage Department of Mathematical Sciences
brady@saturn.uaamath.alaska.edu
U.S.Snail - P.O. Box 110731, Anchorage, AK  99511-0731



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input problem with OSF/1
  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
  2 siblings, 0 replies; 6+ messages in thread
From: Peter da Silva @ 1995-05-19  4:00 UTC (permalink / raw)


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

When you built lynx, did you tell it you had a System V or BSD system?
OSF/1 behaved much more like a BSD than a System V system. I'm running
lynx on OSF/1 3.2 right now with no difficulty.
-- 
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?"



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input problem with OSF/1
  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
  2 siblings, 0 replies; 6+ messages in thread
From: Torbj|rn Lindgren @ 1995-05-22  4:00 UTC (permalink / raw)


In article <3pf20e$6o1@hermes.oc.com>,
Brady W. Clark <brady@saturn.uaamath.alaska.edu> wrote:
>In article <aU7svgXOBF3P083yn@vestnett.no>,
>Yngvar Foelling <yngvar@vestnett.no> wrote:
>>Usually, when I start lynx, whenever I press a key it just echoes to the
>Is the system you're dialing into running 3.2?  I am having the same
>problem on a system I run, although for me the characters *always*
>echo at the bottom of the screen until return is pressed, at which
>point the entered data is all acted upon, including the return key.  I

Have the applications be rebuilt after upgrading? I have heard a lot
of horror-stories about running DEC OSF/1 1.x binaries on DEC OSF/1
2.x systems. 

It's seems to be possible to move binaries freely between OSF/1 2.x
and 3.x (it works both ways for almost all programs). Given that a lot
of people had problem when going from 1.x to 2.x, it seems likely to
cause problems to go from 1.x to 3.x too.

>am having the same problem with talk, as I mentioned last night.  Is
>there anyone else out there who has seen this problem?  I *just*
>upgraded my system to 3.2 from 1.2 and had had no problems like this
>before.

talk? Is it the systems talk binary (/usr/bin/talk) or a customized
version (like ytalk)?

I run Digital UNIX 3.2 (aka DEC OSF/1 3.2) on our machines, and I
haven't seen this kind of problems. Neither the 2.x compiled lynx nor
the 3.2 compiled lynx behaved that way.

I did have to re-compile a few programs after I upgraded from 2.1, but
I didn't get any big surprises. I had to recompile top (not a big
surprise), xemacs and gcc/libg++ (new header files).



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input problem with OSF/1
  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
  2 siblings, 1 reply; 6+ messages in thread
From: Yngvar Foelling @ 1995-05-25  4:00 UTC (permalink / raw)


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.

> When you built lynx, did you tell it you had a System V or BSD system?
> OSF/1 behaved much more like a BSD than a System V system. I'm running
> lynx on OSF/1 3.2 right now with no difficulty.

I don't remember for certain right now, but I *thought* there was a
specific OSF option, which I used.

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?

Followups to comp.unix.osf.osf1, since this was evidently specific to
that.  Anyway, thanks for the help I got.

Yngvar



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input problem with OSF/1
  1995-05-25  4:00   ` Yngvar Foelling
@ 1995-05-26  4:00     ` Peter da Silva
  0 siblings, 0 replies; 6+ messages in thread
From: Peter da Silva @ 1995-05-26  4:00 UTC (permalink / raw)


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?"



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1995-05-26  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox