=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/talk/display.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/talk/display.c 1999/03/23 17:00:38 1.6 --- src/usr.bin/talk/display.c 2000/12/30 06:27:48 1.7 *************** *** 1,4 **** ! /* $OpenBSD: display.c,v 1.6 1999/03/23 17:00:38 millert Exp $ */ /* $NetBSD: display.c,v 1.3 1994/12/09 02:14:13 jtc Exp $ */ /* --- 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 $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: display.c,v 1.6 1999/03/23 17:00:38 millert 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.7 2000/12/30 06:27:48 angelos Exp $"; #endif /* not lint */ /* *************** *** 52,57 **** --- 52,60 ---- xwin_t his_win; WINDOW *line_win; + #undef isprint + #define isprint(n) ((unsigned char)(n)>31) + int curses_initialized = 0; /* *************** *** 157,163 **** cch = (*text & 63) + 64; waddch(win->x_win, cch); } else ! waddch(win->x_win, *text); getyx(win->x_win, win->x_line, win->x_col); text++; } --- 160,166 ---- cch = (*text & 63) + 64; waddch(win->x_win, cch); } else ! waddch(win->x_win, (unsigned char)(*text)); getyx(win->x_win, win->x_line, win->x_col); text++; }