🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #331

Keyboard Interrupt

#331
From: MR BRI FAWTHROP
Date: Thu, 27 Aug 1992 09:20
34 lines
1537 bytes
Hi

I am trying to write  program  which reads the keyboard buffer, before the 
command.com interrupter does.
In other words
I want to write a program that if certain keywords are typed in it will go 
and do some function.
otherwise it must act as normal.

eg
 enter CLS
   I want it to first do the normal clearscreen 
   but afterwards it must print my name and time and other tings on the top 
   of the screen.
        ( I will write the program that prints my name and other things )
        ( But I need to know how to link in the keyboard interrupt   so )
        ( that when it reads CLS if first does CLS and then comes and   )
        ( executes my program. )

 OR
 enter TIME
   I want it to ask me if I want to change the time or just display it.
   THEN it must go and do the NORMAL time function.
          ( same applies here I will write the program but how do I )
          ( link it into the keyboard interrupt )

Does anyone know if this is possible ???

PLEASE I HAVE BEEN TRYING FOR +/- 4 mths. BUT no-one I have asked knows
what to do or even how to HELP

Barry Fawthrop.
g89f2900@giraffe.ru.ac.za
  
Technical Details
Message-ID: <g89f2900.4.714907231@giraffe.ru.ac.za>
Path: arc1-ca.pugleaf.net!sparky!uunet!zephyr.ens.tek.com!psgrain!hippo!bs-pc3-06.ru.ac.za!g89f2900

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zephyr.ens.tek.com!psgrain!hippo!bs-pc3-06.ru.ac.za!g89f2900
From: g89f2900@giraffe.ru.ac.za (MR BRI FAWTHROP)
Newsgroups: alt.msdos.programmer
Subject: Keyboard Interrupt
Message-ID: <g89f2900.4.714907231@giraffe.ru.ac.za>
Date: 27 Aug 92 09:20:31 GMT
Sender: news@hippo.ru.ac.za
Organization: Rhodes University, Grahamstown, South Africa
Lines: 34