Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #4138

Re: ioctl

From "R.Wieser" <address@not.available>
Newsgroups comp.os.msdos.programmer
Subject Re: ioctl
Date 2021-12-09 10:14 +0100
Organization Aioe.org NNTP Server
Message-ID <soshdq$6p3$1@gioia.aioe.org> (permalink)
References <3b388a1b-29fe-4029-8733-fd968b576a78n@googlegroups.com> <sona57$117k$1@gioia.aioe.org> <0088e93d-5445-4d18-8226-f6bd47477d73n@googlegroups.com>

Show all headers | View raw


Muta (Paul),

> That just means that it is my responsibility to put the
> device back to the way I found it.

Yep.

Its just thats its my stance that if you do any such switching on a 
program-temporary basis and you have another option you should take that 
other option. But, YMMV.

And although you're on DOS, there might come a case where you have other 
(TSR?) software running which expects the device in its normal 
configuration.

> Also, it's not 4402 that I call, it's the normal read (3F).

Ah yes, ofcourse.

> However, it does wait for the full buffer to be entered instead
> of returning on the first available keystroke. But I can live with that.

Set the # of to-be-retrieved chars to One ?

Any reason why you do not want to use that (simpler, redirectable) Int 21h, 
AH=07h method ?

Regards,
Rudy Wieser

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ioctl "muta...@gmail.com" <mutazilah@gmail.com> - 2021-12-06 18:59 -0800
  Re: ioctl "R.Wieser" <address@not.available> - 2021-12-07 10:39 +0100
    Re: ioctl "muta...@gmail.com" <mutazilah@gmail.com> - 2021-12-08 17:00 -0800
      Re: ioctl "R.Wieser" <address@not.available> - 2021-12-09 10:14 +0100
        Re: ioctl "muta...@gmail.com" <mutazilah@gmail.com> - 2021-12-09 06:51 -0800
          Re: ioctl "R.Wieser" <address@not.available> - 2021-12-09 17:14 +0100
            Re: ioctl "muta...@gmail.com" <mutazilah@gmail.com> - 2021-12-09 15:15 -0800

csiph-web