I have an application in which the user inputs data and needs to be able to move around the screen using the arrow keys. now I’ve used the curses library but I am having a problem detecting the arrows after calling a system command which is
system("more filename);
I’ve been able to detect them before calling this command. but afterwards, even after trying to turn the keypad on again using
keypad(scrn, TRUE);
it’s not working.
any suggestions? thank you:)
Try the advice here: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/misc.html#TEMPLEAVE