Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.msdos.programmer > #402
| From | Thomas Jensen <lianergoist@sejlgarnet.dk> |
|---|---|
| Subject | Re: command history in dos - how? |
| Newsgroups | comp.os.msdos.programmer |
| References | <pan.2011.11.02.13.50.37@sejlgarnet.dk> <j8rljq$70e$1@rumours.uwaterloo.ca> |
| Message-ID | <pan.2011.11.02.18.56.13@sejlgarnet.dk> (permalink) |
| Date | 2011-11-02 18:56 +0000 |
| Organization | SunSITE.dk - Supporting Open source |
On Wed, 02 Nov 2011 10:54:50 -0400, Ross Ridge wrote: > Thomas Jensen <lianergoist@sejlgarnet.dk> wrote: [snip] > I think you'd want to hook INT 21h, AH=0Ah, check that standard input > hasn't been directed, Well, I must admit I don't know how to check that. Do you? Well, I can probably find out myself. I have just made a program that takes parameters from commandline, and if I try to redirect its output, the pipe is treated as a parameter, so I could actually use the information. > and if so implement your command line editor to > replace the one built into MS-DOS. Well, I think is is a bit more complicated than that. I think Jim Leonard is on the right track. Function 44h/int21h and its subfunctions seems to be useful, and I will try to play with it and see if I can come up with something. -- Thomas Jensen, Denmark
Back to comp.os.msdos.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
command history in dos - how? Thomas Jensen <lianergoist@sejlgarnet.dk> - 2011-11-02 13:50 +0000
Re: command history in dos - how? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2011-11-02 10:54 -0400
Re: command history in dos - how? Thomas Jensen <lianergoist@sejlgarnet.dk> - 2011-11-02 18:56 +0000
Re: command history in dos - how? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2011-11-02 16:21 -0400
Re: command history in dos - how? Jim Leonard <mobygamer@gmail.com> - 2011-11-02 08:28 -0700
Re: command history in dos - how? Thomas Jensen <lianergoist@sejlgarnet.dk> - 2011-11-02 19:03 +0000
Re: command history in dos - how? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2011-11-02 16:31 -0400
Re: command history in dos - how? Rugxulo <rugxulo@gmail.com> - 2011-11-02 12:38 -0700
csiph-web