Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!athena.cs.uga.edu!perera From: perera@athena.cs.uga.edu (Niranjan) Newsgroups: comp.unix.programmer Subject: Help with reading the keyboard.. Keywords: vt100, keyboard, Sun4 Message-ID: <1991Apr21.185949.24652@athena.cs.uga.edu> Date: 21 Apr 91 18:59:49 GMT Sender: perera@athena.cs.uga.edu (Niranjan) Distribution: na Organization: University of Georgia, Athens Lines: 18 Greetings, I am new to this group, I am using a Sun4 running SunOS 4.1.1. I would like to read the arrow keys, function keys etc on a vt100 keyboard. Does anybody have any ideas how one goes about doing such a thing. I tried using getchar :-) and noticed that the special keys generate just one number (27), when I use curses I notice that special keys generate four numbers Any help or suggestion would be appreciated.. Please be kind enough to email me. Thanks in advance, -- Niranjan Perera Computer Science Department, University of Georgia. perera@athena.cs.uga.edu "TRUST ME! I KNOW WHAT I AM DOING..."