~ubuntu-branches/ubuntu/trusty/lv/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/fix-hyphen-used-as-minus-sign.diff/lv.1

  • Committer: Package Import Robot
  • Author(s): HIGUCHI Daisuke (VDR dai)
  • Date: 2014-03-15 03:42:28 UTC
  • Revision ID: package-import@ubuntu.com-20140315034228-6lcwgjiug8rym3wc
Tags: 4.51-2.2
* Non-maintainer upload.
* debian/control, debian/rules, debian/compat: use dh9.
* debian/control
  - add Vcs-* tags.
  - add Homepage: tag.
  - add ${misc:Depends} to Depends:.
  - add xz-utils to Recommends:.
* debian/source/format: set 3.0 (quilt).
* debian/patches/*: rename from debian/patch* and add DEP-3 headers.
* debian/copyright: convert to DEP-5.
* debian/patches/fix-hyphen-used-as-minus-sign.diff: new file.
* debian/lv.doc-base: new file.
* bump up Standards-Version 3.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH LV 1 "v.4.51 (Jan.16th,2004)"
 
2
.SH NAME
 
3
lv \- a Powerful Multilingual File Viewer / Grep
 
4
.SH SYNOPSIS
 
5
.B lv, lgrep
 
6
.br
 
7
.B lv
 
8
-h
 
9
.br
 
10
.B lv
 
11
-V
 
12
.br
 
13
.B lv
 
14
[-acdfgiklmnqsuvz] [+acdfgiklmnqsuvz]
 
15
.br
 
16
     [-A\fIcoding-system\fP] [-I\fIcoding-system\fP] [-K\fIcoding-system\fP]
 
17
.br
 
18
     [-O\fIcoding-system\fP] [-P\fIcoding-system\fP] [-D\fIcoding-system\fP]
 
19
.br
 
20
     [-Ss\fIseq\fP] [-Sr\fIseq\fP] [-Sb\fIseq\fP] [-Su\fIseq\fP] [-Sh\fIseq\fP]
 
21
.br
 
22
     [-T\fInumber\fP] [-W\fIwidth\fP] [-H\fIheight\fP] [-E'\fIeditor'\fP] [-+]
 
23
.br
 
24
     [+\fInumber\fP] [+/\fIgrep-pattern\fP]
 
25
.br
 
26
     [-] (\fIgrep-pattern\fP) [\fIfiles ...\fP]
 
27
.SH DESCRIPTION
 
28
.IP "\fIMultilingual file viewer\fP"
 
29
\fIlv\fP is a powerful multilingual file viewer.
 
30
Apparently, lv looks like \fIless\fP (1),
 
31
a representative file viewer on UNIX as you know,
 
32
so UNIX people (and \fIless\fP people on other OSs)
 
33
don't have to learn a burdensome new interface.
 
34
lv can be used on MSDOS ANSI terminals and almost all UNIX platforms.
 
35
lv is a currently growing software,
 
36
so your feedback is welcome
 
37
and helpful for us to refine the future lv.
 
38
.IP "\fIMultiple coding systems\fP"
 
39
lv can decode and encode multilingual streams
 
40
through many coding systems, for example,
 
41
ISO 2022 based coding systems such as iso-2022-jp,
 
42
and EUC (Extended Unix Code) like euc-japan.
 
43
Furthermore,
 
44
localized coding systems
 
45
such as shift-jis, big5 and HZ are also supported.
 
46
lv can be used not only as a file viewer
 
47
but also as a coding-system translation filter
 
48
like \fInkf\fP (1) and \fItcs\fP (1).
 
49
.IP "\fIMultilingual regular expressions / Multilingual grep\fP"
 
50
lv can recognize multi-bytes patterns as regular expressions,
 
51
and lv also provides multilingual \fIgrep\fP (1) functionality
 
52
by giving it another name, \fIlgrep\fP.
 
53
Pattern matching is conducted in the charset level,
 
54
so an EUC fragment, for example,
 
55
can be found in the ISO 2022 tailored streams, of course.
 
56
.IP "\fISupporting the Unicode standard\fP"
 
57
lv provides Unicode facilities
 
58
which enables you to handle Unicode streams encoded in UTF-7 or UTF-8,
 
59
and lv can also convert their code-points
 
60
between Unicode and other charsets.
 
61
So you can display Unicode or foreign texts on your terminal,
 
62
using the code conversion function
 
63
to your favorite charsets via Unicode.
 
64
(However, MSDOS version of lv has none of the Unicode facility.)
 
65
.IP "\fIANSI escape sequence through\fP"
 
66
lv can recognize ANSI escape sequences for text decoration.
 
67
So you can look ANSI-decorated streams
 
68
such as colored source codes generated by another software
 
69
just like intended image on ANSI terminals.
 
70
.IP "\fICompletely original\fP"
 
71
lv is a completely original software
 
72
including no code drawn from \fIless\fP and \fIgrep\fP
 
73
and other programs at all.
 
74
.SH "OPTIONS"
 
75
.IP "-A<\fIcoding-system\fP>"
 
76
Set all coding systems to \fIcoding-system\fP.
 
77
.IP "-I<\fIcoding-system\fP>"
 
78
Set input coding system to \fIcoding-system\fP.
 
79
.IP "-K<\fIcoding-system\fP>"
 
80
Set keyboard coding system to \fIcoding-system\fP.
 
81
If it is not set, output coding system will be applied to it.
 
82
.IP "-O<\fIcoding-system\fP>"
 
83
Set output coding system to \fIcoding-system\fP.
 
84
.IP "-P<\fIcoding-system\fP>"
 
85
Set pathname coding system to \fIcoding-system\fP.
 
86
.IP "-D<\fIcoding-system\fP>"
 
87
Set default (fall-back) coding system to \fIcoding-system\fP.
 
88
.IP "coding-system:"
 
89
a: auto-select
 
90
.br
 
91
c: iso-2022-cn
 
92
.br
 
93
j: iso-2022-jp
 
94
.br
 
95
k: iso-2022-kr
 
96
.br
 
97
ec: euc-china
 
98
.br
 
99
ej: euc-japan
 
100
.br
 
101
ek: euc-korea
 
102
.br
 
103
et: euc-taiwan
 
104
.br
 
105
u7: UTF-7
 
106
.br
 
107
u8: UTF-8
 
108
.br
 
109
l1..9: iso-8859-1..9
 
110
.br
 
111
l0: iso-8859-10
 
112
.br
 
113
lb,ld,le,lf,lg: iso-8859-11,13,14,15,16
 
114
.br
 
115
s: shift-jis
 
116
.br
 
117
b: big5
 
118
.br
 
119
h: HZ
 
120
.br
 
121
r: raw mode
 
122
.IP "Examples:"
 
123
-Il2: input coding system is iso-8859-2
 
124
.br
 
125
-Ks:  keyboard coding system is shift-jis
 
126
.br
 
127
-Oek: output coding system is euc-korea
 
128
.br
 
129
-Ab:  all coding systems are big5
 
130
.IP "Coding-system translations / Code-points conversions:"
 
131
iso-2022-cn, -jp, -kr can be converted into euc-china or -taiwan,
 
132
euc-japan, euc-korea, respectively (and vice versa).
 
133
shift-jis uses the same internal code-points
 
134
as iso-2022-jp and euc-japan.
 
135
.sp
 
136
Since big5 characters can be converted into CNS 11643-1992
 
137
with negligible incompleteness,
 
138
big5 streams can be translated into iso-2022-cn or euc-taiwan
 
139
(and vice versa) with code-points conversion.
 
140
Note that the iso-2022-cn referred here is not GB sequence,
 
141
only just CNS one.
 
142
You should remember that lv cannot translate big5 into GB directly.
 
143
.sp
 
144
The search function of lv may not work correctly when lv additionally
 
145
performs ``code-points'' conversion
 
146
(not ``coding-system'' translation),
 
147
because visible code and internal code are different from each other.
 
148
lv will try to avoid this problem with
 
149
converting charsets of search patterns automatically,
 
150
but this function is not always perfect.
 
151
.IP "-W<\fInumber\fP>"
 
152
Screen width
 
153
.IP "-H<\fInumber\fP>"
 
154
Screen height
 
155
.IP "-E'<\fIeditor\fP>' (default 'vi -c %d')"
 
156
Editor name (default 'vi -c %d')
 
157
.br
 
158
``%d'' means the line number of current position in a file.
 
159
.IP "-q"
 
160
Assert there is delete/insert-lines control.
 
161
.br
 
162
Please set this option on a MSDOS ANSI terminal
 
163
that has capability to delete and/or insert lines.
 
164
As to termcap and terminfo version,
 
165
it will be set automatically.
 
166
.IP "-Ss<\fIseq\fP>"
 
167
Set ANSI Standout sequence to \fIseq\fP  (default "7")
 
168
.IP "-Sr<\fIseq\fP>"
 
169
Set ANSI Reverse sequence to \fIseq\fP   (default "7")
 
170
.IP "-Sb<\fIseq\fP>"
 
171
Set ANSI Blink sequence to \fIseq\fP     (default "5")
 
172
.IP "-Su<\fIseq\fP>"
 
173
Set ANSI Underline sequence to \fIseq\fP (default "4")
 
174
.IP "-Sh<\fIseq\fP>"
 
175
Set ANSI Highlight sequence to \fIseq\fP (default "1")
 
176
.sp
 
177
These sequences are inserted
 
178
between ``ESC ['' and ``m''
 
179
to construct full ANSI escape sequences.
 
180
.br
 
181
.IP "-T<\fInumber\fP>"
 
182
Set Threshold-code which divides Unicode code-points in
 
183
two regions. Characters belonging to the lower region are
 
184
assumed to have a width of one, and the higher characters
 
185
are equated to a width of two. (Default: 12288, = 0x3000)
 
186
.IP "-m"
 
187
Force Unicode code-points which have the same glyphs as
 
188
iso-8859-* to be Mapped to iso-8859-* in a conversion from
 
189
Unicode to another character set which also has the
 
190
corresponding code-points, in particular, Asian charsets.
 
191
.br
 
192
.IP "-a"
 
193
Adjust character set for search pattern (default)
 
194
.IP "-c"
 
195
Allow ANSI escape sequences for text decoration (Color)
 
196
.IP "-d, -i"
 
197
Make regexp-searches ignore case (case folD search) (default)
 
198
.IP "-f"
 
199
Substitute Fixed strings for regular expressions
 
200
.IP "-k"
 
201
Convert X0201 Katakana to X0208 while decoding
 
202
.IP "-l"
 
203
Allow physical lines of each logical line printed on the screen
 
204
to be concatenated for cut and paste after screen refresh
 
205
.IP "-s"
 
206
Force old pages to be swept out from the screen Smoothly
 
207
.IP "-u"
 
208
Unify several character sets, eg. JIS X0208 and C6226.
 
209
In addition, lv equates ISO 646 variants,
 
210
eg. JIS X0201-Roman,
 
211
and unknown charsets with ASCII.
 
212
.IP "-g"
 
213
Turn on lgrep mode.
 
214
.IP "-n"
 
215
Prefix each line of output with the line number within its input file on lgrep.
 
216
.IP "-v"
 
217
Invert the sense of matching on lgrep.
 
218
.IP "-z"
 
219
Enable HZ auto-detection (also enabled by run-time C-t).
 
220
.br
 
221
.IP "-+"
 
222
Clear all options
 
223
.br
 
224
You can also turn OFF specified options,
 
225
using ``+<option>'' like +c, +d, ... +z.
 
226
.IP "-"
 
227
Treat the following arguments as filenames
 
228
.IP "\fIgrep-pattern\fP"
 
229
lv works like \fIgrep\fP (1) when its name is \fIlgrep\fP
 
230
.IP "+\fInumber\fP"
 
231
Jump to the specified line immediately when lv is invoked.
 
232
.IP "+/\fIgrep-pattern\fP"
 
233
Search  the specified pattern immediately when lv is invoked.
 
234
.IP "-V"
 
235
Show lv version
 
236
.IP "-h"
 
237
Show this help
 
238
.SH "CONFIGURATION"
 
239
Options can be described in configuration file ``.lv'' (``_lv'' on MSDOS)
 
240
located at you HOME directory.  If and only if you use MSDOS, you can locate
 
241
``_lv'' at current working directory.
 
242
They can be also described in the environment variable LV.
 
243
Every configuration will be overloaded in this order if there is. Command line
 
244
options are always read finally.
 
245
.SH "COMMAND KEY BINDINGS"
 
246
.IP "0..9:"
 
247
Argument
 
248
.IP "g, <:"
 
249
Jump to the line number (default: top of the file)
 
250
.IP "G, >:"
 
251
Jump to the line number (default: bottom of the file)
 
252
.IP "p:"
 
253
Jump to the percentage position in line numbers (0-100)
 
254
.IP "b, C-b:"
 
255
Previous page
 
256
.IP "u, C-u:"
 
257
Previous half page
 
258
.IP "k, w, C-k, y, C-y, C-p:"
 
259
Previous line
 
260
.IP "j, C-j, e, C-e, C-n, CR:"
 
261
Next line
 
262
.IP "d, C-d:"
 
263
Next half page
 
264
.IP "f, C-f, C-v, SP:"
 
265
Next page
 
266
.IP "F:"
 
267
Jump to the end of file, and wait for a data to be appended to
 
268
the file until interrupted.
 
269
.IP "/<string>:"
 
270
Find a string in the forward direction (regular expression)
 
271
.IP "?<string>:"
 
272
Find a string in the backward direction (regular expression)
 
273
.IP "n:"
 
274
Repeat previous search in forward direction
 
275
.IP "N:"
 
276
Repeat previous search in backward direction (not REVERSE)
 
277
.IP "C-l:"
 
278
Redisplay all lines
 
279
.IP "r, C-r:"
 
280
Refresh screen and memory
 
281
.IP "R:"
 
282
Reload current file
 
283
.IP ":n:"
 
284
Examine the next file
 
285
.IP ":p:"
 
286
Examine the previous file
 
287
.IP "t:"
 
288
Toggle input coding systems
 
289
.IP "T:"
 
290
Toggle input coding systems reversely
 
291
.IP "C-t:"
 
292
Toggle HZ decoding mode
 
293
.IP "v:"
 
294
Launch the editor defined by option -E
 
295
.IP "C-g, =:"
 
296
Show file information (filename, position, coding system)
 
297
.IP "V:"
 
298
Show LV version
 
299
.IP "C-z:"
 
300
Suspend (call SHELL or ``command.com'' under MSDOS)
 
301
.IP "q, Q:"
 
302
Quit
 
303
.IP "UP/DOWN:"
 
304
Previous/Next line
 
305
.IP "LEFT/RIGHT:"
 
306
Previous/Next half page
 
307
.IP "PageUp/PageDown:"
 
308
Previous/Next page
 
309
.SH "HOW TO INPUT SEARCH STRINGS?"
 
310
.IP "C-m, Enter:"
 
311
Enter the current string
 
312
.IP "C-h, BS, DEL:"
 
313
Delete one character (backspace)
 
314
.IP "C-u:"
 
315
Cancel the current string and try again
 
316
.IP "C-p:"
 
317
Restore a few old strings incrementally (history)
 
318
.IP "C-g:"
 
319
Quit
 
320
.SH "REGULAR EXPRESSION"
 
321
Special characters are ^, $, ., *, +, ?, [, ^, -,  ], \\.
 
322
\\| specifies an alternative. \\(, \\) is a grouping construct.
 
323
\\1 and \\2 matches any charset consists of one- or two- column(s)
 
324
characters respectively. Mutually overlapping ranges (or charset)
 
325
are not guaranteed.
 
326
.SH "SEE ALSO"
 
327
LV Homepage: http://www.ff.iij4u.or.jp/~nrt/lv/
 
328
.SH "COPYRIGHT"
 
329
All rights reserved. Copyright (C) 1996-2004 by NARITA Tomio.
 
330
.sp
 
331
This program is free software; you can redistribute it and/or modify
 
332
it under the terms of the GNU General Public License as published by
 
333
the Free Software Foundation; either version 2 of the License, or
 
334
(at your option) any later version.
 
335
.sp
 
336
This program is distributed in the hope that it will be useful,
 
337
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
338
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
339
GNU General Public License for more details.
 
340
.sp
 
341
You should have received a copy of the GNU General Public License
 
342
along with this program; if not, write to the Free Software
 
343
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
344
.SH "BUG REPORT"
 
345
Please send bug reports to: nrt@ff.iij4u.or.jp