From 2f95621a4723a604bca599f195616393e76ecd1a Mon Sep 17 00:00:00 2001 From: tobias Date: Fri, 16 Oct 2015 07:37:46 +0000 Subject: [PATCH] Disable !-command to escape to a shell. You are supposed to play, press ^Z, or open up another terminal if there is something else to do. ok deraadt --- games/hack/config.h | 4 ++-- games/hack/hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/games/hack/config.h b/games/hack/config.h index f53085dd5ff..012d5fe4952 100644 --- a/games/hack/config.h +++ b/games/hack/config.h @@ -1,4 +1,4 @@ -/* $OpenBSD: config.h,v 1.12 2015/01/19 15:30:52 krw Exp $ */ +/* $OpenBSD: config.h,v 1.13 2015/10/16 07:37:46 tobias Exp $ */ /* * $NetBSD: config.h,v 1.3 1995/03/23 08:29:15 cgd Exp $*/ /* @@ -107,7 +107,7 @@ #define MAILCKFREQ 100 -#define SHELL /* do not delete the '!' command */ +/* #define SHELL */ /* do not delete the '!' command */ #define SUSPEND /* let ^Z suspend the game */ #endif /* UNIX */ diff --git a/games/hack/hh b/games/hack/hh index d777102dae6..2b30b005413 100644 --- a/games/hack/hh +++ b/games/hack/hh @@ -9,7 +9,7 @@ b j n f: fast movement in direction Meta commands: Q quit leave the game S save save the game (to be continued later) -! sh escape to some SHELL +! sh escape to some SHELL; disabled by default ^Z suspend suspend the game (independent of your current suspend char) O set set options ? help print information -- 2.20.1