=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/talk/display.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/talk/display.c 2000/12/30 06:27:48 1.7 --- src/usr.bin/talk/display.c 2000/12/31 00:24:51 1.8 *************** *** 1,4 **** ! /* $OpenBSD: display.c,v 1.7 2000/12/30 06:27:48 angelos Exp $ */ /* $NetBSD: display.c,v 1.3 1994/12/09 02:14:13 jtc Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: display.c,v 1.8 2000/12/31 00:24:51 hugh Exp $ */ /* $NetBSD: display.c,v 1.3 1994/12/09 02:14:13 jtc Exp $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: display.c,v 1.7 2000/12/30 06:27:48 angelos Exp $"; #endif /* not lint */ /* --- 38,44 ---- #if 0 static char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: display.c,v 1.8 2000/12/31 00:24:51 hugh Exp $"; #endif /* not lint */ /* *************** *** 52,61 **** xwin_t his_win; WINDOW *line_win; - #undef isprint - #define isprint(n) ((unsigned char)(n)>31) - int curses_initialized = 0; /* * max HAS to be a function, it is called with --- 52,59 ---- xwin_t his_win; WINDOW *line_win; int curses_initialized = 0; + int high_print = 0; /* * max HAS to be a function, it is called with *************** *** 152,158 **** /* check for wraparound */ xscroll(win, 0); } ! if (!isprint(*text) && *text != '\t') { waddch(win->x_win, '^'); getyx(win->x_win, win->x_line, win->x_col); if (win->x_col == COLS-1) /* check for wraparound */ --- 150,157 ---- /* check for wraparound */ xscroll(win, 0); } ! if (*text != '\t' && ! ((!high_print && !isprint(*text)) || iscntrl(*text))) { waddch(win->x_win, '^'); getyx(win->x_win, win->x_line, win->x_col); if (win->x_col == COLS-1) /* check for wraparound */