[sent in email, and posted here in case anyone else needs the info] aehall@calvin.seattleu.edu (root-bound) writes:Why?? Use the lesskey program and the following input file like this: lesskey < lesskey.input lesskey creates a file called .less in your home directory. Try "man lesskey" for info about it. Maybe even "man less". =====8<=====8<=====lesskey.input=====8<=====8<===== ^[[B forw-line ^[[A back-line ^[[6~ forw-screen ^[[5~ back-screen ^[[1~ goto-line ^[[4~ goto-end ^[[D prev-file ^[[C next-file =====8<=====8<=====lesskey.input=====8<=====8<===== Make sure the ^[ is an esc character. You can create one of these files with emacs by typing control-q before typing the key you want. i.e.: <C-q><downarrow><tab>forw-line<enter> <C-q><uparrow><tab>back-line<enter> and so forth and so on. It's very easy doing it this way, and people that call in to your system with different terminal types can create their own .less files that work with their terminals. No need to recompile the darn thing. Besides, if you get a newer version of less, it should see your key mappings automagically... :-) Pete C. +----------------------------------------------------------------------+ | Pete Cervasio | pete%q106fm.uucp@wupost.wustl.edu | | I fish, therefore I am. | pete.cervasio@f1.n2250.z1.fidonet.org | +----------------------------------------------------------------------+ | If you think of C as a preprocessor for your assembler, it makes | | just as little sense as before. (me) | +----------------------------------------------------------------------+
| Rafael J. Wysocki | Re: 2.6.27-rc1 mtrr fixes do not work |
| Denis Cheng | [PATCH] trivial: the memset operation on a automatic array variable should be opti... |
| Andrea Arcangeli | Re: [PATCH 02 of 11] get_task_mm |
| Andrew Morton | Re: [GIT *] Allow request_firmware() to be satisfied from in-kernel, use it in mor... |
git: | |
| Johannes Schindelin | Re: git-clean buglet |
| Sam Vilain | [RFC] Authenticate push via PGP signature, not SSH |
| Jon Smirl | ! [rejected] master -> master (non-fast forward) |
| Luben Tuikov | Which module contains SVN/Core.pm in CPAN |
| Julien TOUCHE | setting up ssh tunnel/vpn |
| Darrin Chandler | Re: SMTP flood + spamdb |
| Markus Wernig | host to host ipsec link |
| Frank Bax | QEMU crashes |
| Jussi Kivilinna | [PATCH net-next-2.6 v4 1/2] net_sched: add size table functions |
| Patrick McHardy | Re: pkt_sched: add DRR scheduler |
| Eric Dumazet | [PATCH] fs: pipe/sockets/anon dentries should not have a parent |
| Matheos Worku | 2.6.24 BUG: soft lockup - CPU#X |
