Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!strath-cs!rmacgreg From: rmacgreg@cs.strath.ac.uk (Sorcerer) Newsgroups: comp.lang.c Subject: Scancodes in Un!x... Summary: Or, how do I get non printable characters... Keywords: Scancodes, Unix, C Message-ID: <5731@baird.cs.strath.ac.uk> Date: 20 Feb 91 14:40:22 GMT Distribution: comp.lang.c,comp.unix,cs.unix Organization: Comp. Sci. Dept., Strathclyde Univ., Scotland. Lines: 18 I'm looking for a C function that will let me find out the scan-code of any key pressed. The reason behind this is so that I can find out if the user has pressed the delete/backspace key, the tab key or any function key. Problem is none of the manuals mention a function with that capability... Could you please mail me the replies if you're not reading this on comp.lang.c as I don't subscribe to either of the others... Thanks The Sorcerer is 'Only visiting this planet' but can be found at: JANET: cadx862 @uk.ac.strathclyde.computer-centre-sun rmacgreg@uk.ac.strathclyde.computer-science INTERNET: via nsfnet-relay.ac.uk BITNET: via ukacrl UUCP: via ukc.uucp or second star to the right and straight on 'till morning.