Debian Codegraph @

debian/patches/unhack-gcu.patch

raw
1 Description: Make the gcu port behave the same as the other ports
2 A few years ago, angband.live became very popular. This uses the console (gcu) port.
3 Some keymap hacks were added to enable running in angband.live (where the use of the
4 period to run did not translate well into the .live environment). The upshot of the
5 keymaps is that the gcu port, as shipped by upstream, changes the default movement
6 to running instead of walking. This is both dangerous to players, and inconsistent
7 with the x11 and SDL2 ports shipped with Debian. So this patch reverts the keymaps
8 and sets the gcu port back to walking by default. This patch has now been included
9 upstream and will be removed for 4.2.6.
10 Author: Chris Carr <[email protected]>
11 Forwarded: yes
12 Last-Update: 2023-10-01
13 ---
14 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
15 --- a/lib/customize/pref.prf
16 +++ b/lib/customize/pref.prf
17 @@ -363,7 +363,10 @@
18
19 ##### System Specific Subfiles #####
20
21 -?:[EQU $SYS gcu]
22 -%:keys-gcu.prf
23 -
24 -?:1
25 +# Uncommenting these lines will cause the console port (-mgcu) to have the
26 +# arrow keys default to running. This was done for the benefit of
27 +# angband.live and should not be the default for a normal Debian install.
28 +#?:[EQU $SYS gcu]
29 +#%:keys-gcu.prf
30 +#
31 +#?:1