Mail Archives: djgpp/1993/12/07/21:08:51
> o Anyone using curses (part of contrib to djgpp) ? I'm having some
> problem with proper response of getch(). The curses libraray on
> the SUN station I use comes with cbreak() to handle keystrokes
> properly, but I couldn't find the equivalent anywhere in curses
> or the djgpp libs.
If I remember how I wrote it, you should be forced into raw mode with
nothing you can do about it (echo() may work, I can't remember). What
exactly is wrong - it is reading the DOS keyboard and then returning
a K_ value as defined in the .h file (NO it's not SYSV compatible, but
I had nothing but Ken Arnold's original article when I wrote it).
I spoke to DJ and he suggested using PDCurses.
I don't plan on doing any more support in terms of development unless
I need it for myself (not likely, really). However, I think it's all
pretty clear -- the keyboard stuff is in ckbdintf.c -- look for #ifdef
__GNUC__.
Good luck in your endeavors.
--
J. Alan Eldridge (alane AT wozzle DOT linet DOT org)
- Raw text -