Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!hplabs!hpcea!hpsrla!hpsrlc!darrylo From: darrylo@hpsrlc.HP.COM (Darryl Okahata) Newsgroups: comp.sys.ibm.pc Subject: Re: ^P locks up keyboard Message-ID: <3320067@hpsrlc.HP.COM> Date: Fri, 13-Nov-87 11:40:06 EST Article-I.D.: hpsrlc.3320067 Posted: Fri Nov 13 11:40:06 1987 Date-Received: Sun, 15-Nov-87 17:43:31 EST References: <15000045@silver> Organization: HP Network Measurements Div - Santa Rosa, CA Lines: 32 In comp.sys.ibm.pc, kneller@cgl.ucsf.edu (Don Kneller) writes: [ ... ] > Here is a code fragment in C for putting the terminal into raw mode > and for returning it to the default. This is for Microsoft C but > it is very short and should be easy to modify. > [ ... ] > Don Kneller > UUCP: ...ucbvax!ucsfcgl!kneller > INTERNET: kneller@cgl.ucsf.edu > BITNET: kneller@ucsfcgl.BITNET > ---------- Be careful about placing DOS into RAW mode. In some versions of DOS (I don't know about the latest versions), using certain DOS functions while you are in RAW mode will cause DOS to HANG. I can't remember which DOS calls will do this (I think they are DOS handle read/write fcns) but, if anyone is interested, I'll dig up the info. Example (make sure the system is backed up before this is tried): Use a program to place the console in RAW mode. Then run LINK. Your machine will hang and require a reboot. -- Darryl Okahata {hplabs!hpccc!, hpfcla!} hpsrla!darrylo CompuServe: 75206,3074 Disclaimer: the above is the author's personal opinion and is not the opinion or policy of his employer or of the little green men that have been following him all day.