When trying to install a system-wide lesskey file, but it doesn't work (and doesn't give any information as to why): # lesskey -o /etc/sysless -i /etc/sysless.src usage: lesskey [-o output] [input] -o output - specify output file, otherwise $HOME/.less is used -i input - specify input file, otherwise standard input is used -V - print lesskey version -h - print this help I tried with and without the "-i".
Thanks for reporting. It seems, the lesskey command is not handling command line arguments correctly. As a workaround, please use --output parameter instead. Note for myself: The break/goto is missing in parse_args() function, namely in less-458-lesskey-usage.patch in fedora repositories.
less-458-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/less-458-5.fc20
Package less-458-5.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing less-458-5.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-22576/less-458-5.fc20 then log in and leave karma (feedback).
tested with 458-5.fc20,get the same output as Chris's , when run # lesskey -o /etc/sysless -i /etc/sysless.src
The "lesskey -o /etc/sysless /etc/sysless.src" format is fixed and working for me.
less-458-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.