A "path of low resistance" I see is master/subordinate (sub for short, also preserves acronyms like MISO/MOSI) but maybe too small a fix.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Primary/secondary?
-
Are they in actual use? Convey intended relationship?
-
Usually, yeah.. otherwise you can go with "failover-x", "replica-x" or "backup-x". With pri/sec, you also have tertiary etc
-
I don't think failover or replica reflect the meaning. Idea is that one side directs/controls and the other follows its direction.
-
But using enslavement of human being as an analogy for this is rather awful and disgusting.
End of conversation
New conversation -
-
-
For ptys I suspect "monitor" and "session" are the right replacement. Same initials, more accurately describe the roles.
-
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.
- 1 more reply
New conversation -
-
-
I would love to replace master/slave terminology with dominant/submissive.

-
ehr, client server ?
-
No, client/server is a different partition of roles. You don't have a "client" tty and a "server" pty.
- End of conversation
New conversation -
-
-
Maybe master and pty. The master doesn't really control the other side, it's more like a bidirectional pipe with line discipline in the mid
-
So a better word for master may be the start. Pty remote. Pty sink. Etc.
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.