I tried the lesskey program that someone pointed out to me...
Wow, what a concept! :)
Here's what I did:
I have a file called .lessrc that contains the following:
^[[B forw-line # down arrow
^[[A back-line # up arrow
^[[6~ forw-scroll # page down
^[[5~ back-scroll # page up
^[[1~ goto-line # home
^[[4~ goto-end # end
(note: the ^[ has to be an ESC i.e. in vi, type "i" for input mode,
press CTRL-v, and then press the Escape key. I'm not sure if
putting the '^' character and then the '[' character works.)
After you have this file, enter:
lesskey .lessrc
and the file ~/.less will be created with the key sequences.
Now less recognizes your new key sequences.
-Anthony
--
Anthony Hall _ _ Unix System Administrator
aehall@seattleu.edu /_/ /_/ Physician Micro Systems, Inc.
_ _ 2033 6th Ave Suite 707
/_/ /_/ Seattle, WA 98122 206-441-8490
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Satyam Sharma | [-mm patchset] War on warnings |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Izik Eidus | [PATCH 0/4] ksm - dynamic page sharing driver for linux |
git: | |
| Martin Langhoff | Handling large files with GIT |
| Wincent Colaiuta | Rebase/cherry-picking idea |
| Johannes Schindelin | Re: Empty directories... |
| Jakub Narebski | Re: VCS comparison table |
| Christian Weisgerber | Re: libiconv problem |
| Brandon Lee | DELL PERC 5iR slow performance |
| Richard Stallman | Real men don't attack straw men |
| J.W. Zondag | Dell PE1950 III - Perc 6i |
| Alexey Dobriyan | [PATCH 01/53] xfrm: initialise xfrm_policy_gc_work statically |
| Steve Wise | Re: [ofa-general] InfiniBand/RDMA merge plans for 2.6.24 |
| Inaky Perez-Gonzalez | [PATCH 00/39] merge request for WiMAX kernel stack and i2400m driver |
| Johannes Berg | [PATCH] add %pM printf format specifier |
