Opened 13 years ago

Closed 13 years ago

#265 closed bug (fixed (in master))

'-' key not working

Reported by: eddiegrove@… Owned by:
Milestone: 3.0.9 Keywords: port steps


I tried setting up a single macro, F1 = f1*t, and it works fine.
But when I "append" it to a file, and restart, I can no longer
use items from the floor. If I remove the .prf file, things work again.
I posted this already to rgra btw.

Change History (7)

comment:1 Changed 13 years ago by takkaria

  • Milestone changed from 3.0.9 to 3.0.8fix1

comment:3 Changed 13 years ago by takkaria

Steps to reproduce:

  1. Create new character.
  2. Drop rations to the floor.
  3. Dump macros to file (=M2\n\n)
  4. Save and quit (CTRL-X)
  5. Reload
  6. Try to eat (E) food, press '-' on main keyboard (not keypad)

What happens: nothing
What should happen: switch to floor

comment:4 Changed 13 years ago by takkaria

Only in X11 port. Seems like a macro gets created for the '-' key on the main keyboard.

comment:5 Changed 13 years ago by takkaria

  • Keywords steps added

comment:6 Changed 13 years ago by takkaria

  • Keywords port added
  • Summary changed from macro interferes with using floor items to '-' key not working

comment:7 Changed 13 years ago by ajps

I can't find a clean fix for this - the whole area is a bit overcomplicated. I do know it's related to the process of making control sequences "look nice" (i.e. \[PgUp?] rather than _33CD or whatever), and that X thinks - and = are on the same key.

I'll commit a workaround by just getting rid of the "nice" text for the - and = keys in X11, which is just WEIRD in how it handles all these keypresses. Hopefully it won't break any user pref files. Better to be ugly and functional than the other way around.

comment:8 Changed 13 years ago by ajps

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [389] merged in [5dfe994] (SVN r399), along with a bug in the macro interaction menu.

Note: See TracTickets for help on using tickets.