Anonymous | Login | 2024-04-23 19:54 CEST |
Main | My View | View Issues | Change Log | Wiki | Tavern | News |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0012095 | [DCSS] Bug Report | major | always | 2019-10-12 23:14 | 2019-10-16 17:28 | |||||||
Reporter | Xenobreeder | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | confirmed | Product Branch | 0.24 old branch | |||||||||
Summary | 0012095: Ancient macro files conflict with trunk | |||||||||||
Description |
Very old macro files have an autogenerated section that conflicts with trunk. Examples: http://crawl.acrasiac.org/configs/trunk/Wingboner.macro [^] http://crawl.develz.org/configs/trunk/ldf.macro [^] This is how newer macro files that don't have this look: http://crawl.berotato.org/crawl/rcfiles/crawl-git/casual.macro [^] This section had been sitting there without any issues, but one of the recent changes has broken something and now these old macros disable the escape key. The issue can be solved by manually deleting that section from the file, but something should probably be done to fix this for all the old players that are affected — or at least to tell them that they need to purge their macro files. |
|||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ldf.macro [^] (1,834 bytes) 2019-10-16 01:06 | |||||||||||
|
Notes | |
(0033505) damerell (reporter) 2019-10-12 23:20 |
I have an extremely wild guess that commit 0aaaf76a470532b4a48a69d386695e874d3f89fa is implicated. |
(0033511) advil (administrator) 2019-10-16 01:12 edited on: 2019-10-16 01:16 |
What that macro file consists of is terminal escape codes, probably triggered by special keys under a specific terminal setting. E.g. \{27}Ov binds numpad 6 for vt100 terminal emulators. I can't identify the specific terminal being used in the file I looked at, which is ldf.macro, but it looks like a superset of VT100. They probably just bound the special keycodes by hitting the appropriate key with the right terminal setting. I've uploaded this file to the report in case it changes at the linked version. The change that triggered this is: https://github.com/crawl/crawl/commit/3ea5ddb52caf [^] We may want to revert that change, since anyone using these sorts of keybinds will now not be able to use a lot of keys that they were previously using. (And we'd definitely not want multi-char keybinds starting with ESC to be truncated to just ESC.) |
(0033515) advil (administrator) 2019-10-16 17:28 |
I have reverted this change in https://github.com/crawl/crawl/commit/72dcfe03596c23c1c632c9b6aa444db567820120 [^] From more testing, this reversion will only impact CDO and local console builds in terms of being able to set and use these sorts of keybinds. I haven't been able to verify that multi-key keybinds work in any webtiles build, even over console, as far back as 0.10. (I tested using option+arrow keys on os x, which send two-key ESC sequences.) So this reversion may not make all of these macro files work; but it will prevent keybinds of this type from being interpreted as rebinds of esc. |
Mantis 1.1.8[^] Copyright © 2000 - 2009 Mantis Group |