Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!primerd!ENI!ENH!TIM From: TIM@ENH.Prime.COM Newsgroups: comp.lang.c Subject: Need help w/unbuff'd input. Message-ID: <108300008@ENH.Prime.COM> Date: 7 Jun 90 09:28:00 GMT Lines: 18 Nf-ID: #N:ENH:108300008:000:729 Nf-From: ENH.Prime.COM!TIM Jun 7 09:28:00 1990 I'm trying to write a function in C on Un*x that will allow me to read one character unbuffered from stdin. I'm using the Berkeley shell, but I want to write it to be able to use in the Bourne shell as well. If you're familiar with Turbo C on the PC, I'm trying to write a getche() function. If there's already one there, or you know how to make one function read one character unbuffered (not the whole program - just that function), please give me a clue. Send replies to address below, or post here. Thanks in advance! /* Tim Cantin, Prime Computer, Inc., MS 10-13 500 Old Conn Path, Framingham, MA 01701 (508)879-2960 x3101 (TIM@ENH.Prime.COM) || (csnet-relay!ENH.Prime.COM!TIM) */ #include "stddisclaimer.h"