=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/ttinit.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/window/Attic/ttinit.c 2000/04/15 05:22:14 1.7 --- src/usr.bin/window/Attic/ttinit.c 2001/02/05 01:57:50 1.8 *************** *** 1,4 **** ! /* $OpenBSD: ttinit.c,v 1.7 2000/04/15 05:22:14 millert Exp $ */ /* $NetBSD: ttinit.c,v 1.3 1995/09/28 10:34:50 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: ttinit.c,v 1.8 2001/02/05 01:57:50 deraadt Exp $ */ /* $NetBSD: ttinit.c,v 1.3 1995/09/28 10:34:50 tls Exp $ */ /* *************** *** 41,51 **** #if 0 static char sccsid[] = "@(#)ttinit.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: ttinit.c,v 1.7 2000/04/15 05:22:14 millert Exp $"; #endif #endif /* not lint */ #include #include "ww.h" #include "tt.h" --- 41,52 ---- #if 0 static char sccsid[] = "@(#)ttinit.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: ttinit.c,v 1.8 2001/02/05 01:57:50 deraadt Exp $"; #endif #endif /* not lint */ #include + #include #include "ww.h" #include "tt.h" *************** *** 99,105 **** #ifdef NCURSES_VERSION wwterm = strdup(_nc_first_name(cur_term->type.term_names)); #elif !defined(TERMINFO) ! if ((p = strchr(wwtermcap, '|')) && p - wwtermcap == 2) { /* Skip the two-character short name. */ for (p = wwtermcap; *p && *p != '|' && *p != ':'; p++) ; --- 100,106 ---- #ifdef NCURSES_VERSION wwterm = strdup(_nc_first_name(cur_term->type.term_names)); #elif !defined(TERMINFO) ! if ((p = strchr(wwtermcap, '|')) && (int)(p - wwtermcap) == 2) { /* Skip the two-character short name. */ for (p = wwtermcap; *p && *p != '|' && *p != ':'; p++) ;