Xref: utzoo comp.lang.fortran:5618 comp.lang.c:39854 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!ira.uka.de!rusmv1!news From: erwin@suncvt12.verfahrenstechnik.uni-stuttgart.de (Erwin Dieterich) Newsgroups: comp.lang.fortran,comp.lang.c Subject: keystroke Message-ID: <1991Jun5.195952.25440@rusmv1.rus.uni-stuttgart.de> Date: 5 Jun 91 19:59:52 GMT Sender: news@rusmv1.rus.uni-stuttgart.de (USENET News System) Organization: Dep.Chem.Eng. (Inst.Chem.VT), University of Stuttgart, FRG Lines: 18 Originator: erwin@suncvt12 I'm trying to write a program in C or in FORTRAN on a SUN Sparc 1+ with SunOS 4.1 that will react if I touch any key on the keyboard and returns which key was hitten. I don't want to hit RETURN additionaly, the program should be able to react on hitting any key alone. I can't find the right hints in the SUN-Manuals - or is this not possible under UNIX ?? I'm thankful for any hints ! - erwin -- Erwin (Bamse) Dieterich erwin@suncvt12.verfahrenstechnik.uni-stuttgart.de I have the longest mail-adress in the world !@*&%$##! :-)