Module Name:    src
Committed By:   dholland
Date:           Fri Aug  6 03:10:27 UTC 2010

Modified Files:
        src/games/sail: pl_7.c

Log Message:
Don't define esc-[ as a custom key sequence because it steps on vt
function keys.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/games/sail/pl_7.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/sail/pl_7.c
diff -u src/games/sail/pl_7.c:1.38 src/games/sail/pl_7.c:1.39
--- src/games/sail/pl_7.c:1.38	Wed Aug 12 09:05:08 2009
+++ src/games/sail/pl_7.c	Fri Aug  6 03:10:26 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: pl_7.c,v 1.38 2009/08/12 09:05:08 dholland Exp $	*/
+/*	$NetBSD: pl_7.c,v 1.39 2010/08/06 03:10:26 dholland Exp $	*/
 
 /*
  * Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)pl_7.c	8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: pl_7.c,v 1.38 2009/08/12 09:05:08 dholland Exp $");
+__RCSID("$NetBSD: pl_7.c,v 1.39 2010/08/06 03:10:26 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -152,7 +152,9 @@
 	 * Define esc-x keys
 	 */
 	for (ch = 0; ch < 127; ch++) {
-		define_esc_key(ch);
+		if (ch != '[') {
+			define_esc_key(ch);
+		}
 	}
 
 	done_curses++;

Reply via email to