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
This is a multi-part message in MIME format. ------=_NextPart_000_0005_01BD3D59.57AAB1B0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0005_01BD3D59.57AAB1B0 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3D"text/html; charset=3DcsISO2022JP" = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.2106.11"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV> </DIV> <DIV><FONT color=3D#000000 size=3D2>Dear Sir,</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 = size=3D2> =20 I am a unix system beginner. I want to ask = a small=20 question: If I want</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2> to fetch a key from a = keyboard =20 without hitting the Enter Carrage key , how </FONT></DIV> <DIV><FONT color=3D#000000 size=3D2> do I do = ? </FONT><FONT=20 color=3D#000000 size=3D2> I remembered that there are two functions such = as=20 getch and getche in Turbo C. </FONT><FONT size=3D2> It seemed = that=20 there is no such function in unix C. I am now using=20 FreeBSD </FONT><FONT size=3D2> Unix.</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2> Thank you for your = help.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT size=3D2> With best wishes</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2> huiy</FONT></DIV> <DIV> </DIV> <DIV><FONT color=3D#000000 size=3D2> </FONT></DIV> <DIV><FONT color=3D#000000 = size=3D2> </FONT></DIV></BODY></HTML> ------=_NextPart_000_0005_01BD3D59.57AAB1B0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901bd3d0d$e7e92f50$3d0216ac>