version 1.1.1.2, 2003/04/13 18:21:22 |
version 1.1.1.3, 2011/09/16 17:47:06 |
|
|
.TH LESSKEY 1 "Version 381: 17 Jan 2003" |
.TH LESSKEY 1 "Version 444: 09 Jun 2011" |
.SH NAME |
.SH NAME |
lesskey \- specify key bindings for less |
lesskey \- specify key bindings for less |
.SH SYNOPSIS |
.SH SYNOPSIS |
|
|
.I Lesskey |
.I Lesskey |
is used to specify a set of key bindings to be used by |
is used to specify a set of key bindings to be used by |
.I less. |
.I less. |
The input file is a text file which describes the key bindings, |
The input file is a text file which describes the key bindings. |
If the input file is "-", standard input is read. |
If the input file is "-", standard input is read. |
If no input file is specified, a standard filename is used |
If no input file is specified, a standard filename is used |
as the name of the input file, which depends on the system being used: |
as the name of the input file, which depends on the system being used: |
|
|
\een repeat-search-all |
\een repeat-search-all |
N reverse-search |
N reverse-search |
\eeN reverse-search-all |
\eeN reverse-search-all |
|
& filter |
m set-mark |
m set-mark |
' goto-mark |
' goto-mark |
^X^X goto-mark |
^X^X goto-mark |
|
|
\eek up |
\eek up |
\eku up |
\eku up |
\eej down |
\eej down |
|
^G abort |
.fi |
.fi |
.sp |
.sp |
|
|
|
|
less(1) |
less(1) |
|
|
.SH WARNINGS |
.SH WARNINGS |
It is not possible to specify special keys, such as uparrow, |
|
in a keyboard-independent manner. |
|
The only way to specify such keys is to specify the escape sequence |
|
which a particular keyboard sends when such a key is pressed. |
|
.PP |
|
On MS-DOS and OS/2 systems, certain keys send a sequence of characters |
On MS-DOS and OS/2 systems, certain keys send a sequence of characters |
which start with a NUL character (0). |
which start with a NUL character (0). |
This NUL character should be represented as \e340 in a lesskey file. |
This NUL character should be represented as \e340 in a lesskey file. |
|
|
.SH COPYRIGHT |
.SH COPYRIGHT |
Copyright (C) 2000 Mark Nudelman |
Copyright (C) 2000-2011 Mark Nudelman |
.PP |
.PP |
lesskey is part of the GNU project and is free software; |
lesskey is part of the GNU project and is free software; |
you can redistribute it and/or modify it |
you can redistribute it and/or modify it |