Subject: bin/23597: less manpage mentions wrong lesskey configuration file
To: None <email@example.com>
From: Christian Biere <firstname.lastname@example.org>
Date: 11/29/2003 23:57:25
>Synopsis: less manpage mentions wrong lesskey configuration file
>Arrival-Date: Sat Nov 29 23:58:00 UTC 2003
>Originator: Christian Biere
>Release: NetBSD 1.6ZE
System: NetBSD cyclonus 1.6ZE NetBSD 1.6ZE (STARSCREAM) #5: Sat Nov 15 01:35:55 CET 2003 bin@cyclonus:/usr/build/sys/arch/i386/compile/STARSCREAM i386
For remapping special keys like backspace and delete you can create a
configuration file with lesskey. less will look for this file and use
it for remapping if present. However, the manpage mentions that on NetBSD
less will look in /etc/less.sys. This was changed some time ago but the
manpage wasn't correct. less looks for /etc/sysless.
ktruss -o /tmp/less.log less
RCS file: /cvsroot/src/usr.bin/less/less/less.1,v
retrieving revision 1.14
diff -u -r1.14 less.1
--- less.1 2003/04/14 02:56:47 1.14
+++ less.1 2003/11/29 23:16:51
@@ -970,7 +970,7 @@
looks in a standard place for the system-wide lesskey file:
-On NetBSD, the system-wide lesskey file is in /etc/less.sys.
+On NetBSD, the system-wide lesskey file is in /etc/sysless.
On other Unix systems, the system-wide lesskey file is /usr/local/etc/sysless.