Lines Matching refs:ttyset
54 static int ttyset; /* We must now do erase/kill */ variable
83 ttyset = 0; in grabh()
113 if (!ttyset && hp->h_to != NULL) in grabh()
114 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
121 if (!ttyset && hp->h_subject != NULL) in grabh()
122 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
128 if (!ttyset && hp->h_cc != NULL) in grabh()
129 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
136 if (!ttyset && hp->h_bcc != NULL) in grabh()
137 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
149 if (ttyset) in grabh()
236 if (!ttyset) in readtty()