Ticket #2675 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

man page lies about mc.keymap

Reported by: jose1711 Owned by:
Priority: minor Milestone: 4.8.1
Component: documentation Version: 4.8.0
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

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.

Change History

comment:1 Changed 13 years ago by andrew_b

  • Component changed from documentation to mc-core
  • Blocked By 2636 added

comment:2 Changed 13 years ago by andrew_b

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

comment:3 Changed 13 years ago by slavazanko

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

Fixed as part of #2636

comment:4 Changed 13 years ago by slavazanko

  • Blocked By 2636 removed
Note: See TracTickets for help on using tickets.