Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!yale!cmcl2!uupsi!sunic!dkuug!imada!jho From: jho@imada.dk (Jens H. Ovesen) Newsgroups: comp.sys.acorn Subject: Re: Reading from system device kybd: Message-ID: <1991Mar5.185110.21036@imada.dk> Date: 5 Mar 91 18:51:10 GMT References: <1991Mar4.121558.13985@cns.umist.ac.uk> Sender: news@imada.dk (USENET News System) Distribution: comp Organization: Dept. of Math. & Computer Science, Odense University, Denmark Lines: 23 vanaards%t7@uk.ac.man.cs (Steven van Aardt) writes: > Here's yet another problem I've had recently, could someone help ? >1. Hold down a single alpha key, the character should be echoed to the screen, > The keyboard buffer will eventually fill after 255 characters, and you'll > hear an audible beep. >2. Press the Return/Enter key. >3. The program now crashes with an EOF message >4. Type CLOSE#X or CLOSE#0 >5. And RUN the program again >6. You should see a 'Channel' error message. >I couldn't open kbd: again till after a *shutdown. >Could someone explain what's happening. >X=OPENIN "kbd:" >REPEAT > A=BGET#X >UNTIL A=ASC"." >CLOSE #X I didn't get the 'Channel' error message, sorry. Maybe the problem is something else? You do have RISCOS? Jens.