diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2015-10-16 07:37:47 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2015-10-16 07:37:47 +0000 |
commit | d4e169dedbc906d305eb465a11d709263fc9e065 (patch) | |
tree | 99917e2c22a57c6c961c208dc3b050e52fb8c6b8 /games | |
parent | 4b2ffa0d1429b225cd7095eb2e2e6f29d9a0f1db (diff) |
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
Diffstat (limited to 'games')
-rw-r--r-- | games/hack/config.h | 4 | ||||
-rw-r--r-- | 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<dir>: fast movement in direction <dir> 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 |