Is there any terminology with traction for replacing "slave" in the sense of busses, ptys, etc.?
For ptys, they're almost pure peers. Only distinctions seem to be lack of a pathname to reopen the ptm side, and SIGWINCH only traveling one way. Maybe other sigs too?
-
-
You can't turn the ptmx side into a controlling tty, make process groups, etc. Cooked mode only applies to writes to ptmx side. I think?
-
It should be possible to do cooked mode independently on either side, just like both sides of a serial tty, but I haven't checked.
-
I think there is only one struct termios regardless of whether you call from M or S side? and cfmakeraw has no direction param
-
No, that would surely break horribly if the pts-side modes affected how the ptm side reads data. It's possible some modes don't work on ptm side, but they're NOT shared.
-
Right - that's why I don't think there _is_ any cooked mode in that direction. Only ptm write -> pts read
-
I don't know so won't continue to speculate; surely it's testable if we care.
-
I am on my phone so writing code is hard :) I'll give this a try tomorrow. And maybe write some patches to rename things
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.