Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!rice!sun-spots-request From: edpmgt!gpitcher@decwrl.dec.com (Glenn Pitcher) Newsgroups: comp.sys.sun Subject: Curses question Keywords: Miscellaneous Message-ID: <1990Aug14.232532.16625@rice.edu> Date: 13 Aug 90 20:41:48 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 23 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 304, message 4 I'm starting to work with curses and have already run into a bit of a problem.. I need to be able to tell the difference between the tab (->) and backtab (<-) keys. I wrote the following piece of code to give me the ascii key codes: in_key = getch(); printf("%X\n",in_key); The code I get from both the forward and backward tab is 0x09. Is there something I'm missing here? Is there mabey another input function I should be using??? I called Sun about this problem (are you guys listening) and about all they could say is that their curses person is out of the office for the week and they don't know a whole lot about it (jeezzz, how much do I pay a month for a service contract???). Thanks in advance, Glenn Pitcher UUCP: {crash,ucsd}!edpmgt!gpitcher Programmer/Analyst & hp-sdd!teamnet!gpitcher Unix Guru in training EDP Management, Inc. * Proud member of Team.Net *