Module Name: src Committed By: christos Date: Tue Oct 15 13:00:52 UTC 2013
Modified Files: src/lib/libcurses: tstp.c Log Message: Instead of turning off the 8th bit on resume, turn it on, as it is on by default. Problem reported by atatat@ when suspending vi and resuming loses the ability to use the alt key. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/lib/libcurses/tstp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libcurses/tstp.c diff -u src/lib/libcurses/tstp.c:1.39 src/lib/libcurses/tstp.c:1.40 --- src/lib/libcurses/tstp.c:1.39 Mon Aug 29 07:07:38 2011 +++ src/lib/libcurses/tstp.c Tue Oct 15 09:00:52 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: tstp.c,v 1.39 2011/08/29 11:07:38 christos Exp $ */ +/* $NetBSD: tstp.c,v 1.40 2013/10/15 13:00:52 christos Exp $ */ /* * Copyright (c) 1981, 1993, 1994 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)tstp.c 8.3 (Berkeley) 5/4/94"; #else -__RCSID("$NetBSD: tstp.c,v 1.39 2011/08/29 11:07:38 christos Exp $"); +__RCSID("$NetBSD: tstp.c,v 1.40 2013/10/15 13:00:52 christos Exp $"); #endif #endif /* not lint */ @@ -234,8 +234,8 @@ __stopwin(void) (int) curscr->maxy - 1, 0, 0); } - if (meta_off != NULL) - (void) tputs(meta_off, 0, __cputchar); + if (meta_on != NULL) + (void) tputs(meta_on, 0, __cputchar); if ((curscr != NULL) && (curscr->flags & __KEYPAD)) (void) tputs(keypad_local, 0, __cputchar);