Subject: pty ioctls
To: Tech-kern <tech-kern@NetBSD.ORG>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: tech-kern
Date: 10/01/2002 10:38:17
Hello,

Why aren't all TIOCxxxx commands passed to pty's (I mean, why don't they
generate TIOCPKT_IOCTL)?

I would like things like TIOCSBRK, TIOCCBRK, TIOCSDTR, TIOCCDTR, etc. to
be seen as TIOCPKT_IOCTL on the other side of the pty system, so I could
handle break transmission, DTR operations etc. properly.  As it is, when
break status is changed, I receive no notification at all.

Is it possible to add these cases to ptyioctl() in tty_pty.c?

  -jm