Hello Thomas and the rest of the list,
I've been doing something today with ncurses and c,
and I'm finding the problem that wgetch doesn't report
me KEY_F(n) on a window different than stdscr, it does
with anyother keys though.
What I'm doing looks much like emacs (or my emacs),
where you see one or two lines on the bottom (one
window), and then rest of the screen (the other
window). I'm creating both of them via newwin, becase
I'd like to refresh one independently of each other.
I understand they overlap stdscr, cose when having
them on screen, a wgetch(strscr) causes them to
dissapear, as if wgetch would be giving focus to
stdscr stright away.
Hence that I've been looking within the man pages to
see whether there is some function which lets me
control focus or something like that, though I haven't
found any. I wonder how is this controlled with
libforms and others.
The thing is that I've got a few normal keys already
gotten, and wanted to use F1 for help, an maybe two
functions keys whether possible.
If it helps you (or anyother) to give me an idea on
how to get around this, portability shouldn't be an
issue as I'm doing an application for a set of
computers (all of them identical), and I'm talking
about an xterm application instead of a tty one.
Also as I'm writting would also appreciate any hints
on how to get combinations such us SHITF+key and the
like, which I haven't seen either within the man
pages, or have completely missed.
Kind Regards,
___________________________________________________________
Try the all-new Yahoo! Mail. "The New Version is radically easier to use"
The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses