Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 1998 17:10:56 +0900
From:      "huiy" <huiy@dsp.co.jp>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   ask a small question
Message-ID:  <000901bd3d0d$e7e92f50$3d0216ac@si3d1.dsp.co.jp>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

Dear Sir,

        I  am  a  unix system beginner. I  want to ask  a small question:
If  I  want
 to fetch a key from a keyboard  without hitting the Enter Carrage key , how
 do I  do ?   I remembered that there are two functions such as getch  and
getche in Turbo C.  It seemed that there is no such function in unix C.  I
am now using FreeBSD  Unix.

 Thank  you  for your help.

 With best wishes

 huiy




[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content="text/html; charset=csISO2022JP" http-equiv=Content-Type>
<META content='"MSHTML 4.72.2106.11"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Dear Sir,</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
I&nbsp; am&nbsp; a&nbsp; unix system beginner. I&nbsp; want to ask&nbsp; a small 
question:&nbsp; If&nbsp; I&nbsp; want</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;to fetch a key from a keyboard&nbsp; 
without hitting the Enter Carrage key , how </FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;do I&nbsp; do ?&nbsp;&nbsp;</FONT><FONT 
color=#000000 size=2> I remembered that there are two functions such as 
getch&nbsp; and getche in Turbo C.&nbsp;</FONT><FONT size=2> It seemed that 
there is no such function in unix C.&nbsp; I&nbsp; am now using 
FreeBSD&nbsp;</FONT><FONT size=2> Unix.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;Thank&nbsp; you&nbsp; for your 
help.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;With best wishes</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;huiy</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp;</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901bd3d0d$e7e92f50$3d0216ac>