MestreLion / roguepc

Port of original PC-DOS Epyx Rogue to modern platforms
27 stars 6 forks source link

Fast Mode bound to ScrollLock requires X11 or console, fails in SSH #20

Open MestreLion opened 3 years ago

MestreLion commented 3 years ago

Like the original, Fast Mode is bound to Scroll Lock key, whose state requires reading the keyboard LEDs

That currently requires a "true" console, like Linux/Getty capable of opening /dev/tty, or compiling with X11 libs and directly running under X, i.e. having a properly set DISPLAY - see md_keyboard_leds() in mach_dep.c).

So it fails in SSH/PuTTY connections and in non-POSIX platforms. Fast Mode must be bound to another key, replacing or in addition to ScrollLock. Some pieces in code suggest was supposed to also work with f, but keybindings in general are a mess, see #21).

Regardless of the fact that currently Fast Mode does not work either (see #9)