Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!rex!samsung!aplcen!unmvax!nmtsun!jrwsnsr From: jrwsnsr@nmtsun.nmt.edu (Jonathan R. Watts) Newsgroups: comp.lang.pascal Subject: Re: Readkey without "use crt" (Was Re: Strobing the keyboard) Keywords: keyboard strobe strobing Message-ID: <3501@nmtsun.nmt.edu> Date: 17 Nov 89 03:25:31 GMT References: <1261@rodan.acs.syr.edu: <79164@linus.UUCP> <6233@pitt.UUCP> Distribution: usa Organization: New Mexico Tech, Socorro NM Lines: 15 In article <6233@pitt.UUCP>, yubing@vax.cs.pitt.edu (Bing Yu) writes: > I have a problem similar to this: I want to have a function same as > Readkey but do NOT want to "use crt". The reason for this is that > I want to force the crt i/o go through dos so that it can be handled > by a driver similar to ansi.sys. I tried read(input,c) but have to > press RETURN after the key is pressed. Does anyone know how to make it > work? Thanks. It is possible to "use crt" and still have the output go through DOS. I don't remember the exact procedure (something like re-opening input and output), but it is in the manual somewhere! - Jonathan Watts jrwsnsr@jupiter.nmt.edu