Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!sri-spam!nike!ucbcad!ucbvax!decwrl!ridder@warlok.dec.com From: ridder@warlok.dec.com Newsgroups: net.micro.amiga Subject: Errors from console.device Message-ID: <3706@decwrl.DEC.COM> Date: Wed, 18-Jun-86 12:53:22 EDT Article-I.D.: decwrl.3706 Posted: Wed Jun 18 12:53:22 1986 Date-Received: Sat, 21-Jun-86 07:20:41 EDT Sender: daemon@decwrl.DEC.COM Organization: Digital Equipment Corporation Lines: 33 ======== Date: 18 Jun 1986 0934-MDT From: Hans To: "net.micro.amiga"@DECWRL Reply-to: Ridder@WARLOK Subject: Errors from console.device Message-ID: <"MS11(5235)+GLXLIB5(0)" 12215818396.15.143.27750 at WARLOK> I am having trouble with the console.device which I hope someone has either already solved, or perhaps the CA wizards can shed some light on. I have a little test program which opens the console.device and simply reads one character and then writes it, thus echoing everything typed. Just to be a good programming citizen I checked the value in io_Error after the DoIO() call. Whenever I type very quickly (by quickly doing an "asdf"), the WRITE (not the READ) returns an io_Error of 1 (io_Flags is returned 0x81 I think). What I don't understand is why is the WRITE failing? If I were overruning a buffer, I would expect the READ to return the error, not the WRITE!?! Also, since my 1.1 Rom Kernel Manual is "In The Mail", I can't see if it tells me what the io_Error of 1 means (the include files don't even mention errors)! I am using 1.1 Kickstart and Workbench. By the way, if I ignore the value in io_Error (as most people do), then my program just merrily echoes along! Somehow it bothers me to know that the console.device is telling me something and I'm ignoring it. -hans --------