From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,15250eca16e339f1 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-18 12:44:08 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy.mps.ohio-state.edu!miavx1!miamilink.lib.muohio.edu!pmurray Newsgroups: comp.unix.osf.osf1 Subject: Re: keyboard echos incorrect characters Message-ID: <1994Jul18.131917.27181@miavx1> From: pmurray@miamilink.lib.muohio.edu (Peter Murray) Date: 18 Jul 94 13:19:16 -0500 References: <30e1bv$4pa@taco.cc.ncsu.edu> Distribution: world Nntp-Posting-Host: miamilink.lib.muohio.edu X-Newsreader: TIN [version 1.2 PL2] 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 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. Peter