Lines Matching refs:text
44 * displaying of text
76 * Display some text on somebody's window, processing some control
81 display(win, text, size)
83 register char *text;
92 if (*text == '\n'|| *text == '\r') {
94 text++;
100 if (*text == win->cerase) {
106 text++;
114 if (*text == win->werase) {
139 if (*text == win->kill) {
143 text++;
146 if (*text == '\f') {
149 text++;
153 if (*text == '\004') {
159 if (*text == '\007') {
174 if (mb_cur_max > 1 && mblen(text, mb_cur_max) > 1) {
178 len = mbtowc(&wc, text, mb_cur_max);
185 waddch(win->x_win, *text++);
193 text += len;
199 itext = (unsigned int) *text;
200 if (isprint(itext) || *text == ' ' || *text == '\t' ||
201 *text == '\013' || *text == '\007' /* bell */) {
202 waddch(win->x_win, *text);
205 if (!isascii(*text)) {
212 *text = toascii(*text);
214 if (iscntrl(*text)) {
223 waddch(win->x_win, *text + 0100);
226 waddch(win->x_win, *text);
230 text++;