Index | Thread | Search

From:
Miod Vallat <miod@online.fr>
Subject:
Re: Add a way to exit ddb Hangman game
To:
Nir Lichtman <nir@lichtman.org>
Cc:
tech@openbsd.org
Date:
Sun, 22 Sep 2024 17:38:08 +0000

Download raw body.

Thread
> Current design is problamatic since when running the Hangman command in the debugger,
> you can't get out unless you win. This confused me a lot since it is not obvious,
> and attempts to escape fail since it is running in the kernel so you can't exit
> in standard ways like user mode programs.

Noone forces you to use the ddb hangman. In the past, care has been
taken to make "h" invoke "help" rather than "hangman" to prevent
accidental invocation.

Once you are in hangman in ddb, you are expected to be able to solve the
game.

You can improve your ddb hangman skills by practicing in usermode using
/usr/games/hangman -k or /usr/games/hangman /bsd (both may require
privileges to be able to read the symbol table).