Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

man page lies about mc.keymap #2675

Closed
mc-butler opened this issue Nov 21, 2011 · 4 comments
Closed

man page lies about mc.keymap #2675

mc-butler opened this issue Nov 21, 2011 · 4 comments
Labels
area: docs Improvements or additions to documentation prio: low Minor problem or easily worked around ver: 4.8.0 Reproducible in version 4.8.0
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/2675
Reporter jose1711 (@jose1711)

manual page of midnight commander mentions:
..
A keymap-file is searched on the following algorithm (to the first one found):
..

4) File ~/.local/share/mc/mc.keymap

..

this is however not true (strace|grep keymap):
access("/usr/share/mc/mc.keymap", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/mc/mc.keymap", R_OK) = 0
access("/etc/mc/mc.keymap", R_OK) = 0
stat64("/etc/mc/mc.keymap", {st_mode=S_IFREG|0644, st_size=7922, ...}) = 0
open("/etc/mc/mc.keymap", O_RDONLY|O_LARGEFILE) = 5
access("/home/jose/.config/mc/mc.keymap", R_OK) = -1 ENOENT (No such file or directory)
access("/home/jose/.config/mc/mc.keymap", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/mc/mc.keymap", R_OK) = 0
access("/etc/mc/mc.keymap", R_OK) = 0
access("/etc/mc/mc.keymap", R_OK) = 0

instead of ~/.local/share/mc/mc.keymap file located at ~/.config/mc/mc.keymap is searched.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 22, 2011 at 4:20 UTC (comment 1)

  • Blocked by set to #2636
  • Component changed from documentation to mc-core

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 25, 2011 at 6:25 UTC (comment 2)

  • Component changed from mc-core to documentation
  • Keywords mc.keymap, keymap, manpage, manual deleted
  • Milestone changed from Future Releases to 4.8.1

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Dec 6, 2011 at 13:37 UTC (comment 3)

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

Fixed as part of #2636

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Dec 6, 2011 at 13:50 UTC

  • Blocked by #2636 deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation prio: low Minor problem or easily worked around ver: 4.8.0 Reproducible in version 4.8.0
Development

No branches or pull requests

1 participant