From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5c56b4581a2ad7e5,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,5c56b4581a2ad7e5,start X-Google-Attributes: gidfee84,public From: kamal@wipsys.stph.net Subject: Unable to read function keys F1 & F10 Date: 1998/01/16 Message-ID: <884940781.191561741@dejanews.com>#1/1 X-Deja-AN: 316596923 X-Http-User-Agent: Mozilla/3.01Gold (Win95; I) X-Originating-IP-Addr: 196.12.37.133 () Organization: Deja News Posting Service X-Authenticated-Sender: kamal@wipsys.stph.net X-Article-Creation-Date: Fri Jan 16 08:53:01 1998 GMT Reply-To: kamal@wipsys.stph.net Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Hello, In my program , I am unable to read function keys F1 & F10, where as I could read other function keys (F2 to F9). I suspect window manager or some other program is eating it up before it comes to my program. I am running the program in 'dtterm'. Please let me know if there is any way to read these function keys in my program. I am running the program on Digital Unix 4.0 Thanks, Kamal. P.S: Sample program -------------------- #include #include #include #include main() { int i; char ch; initscr(); keypad(stdscr,TRUE); while (1) { i = wgetch(stdscr); printw("key = %d \n",i); } endwin(); } -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet