Article View: comp.os.msdos.programmer
Article #68764dos: intercepting command lines
From: Ken Stillson
Date: Thu, 30 May 1991 12:30
Date: Thu, 30 May 1991 12:30
25 lines
1498 bytes
1498 bytes
Question for any 4dos experts out there:
I'm trying to write a program for 4dos that will impliment active functions
[like the `command` in unix], and have determined that I would like to
intercept the command-input routine of 4dos. That is, after a command has
been typed in, I would like to interrupt and have the ability to modify
what the user entered.
The standard interrupt interfaces defined in 4dos.doc don't allow this,
because they all occur before the command is entered. However, I've got
a program that re-maps some characters [called 4map I think], so I know
it's possible. It seems to use int 0x2f to change some vectors, presumably
pointers to a post-command parser or such. I don't care to completely
dis-assemble the program; so does anyone know how this mechanism works?
Thanks in advance.
- Ken Stillson, stillson@mitre.org
--
panic: cannot read .signature file for kds@uiuc.edu
Abort, Retry, Ignore, Explode?
Technical Details
Message-ID:
<m21827.675606610@mwunix.mitre.org>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!think.com!linus!linus!mwunix.mitre.org!m21827Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!think.com!linus!linus!mwunix.mitre.org!m21827 From: m21827@mwunix.mitre.org (Ken Stillson) Newsgroups: comp.os.msdos.programmer Subject: 4dos: intercepting command lines Message-ID: <m21827.675606610@mwunix.mitre.org> Date: 30 May 91 12:30:10 GMT Sender: news@linus.mitre.org (News Service) Organization: The MITRE Corporation, Bedford MA Lines: 25 Nntp-Posting-Host: mwunix.mitre.org