allow `set console wru=0' command to completely

disable interrupt character
This commit is contained in:
form 2009-10-03 01:57:33 +00:00
parent 5b1a1fdb97
commit 2974fba936
2 changed files with 14 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.63 2009/03/06 10:33:23 form Exp $
# $OpenBSD: Makefile,v 1.64 2009/10/03 01:57:33 form Exp $
# $NetBSD: Makefile,v 1.2 1998/08/23 20:48:03 frueauf Exp $
COMMENT= PDP, IBM 1401, Nova and other CPUs simulator
DISTNAME= simh-3.8.1
PKGNAME= ${DISTNAME}p0
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
DISTFILES= simhv38-1.zip

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-sim_console_c,v 1.1 2009/10/03 01:57:33 form Exp $
--- sim_console.c.orig Sat Oct 3 08:40:24 2009
+++ sim_console.c Sat Oct 3 08:42:11 2009
@@ -111,7 +111,7 @@
/* Set/show data structures */
static CTAB set_con_tab[] = {
- { "WRU", &sim_set_kmap, KMAP_WRU | KMAP_NZ },
+ { "WRU", &sim_set_kmap, KMAP_WRU },
{ "BRK", &sim_set_kmap, KMAP_BRK },
{ "DEL", &sim_set_kmap, KMAP_DEL |KMAP_NZ },
{ "PCHAR", &sim_set_pchar, 0 },