[comp.unix.questions] question on keyboard mapping using curses

les@milton.u.washington.edu (Leslie Pennington) (06/18/91)

I have been putting the finishing touches on a personal text editor
which reads keyboard input from a vt terminal in raw mode and responds
to keystrokes in an appropriate manner.  I would like to be able to
use the DEL key to delete the character at the cursor position, but
have not found the right way to get this keystroke to return a unique
escape sequence; instead it always returns a '.'.  If I use exactly
the same code on an Ultrix system using cursesX instead of curses, I
do get a unique escape sequence.  What do I need to do to get curses
to work like cursesX in this case??

Thanks,

Les Pennington