I've recently starting looking at and attempting to work with the
ncurses libs on linux. I currently have a loop that uses wgetch to read
chars from the user. I'm also using cbreak mode so the buffering is
turned off. I'm wondering if there's an easy way to detect when the
user hits delete or backspace. I'm also wondering if I'll need to learn
the terminfo libs to do this. Any ideas?