Hi. i need to do a console aplication in c that uses special function keys. But it seems that keys like (ctrl, alt, etc) are not being passed to the app. and the special function keys just write garbage onto the screen. Any guidelines? I'm programming under linux.
i would also appreciate some advices about this for simple 16-bits console aplications for windows. once i did a program that used the special function keys but it was made in asm and i checked bios memory areas. i suposse there must be a way to detect this keys at some more upper level. For example when you press a f? key under DOS the system send two characters to the buffer the first one is 00 and the second is the key-code so you can use two getch() to detect the key. Something like that for the ctrl + ?
thanks in advance