On Tue, 1 Apr 2003 16:18, Andy Eager wrote: > Hi all, > > I am writing some code using ncurses and would like to be able to > distinguish between: > Tab-Key > Shift Tab-Key > > I have tried using getch in both keypad and normal mode but all I seem > to get back is 0x09 (normal tab) > > So far only tried it with TERM=linux and TERM=xterm, but you'd think > they would have back-tab functionality. > > Thanks, > > Andy
Hi Andy, You can use 'od' to check keyscan codes. I used it to modify the termcap file. Also have a look at 'xev' that should give you the scan codes. -- Regards, Graham Smith --------------------------------------------------------- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
