Open stevenhoneyman opened 10 years ago
It brings up the help for me. However, it does not in my X terminal emulator, only on a terminal or virtual terminal. You might check to see if your terminal-emulator or window-manager is eating the F1 key.
If some shortcuts fail, try
For example for me: % cat ^[[11~
Which corresponds to https://github.com/pixel/hexedit/blob/master/interact.c#L679 else if (streq(tmp, "11~" /* F1 on a rxvt */)) help();
I've found F1 doesn't work in the KDE Dolphin file manager in the embedded konsole window, but does work in a separate konsole window.
[Removed my previous comments regarding buildroot as I need to investigate the buildroot implementation further.]
F1 doesn't work in buildroot because buildroot doesn't really support man pages by design due to it's target audience of embedded systems developers. Although I can install man pages in buildroot and pull in nroff it does mean a load of unnecessary man pages get installed for other software.
What are your feeling about having the hexedit help internal to hexedit rather than using man pages?
F10 to quit works, so my F-keys must be recognized... but F1 does nothing at all when it should bring up the help according to the man page.