bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: about not using stdscr


From: chinlu chinawa
Subject: RE: about not using stdscr
Date: Tue, 24 Oct 2006 22:18:42 +0100 (BST)

>What is it you're trying to do ?
>Control keys are normally just ascii 1-26 (although
>some will be filtered out
>as unix signals - like ^c)

>Perhaps you'd be better off using a toolkit ?

Hello,

What I'm doing is a driving test application, where
the actual driving test is in xml format, for what I'm
using libxml.

I've uploaded an screenshot --with a bit of debugging
info on it:

http://es.geocities.com/ucho_trabajo/curses/driving.png

It basically reads the file, stores it on memory via
double linked lists, and then the curses interface
make use of it when displaying data, for example left
and right arrow keys advance or decrement the question
number and display the data, while up & down ones
selects an option stores the value for latter test's
correction.

I should be using a toolkit? yes, though I really
enjoy doing things at the lowest possible level, and
learn from the bottom, that's how I've always done.

Appart from correcting my segfaults (I already think
of getting rid of any further subwindows whether I
can't), I also need to put images on it. For this I'll
be using xlib + imlib. 

By now, even pressing left and right keys till last or
first question has been reached, does the work with
any overhead (cpu levels doesn't practically move), so
I got a bit of margin, cose I'm sure xlib+imlib will
introduce some of it, though with some buffering I'd
say you wouldn't notice if making a normal use of the
application.

Kind Regards,



Send instant messages to your online friends
http://uk.messenger.yahoo.com 

Send instant messages to your online friends http://uk.messenger.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]