Xref: utzoo comp.lang.pascal:6175 comp.lang.c:38332 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!mips!pacbell.com!ucsd!sdcc6!sdcc13!mduskis From: mduskis@sdcc13.ucsd.edu (Michael Duskis) Newsgroups: comp.lang.pascal,comp.lang.c Subject: faking keystrokes Message-ID: <18372@sdcc6.ucsd.edu> Date: 16 Apr 91 22:51:51 GMT Sender: news@sdcc6.ucsd.edu Followup-To: poster Lines: 20 Is it possible to reroute the keyboard interrupts in order to make BIOS believe that it is receiving keyboard input when the input is actually from a non-keyboard source (like a file)? My problem is that my computer loses its configuration with every re-boot, meaning that I have to re-configure the thing by hand every time that I turn it on. I would like to send a ctl-shift-alt-ins sequence followed by an esc. Is this possible? Does anyone out there know how to write such a code? I would prefer an answer oriented toward Turbo PASCAL but C would also be greatly appreciated. Thank you very much. MAD -- People are basically good -- until given the opportunity to do evil. Michael Duskis mduskis@ucsd.edu (Bitnet)