From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J.S.Souza" Subject: Re: Keyboard Input Date: Wed, 8 May 2002 10:50:49 -0700 Sender: linux-assembly-owner@vger.kernel.org Message-ID: <200205081750.KAA09405@gold.he.net> References: <200205081329.GAA32743@gold.he.net> <20020508183339.6969b580.lxhp@china.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <20020508183339.6969b580.lxhp@china.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: phpr@snafu.de Cc: linux-assembly@vger.kernel.org On Wednesday 08 May 2002 11:33 am, h-peter recktenwald wrote: > On Wed, 8 May 2002 06:30:00 -0700 > > "J.S.Souza" wrote: > > I'm new to linux assembly although I have taken Assembly Programming in > > College (unfortunately DOS based). How is it possible to read input from > > the keyboard until the user hits the 'enter' key? Does using the read() > > syscall work? Also, how about reading only ONE character from user and > > returning control back to the program? Although I know C fairly well, I > > would rather use Assembly _only_ (if this is possible). > > > > J.S.Souza > > => http://home.snafu.de/phpr/initty.gz > > regards, > hp Not the easiest thing to do is it? Why is it that something so seemingly simple has such a complex solution? regards, Jeff