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


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

Re: ioctl

From "R.Wieser" <address@not.available>
Newsgroups comp.os.msdos.programmer
Subject Re: ioctl
Date 2021-12-07 10:39 +0100
Organization Aioe.org NNTP Server
Message-ID <sona57$117k$1@gioia.aioe.org> (permalink)
References <3b388a1b-29fe-4029-8733-fd968b576a78n@googlegroups.com>

Show all headers | View raw


Muta (paul),

> I have just been made aware of these interrupts:
>
> http://www.ctyme.com/intr/rb-2820.htm
> http://www.ctyme.com/intr/rb-2821.htm
>
> Would I be correct in assuming that this bit:
>
> 5    raw (binary) mode
>
> switches them all on or all off?

Quite likely (depends on the driver receiving the request).  But that 
influences *all* communication with that particular device *even after you 
close the program changing that flag*.  IOW, don't do it.

> If not, any suggestions? The only alternative I know
> of is to use this instead:
>
> http://www.ctyme.com/intr/rb-2560.htm

Thats the one you will still need to use, unless 4402 will actually return 
an entered key (never used it, so I'm not sure).   Its also the simpelest 
one to use,

And as you do not want the input to be buffered (only returned after the 
"enter" key is pressed) you will have to handle the backspace and any other 
"undesirable" (control) characters yourself ...

Regards,
Rudy Wieser

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


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