browser: flesh out page description
[sheet.git] / less.eng.inc.pl
1 use utf8;
2 {
3
4 key => {
5         'b' => ["page up"],
6         'd' => ['scroll down'],
7         'f' => ["page down"],
8         'F' => ["follow", 'Forward Forever'],
9         'g' => ["(first) line"],
10         'G' => ["last line"],
11         'h' => ["help"],
12         'j' => [$sign{down}],
13         'k' => [$sign{up}],
14         'm' => ["mark pos$sign{_}ition"],
15         'n' => ["next find"],
16         'N' => ["prev find"],
17         'p' => ["reset position", 'beginning or Percentage'],
18         'q' => ["quit"],
19         'r' => ["redraw"],
20         'R' => ["refresh"],
21         's' => ["save to file"],
22         't' => ["next tag"],
23         'T' => ["prev tag"],
24         'u' => ['scroll up'],
25         'v' => ["edit"],
26         'V' => ["version"],
27         'w' => ["page up and set window"],
28         '^x'=> ["emacs aliases"],
29         'z' => ["set page down"],
30
31         '!' => ["shell command"],
32         '|' => ["pipe till mark"],
33         ':' => ["com$sign{_}mand"],
34         '/' => ["find"],
35         '?' => ["find rev."],
36         '&' => ["filter match$sign{_}es"],
37         "'" => ["goto mark"],
38         '-' => ["toggle option"],
39         '_' => ["show option"],
40         '=' => ["file name"],
41         '+' => ["initial cmd"],
42
43         '(' => ["closing"],
44
45         '^[n' => ["any next find"],
46         '^[N' => ["any prev find"],
47         '^[u' => ["mark search", 'Undo'],
48         '^[(' => ["scroll left"],
49         '^[)' => ["scroll right"],
50
51         ':d' => ["drop file"],
52         ':e' => ["open file"],
53         ':n' => ["next file"],
54         ':p' => ["prev file"],
55         ':x' => ["first file"],
56
57         '-a' => ["advance find page"],
58         '-b' => ["buffer space"],
59         '-B' => ["static buffer for pipes"],
60         '-c' => ["clear on scroll"],
61         '-d' => ["dumb term$sign{_}inal"],
62         '-D' => ["dos colours"],
63         '-e' => ["exit after eof"],
64         '-E' => ["exit at eof"],
65         '-f' => ["force open"],
66         '-F' => ["exit if 1 page"],
67         '-g' => ["hilight last match"],
68         '-h' => ["scroll back limit"],
69         '-i' => ["ignore lower$sign{_}c$sign{_}ase"],
70         '-I' => ["ignore case"],
71         '-j' => ["top offset"],
72         '-J' => ["status column"],
73         '-k' => ["key bind$sign{_}ing$sign{_}s"],
74         '-L' => [qq[ignore <span style="font-variant:small-caps">lesso$sign{_}pen</span> filter]],
75         '-m' => ["med. promp$sign{_}t tog$sign{_}gle"],
76         '-M' => ["long promp$sign{_}t tog$sign{_}gle"],
77         '-n' => ["count line num$sign{_}ber$sign{_}s"],
78         '-N' => ["show line n$sign{_}um$sign{_}ber$sign{_}s"],
79         '-o' => ["stdin to log"],
80         '-O' => ["log overwrite"],
81         '-p' => ["initial search"],
82         '-P' => ["status line", "Prompt"],
83         '-q' => ["no info bell", "Quiet"],
84         '-Q' => ["no warn bell", "Quiet!"],
85         '-r' => ["raw chars"],
86         '-R' => ["ansi chars"],
87         '-s' => ["squeeze blank lines"],
88         '-S' => ["no line wrap"],
89         '-t' => ["find tag"],
90         '-T' => ["tags file"],
91         '-u' => ['parse \b \r'],
92         '-U' => ['escape \t \b \r'],
93         '-w' => ["hilight page d$sign{_}own"],
94         '-W' => ["hilight forw$sign{_}ard"],
95         '-x' => ["tab stops"],
96         '-X' => ["no termcap init"],
97         '-y' => ["scroll limit fw$sign{_}d"],
98         '-z' => ["page size"],
99         '-"' => ["shell quotes"],
100         '-~' => ["outside tildes toggle"],
101         '-#' => ["col shift"],
102         '--' => ["option name"],
103         '-+' => ["reset option"],
104 },
105
106 mode => {
107         ''   => 'normal pager',
108         '^[' => 'escape keys (hold meta/alt)',
109         '-'  => 'flag identifiers',
110         ':'  => 'colon commands',
111 },
112
113 }