C_ACTIVEIN
if (consoles[cons]->c_flags & (C_ACTIVEIN | C_ACTIVEOUT)) {
int flags = C_PRESENTIN | C_ACTIVEIN;
if ((consoles[cons]->c_flags & (C_PRESENTIN | C_ACTIVEIN)) ==
(C_PRESENTIN | C_ACTIVEIN) &&
consoles[cons]->c_flags &= ~(C_ACTIVEIN | C_ACTIVEOUT);
consoles[cons]->c_flags |= C_ACTIVEIN | C_ACTIVEOUT;
(C_ACTIVEIN | C_ACTIVEOUT)) ==
(C_ACTIVEIN | C_ACTIVEOUT)) {
consoles[cons]->c_flags |= C_ACTIVEIN | C_ACTIVEOUT;
(C_ACTIVEIN | C_ACTIVEOUT)) ==
(C_ACTIVEIN | C_ACTIVEOUT)) {
int flags = C_PRESENTIN | C_ACTIVEIN;