Sure-fire BSD curses arrow key detection

Jerry Frain frain at cis.ksu.edu
Mon Apr 8 08:08:57 AEST 1991


Seems like this question gets asked pretty often, but I've never seen
a sufficient answer.

Anyone out there have a reliable, BSD-based, curses routine that accepts
characters from the keyboard and deciphers the arrow keys?

I've tried a number of implementations, yet can't seem to get one pinned
down that works right all of the time.

Thanks in advance.

  --Jerry

--
Jerry Frain -- Systems Programmer               Kansas State University
                                        Department of Computing & Info Sciences
Internet : frain at cis.ksu.edu                       Manhattan, Kansas
UUCP     : ...!rutgers!ksuvax1!frain



More information about the Comp.unix.questions mailing list