From: Eric Lease Morgan <eric_morgan@ncsu.edu>
Subject: Re: keyboard echos incorrect characters
Date: 18 Jul 1994 21:01:22 GMT [thread overview]
Message-ID: <30eqj2$c6i@taco.cc.ncsu.edu> (raw)
In-Reply-To: 30e1bv$4pa@taco.cc.ncsu.edu
In article <1994Jul18.131917.27181@miavx1> Peter Murray,
pmurray@miamilink.lib.muohio.edu writes:
>Eric Lease Morgan (eric_morgan@ncsu.edu) wrote:
>: Can anybody give me a clue as to why my keyboard echoes:
>
>: * ^[[A for up arrow,
>: * ^[[B for down arrow,
>: * ^[[C for right arrow, and
>: * ^[[D for left arrow.
>
>: Similarly, all my terminal-type appplications like swais, gopher, and
>: lynx do not respond to my keyboard commands properly.
>
>Do a `stty`. If you see "speed 0 baud" in the first line, type `stty
9600`.
>
>Or, as part of a C program:
>
> #include <sys/ioctl.h>
> struct sgttyb sgttyb;
> (void)ioctl(0, TIOCGETP, &sgttyb);
> sgttyb.sg_flags |= B9600;
> (void)ioctl(0, TIOCSETP, &sgttyb);
>
>
>It is a bug somewhere, but I don't know enough about OSF/1 internals to
>guess where. I just know that the above solution solves a lot of
problems,
>including the ones you've mentioned.
This solution works for me, and I suppose I can edit my .login or .cshrc
file to automatically configure this when I log in. But what happened to
my "remember last command" feature, the feature that echoed my last few
commands when I pressed the up and down arrow keys?
Eric Lease Morgan
NCSU Libraries
next prev parent reply other threads:[~1994-07-18 21:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-07-18 13:50 keyboard echos incorrect characters Eric Lease Morgan
1994-07-18 18:19 ` Peter Murray
1994-07-19 16:33 ` Peter da Silva
1994-07-18 21:01 ` Eric Lease Morgan [this message]
1994-07-19 14:59 ` Peter Murray
1994-07-19 14:39 ` Jon Mauney
1994-07-19 16:35 ` Peter da Silva
1994-07-19 16:31 ` Peter da Silva
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