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

« back to all changes in this revision

Viewing changes to lv.hlp

  • 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
 
LV(1)                                                       LV(1)
 
1
LV(1)                                                                    LV(1)
2
2
 
3
3
 
4
4
 
9
9
       llvv,, llggrreepp
10
10
       llvv -h
11
11
       llvv -V
12
 
       llvv [-[+]acdfgiklmnqsuvz]
 
12
       llvv [-acdfgiklmnqsuvz] [+acdfgiklmnqsuvz]
13
13
            [-A_c_o_d_i_n_g_-_s_y_s_t_e_m] [-I_c_o_d_i_n_g_-_s_y_s_t_e_m] [-K_c_o_d_i_n_g_-_s_y_s_t_e_m]
14
14
            [-O_c_o_d_i_n_g_-_s_y_s_t_e_m] [-P_c_o_d_i_n_g_-_s_y_s_t_e_m] [-D_c_o_d_i_n_g_-_s_y_s_t_e_m]
15
15
            [-Ss_s_e_q] [-Sr_s_e_q] [-Sb_s_e_q] [-Su_s_e_q] [-Sh_s_e_q]
16
16
            [-T_n_u_m_b_e_r] [-W_w_i_d_t_h] [-H_h_e_i_g_h_t] [-E'_e_d_i_t_o_r_'] [-+]
17
 
            [-] (_g_r_e_p _p_a_t_t_e_r_n) [_f_i_l_e_s _._._.]
 
17
            [+_n_u_m_b_e_r] [+/_g_r_e_p_-_p_a_t_t_e_r_n]
 
18
            [-] (_g_r_e_p_-_p_a_t_t_e_r_n) [_f_i_l_e_s _._._.]
18
19
 
19
20
DDEESSCCRRIIPPTTIIOONN
20
21
       _M_u_l_t_i_l_i_n_g_u_a_l _f_i_l_e _v_i_e_w_e_r
21
 
              _l_v  is a powerful multilingual file viewer.  Appar-
22
 
              ently, lv looks like  _l_e_s_s  (1),  a  representative
23
 
              file  viewer  on  UNIX  as you know, so UNIX people
24
 
              (and _l_e_s_s people on other OSs) don't have to  learn
25
 
              a  burdensome  new  interface.   lv  can be used on
26
 
              MSDOS ANSI terminals and almost all UNIX platforms.
27
 
              lv  is  a currently growing software, so your feed-
28
 
              back is welcome and helpful for us  to  refine  the
29
 
              future lv.
 
22
              _l_v is a powerful multilingual file viewer.  Apparently, lv looks
 
23
              like _l_e_s_s (1), a representative file viewer on UNIX as you know,
 
24
              so  UNIX  people  (and  _l_e_s_s  people on other OSs) don't have to
 
25
              learn a burdensome new interface.  lv can be used on MSDOS  ANSI
 
26
              terminals  and  almost  all  UNIX  platforms.  lv is a currently
 
27
              growing software, so your feedback is welcome and helpful for us
 
28
              to refine the future lv.
30
29
 
31
30
       _M_u_l_t_i_p_l_e _c_o_d_i_n_g _s_y_s_t_e_m_s
32
 
              lv  can  decode  and  encode  multilingual  streams
33
 
              through many coding systems, for example, ISO  2022
34
 
              based  coding  systems such as iso-2022-jp, and EUC
35
 
              (Extended Unix Code) like euc-japan.   Furthermore,
36
 
              localized  coding  systems  such as shift-jis, big5
37
 
              and HZ are also supported.  lv can be used not only
38
 
              as a file viewer but also as a coding-system trans-
39
 
              lation filter like _n_k_f (1) and _t_c_s (1).
 
31
              lv  can decode and encode multilingual streams through many cod-
 
32
              ing systems, for example, ISO 2022 based coding systems such  as
 
33
              iso-2022-jp,  and EUC (Extended Unix Code) like euc-japan.  Fur-
 
34
              thermore, localized coding systems such as shift-jis,  big5  and
 
35
              HZ are also supported.  lv can be used not only as a file viewer
 
36
              but also as a coding-system translation filter like _n_k_f (1)  and
 
37
              _t_c_s (1).
40
38
 
41
39
       _M_u_l_t_i_l_i_n_g_u_a_l _r_e_g_u_l_a_r _e_x_p_r_e_s_s_i_o_n_s _/ _M_u_l_t_i_l_i_n_g_u_a_l _g_r_e_p
42
 
              lv can recognize multi-bytes  patterns  as  regular
43
 
              expressions, and lv also provides multilingual _g_r_e_p
44
 
              (1) functionality by giving it another name, _l_g_r_e_p.
45
 
              Pattern matching is conducted in the charset level,
46
 
              so an EUC fragment, for example, can  be  found  in
47
 
              the ISO 2022 tailored streams, of course.
 
40
              lv  can  recognize  multi-bytes patterns as regular expressions,
 
41
              and lv also provides multilingual _g_r_e_p (1) functionality by giv-
 
42
              ing  it  another  name, _l_g_r_e_p.  Pattern matching is conducted in
 
43
              the charset level, so an EUC fragment, for example, can be found
 
44
              in the ISO 2022 tailored streams, of course.
48
45
 
49
46
       _S_u_p_p_o_r_t_i_n_g _t_h_e _U_n_i_c_o_d_e _s_t_a_n_d_a_r_d
50
 
              lv provides Unicode facilities which enables you to
51
 
              handle Unicode streams encoded in UTF-7  or  UTF-8,
52
 
              and  lv  can also convert their code-points between
53
 
              Unicode and other charsets.   So  you  can  display
54
 
              Unicode  or  foreign  texts on your terminal, using
55
 
              the  code  conversion  function  to  your  favorite
56
 
              charsets  via  Unicode.  (However, MSDOS version of
57
 
              lv has none of the Unicode facility.)
 
47
              lv  provides Unicode facilities which enables you to handle Uni-
 
48
              code streams encoded in UTF-7 or UTF-8, and lv can also  convert
 
49
              their  code-points  between  Unicode and other charsets.  So you
 
50
              can display Unicode or foreign texts on your terminal, using the
 
51
              code  conversion function to your favorite charsets via Unicode.
 
52
              (However, MSDOS version of lv has none of the Unicode facility.)
58
53
 
59
54
       _A_N_S_I _e_s_c_a_p_e _s_e_q_u_e_n_c_e _t_h_r_o_u_g_h
60
 
              lv can recognize ANSI  escape  sequences  for  text
61
 
              decoration.  So you can look ANSI-decorated streams
62
 
              such as colored source codes generated  by  another
63
 
              software  just  like  intended image on ANSI termi-
64
 
              nals.
 
55
              lv  can recognize ANSI escape sequences for text decoration.  So
 
56
              you can look ANSI-decorated streams such as colored source codes
 
57
              generated  by  another software just like intended image on ANSI
 
58
              terminals.
65
59
 
66
60
       _C_o_m_p_l_e_t_e_l_y _o_r_i_g_i_n_a_l
67
 
              lv is a completely original software  including  no
68
 
              code drawn from _l_e_s_s and _g_r_e_p and other programs at
69
 
              all.
 
61
              lv is a completely original software  including  no  code  drawn
 
62
              from _l_e_s_s and _g_r_e_p and other programs at all.
70
63
 
71
64
OOPPTTIIOONNSS
72
65
       -A<_c_o_d_i_n_g_-_s_y_s_t_e_m>
76
69
              Set input coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.
77
70
 
78
71
       -K<_c_o_d_i_n_g_-_s_y_s_t_e_m>
79
 
              Set keyboard coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.  If it
80
 
              is not set, output coding system will be applied to
81
 
              it.
 
72
              Set  keyboard coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.  If it is not set,
 
73
              output coding system will be applied to it.
82
74
 
83
75
       -O<_c_o_d_i_n_g_-_s_y_s_t_e_m>
84
76
              Set output coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.
87
79
              Set pathname coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.
88
80
 
89
81
       -D<_c_o_d_i_n_g_-_s_y_s_t_e_m>
90
 
              Set default (fall-back) coding  system  to  _c_o_d_i_n_g_-
91
 
              _s_y_s_t_e_m.
 
82
              Set default (fall-back) coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.
92
83
 
93
84
       coding-system:
94
85
              a: auto-select
116
107
              -Ab:  all coding systems are big5
117
108
 
118
109
       Coding-system translations / Code-points conversions:
119
 
              iso-2022-cn,  -jp,  -kr  can be converted into euc-
120
 
              china or  -taiwan,  euc-japan,  euc-korea,  respec-
121
 
              tively  (and  vice versa).  shift-jis uses the same
122
 
              internal code-points as iso-2022-jp and  euc-japan.
123
 
 
124
 
              Since  big5  characters  can  be converted into CNS
125
 
              11643-1992  with  negligible  incompleteness,  big5
126
 
              streams  can be translated into iso-2022-cn or euc-
127
 
              taiwan (and vice versa)  with  code-points  conver-
128
 
              sion.   Note  that the iso-2022-cn referred here is
129
 
              not GB sequence, only just  CNS  one.   You  should
130
 
              remember  that  lv  cannot  translate  big5 into GB
131
 
              directly.
132
 
 
133
 
              The search function of lv may  not  work  correctly
134
 
              when  lv additionally performs ``code-points'' con-
135
 
              version   (not   ``coding-system''    translation),
136
 
              because  visible code and internal code are differ-
137
 
              ent from each other.  lv will  try  to  avoid  this
138
 
              problem with converting charsets of search patterns
139
 
              automatically, but this function is not always per-
140
 
              fect.
 
110
              iso-2022-cn, -jp, -kr can be converted into euc-china  or  -tai-
 
111
              wan,   euc-japan,  euc-korea,  respectively  (and  vice  versa).
 
112
              shift-jis uses the same internal code-points as iso-2022-jp  and
 
113
              euc-japan.
 
114
 
 
115
              Since  big5 characters can be converted into CNS 11643-1992 with
 
116
              negligible incompleteness, big5 streams can be  translated  into
 
117
              iso-2022-cn or euc-taiwan (and vice versa) with code-points con-
 
118
              version.  Note that the iso-2022-cn  referred  here  is  not  GB
 
119
              sequence, only just CNS one.  You should remember that lv cannot
 
120
              translate big5 into GB directly.
 
121
 
 
122
              The search function of lv may not work correctly when  lv  addi-
 
123
              tionally  performs ``code-points'' conversion (not ``coding-sys-
 
124
              tem'' translation), because visible code and internal  code  are
 
125
              different  from  each  other.  lv will try to avoid this problem
 
126
              with converting charsets of search patterns  automatically,  but
 
127
              this function is not always perfect.
141
128
 
142
129
       -W<_n_u_m_b_e_r>
143
130
              Screen width
147
134
 
148
135
       -E'<_e_d_i_t_o_r>' (default 'vi -c %d')
149
136
              Editor name (default 'vi -c %d')
150
 
              ``%d'' means the line number of current position in
151
 
              a file.
 
137
              ``%d'' means the line number of current position in a file.
152
138
 
153
139
       -q     Assert there is delete/insert-lines control.
154
 
              Please set this option on  a  MSDOS  ANSI  terminal
155
 
              that  has capability to delete and/or insert lines.
156
 
              As to termcap and terminfo version, it will be  set
157
 
              automatically.
 
140
              Please  set  this option on a MSDOS ANSI terminal that has capa-
 
141
              bility to delete and/or insert lines.  As to  termcap  and  ter-
 
142
              minfo version, it will be set automatically.
158
143
 
159
144
       -Ss<_s_e_q>
160
145
              Set ANSI Standout sequence to _s_e_q  (default "7")
171
156
       -Sh<_s_e_q>
172
157
              Set ANSI Highlight sequence to _s_e_q (default "1")
173
158
 
174
 
              These  sequences are inserted between ``ESC ['' and
175
 
              ``m'' to construct full ANSI escape sequences.
 
159
              These sequences are inserted between ``ESC ['' and ``m'' to con-
 
160
              struct full ANSI escape sequences.
176
161
 
177
162
       -T<_n_u_m_b_e_r>
178
 
              Set  Threshold-code  which  divides  Unicode  code-
179
 
              points  in two regions. Characters belonging to the
180
 
              lower region are assumed to have a  width  of  one,
181
 
              and the higher characters are equated to a width of
182
 
              two. (Default: 12288, = 0x3000)
 
163
              Set Threshold-code which  divides  Unicode  code-points  in  two
 
164
              regions. Characters belonging to the lower region are assumed to
 
165
              have a width of one, and the higher characters are equated to  a
 
166
              width of two. (Default: 12288, = 0x3000)
183
167
 
184
 
       -m     Force  Unicode  code-points  which  have  the  same
185
 
              glyphs  as iso-8859-* to be Mapped to iso-8859-* in
186
 
              a conversion from Unicode to another character  set
187
 
              which  also  has  the corresponding code-points, in
188
 
              particular, Asian charsets.
 
168
       -m     Force   Unicode  code-points  which  have  the  same  glyphs  as
 
169
              iso-8859-* to be Mapped to iso-8859-* in a conversion from  Uni-
 
170
              code  to  another character set which also has the corresponding
 
171
              code-points, in particular, Asian charsets.
189
172
 
190
173
       -a     Adjust character set for search pattern (default)
191
174
 
192
 
       -c     Allow ANSI escape  sequences  for  text  decoration
193
 
              (Color)
 
175
       -c     Allow ANSI escape sequences for text decoration (Color)
194
176
 
195
 
       -d, -i Make regexp-searches ignore case (case folD search)
196
 
              (default)
 
177
       -d, -i Make regexp-searches ignore case (case folD search) (default)
197
178
 
198
179
       -f     Substitute Fixed strings for regular expressions
199
180
 
200
181
       -k     Convert X0201 Katakana to X0208 while decoding
201
182
 
202
 
       -l     Allow physical lines of each logical  line  printed
203
 
              on  the screen to be concatenated for cut and paste
204
 
              after screen refresh
205
 
 
206
 
       -s     Force old pages to be swept  out  from  the  screen
207
 
              Smoothly
208
 
 
209
 
       -u     Unify  several  character  sets,  eg. JIS X0208 and
210
 
              C6226.  In addition, lv equates ISO  646  variants,
211
 
              eg.  JIS  X0201-Roman,  and  unknown  charsets with
212
 
              ASCII.
 
183
       -l     Allow physical lines of each logical line printed on the  screen
 
184
              to be concatenated for cut and paste after screen refresh
 
185
 
 
186
       -s     Force old pages to be swept out from the screen Smoothly
 
187
 
 
188
       -u     Unify several character sets, eg. JIS X0208 and C6226.  In addi-
 
189
              tion, lv equates ISO 646  variants,  eg.  JIS  X0201-Roman,  and
 
190
              unknown charsets with ASCII.
213
191
 
214
192
       -g     Turn on lgrep mode.
215
193
 
216
 
       -n     Prefix each line of output  with  the  line  number
217
 
              within its input file on lgrep.
 
194
       -n     Prefix each line of output with the line number within its input
 
195
              file on lgrep.
218
196
 
219
197
       -v     Invert the sense of matching on lgrep.
220
198
 
221
 
       -z     Enable  HZ auto-detection (also enabled by run-time
222
 
              C-t).
 
199
       -z     Enable HZ auto-detection (also enabled by run-time C-t).
223
200
 
224
201
       -+     Clear all options
225
 
              You can also  turn  OFF  specified  options,  using
226
 
              ``+<option>'' like +c, +d, ... +z.
 
202
              You can also turn OFF  specified  options,  using  ``+<option>''
 
203
              like +c, +d, ... +z.
227
204
 
228
205
       -      Treat the following arguments as filenames
229
206
 
230
 
       _g_r_e_p _p_a_t_t_e_r_n
 
207
       _g_r_e_p_-_p_a_t_t_e_r_n
231
208
              lv works like _g_r_e_p (1) when its name is _l_g_r_e_p
232
209
 
 
210
       +_n_u_m_b_e_r
 
211
              Jump to the specified line immediately when lv is invoked.
 
212
 
 
213
       +/_g_r_e_p_-_p_a_t_t_e_r_n
 
214
              Search  the specified pattern immediately when lv is invoked.
 
215
 
233
216
       -V     Show lv version
234
217
 
235
218
       -h     Show this help
236
219
 
237
220
CCOONNFFIIGGUURRAATTIIOONN
238
 
       Options  can  be  described  in configuration file ``.lv''
239
 
       (``_lv'' on MSDOS) located at you HOME directory.  If  and
240
 
       only  if  you use MSDOS, you can locate ``_lv'' at current
241
 
       working directory.  They can  be  also  described  in  the
242
 
       environment  variable  LV.   Every  configuration  will be
243
 
       overloaded in this order if there is. Command line options
244
 
       are always read finally.
 
221
       Options  can  be  described  in  configuration file ``.lv'' (``_lv'' on
 
222
       MSDOS) located at you HOME directory.  If and only if  you  use  MSDOS,
 
223
       you  can locate ``_lv'' at current working directory.  They can be also
 
224
       described in the environment variable LV.  Every configuration will  be
 
225
       overloaded  in  this order if there is. Command line options are always
 
226
       read finally.
245
227
 
246
228
CCOOMMMMAANNDD KKEEYY BBIINNDDIINNGGSS
247
229
       0..9:  Argument
248
230
 
249
231
       g, <:  Jump to the line number (default: top of the file)
250
232
 
251
 
       G, >:  Jump  to  the  line  number (default: bottom of the
252
 
              file)
 
233
       G, >:  Jump to the line number (default: bottom of the file)
253
234
 
254
 
       p:     Jump to the percentage  position  in  line  numbers
255
 
              (0-100)
 
235
       p:     Jump to the percentage position in line numbers (0-100)
256
236
 
257
237
       b, C-b:
258
238
              Previous page
272
252
       f, C-f, C-v, SP:
273
253
              Next page
274
254
 
275
 
       F:     Jump  to the end of file, and wait for a data to be
276
 
              appended to the file until interrupted.
 
255
       F:     Jump to the end of file, and wait for a data to be  appended  to
 
256
              the file until interrupted.
277
257
 
278
258
       /<string>:
279
 
              Find a string in  the  forward  direction  (regular
280
 
              expression)
 
259
              Find a string in the forward direction (regular expression)
281
260
 
282
261
       ?<string>:
283
 
              Find  a  string  in the backward direction (regular
284
 
              expression)
 
262
              Find a string in the backward direction (regular expression)
285
263
 
286
264
       n:     Repeat previous search in forward direction
287
265
 
288
 
       N:     Repeat previous search in backward  direction  (not
289
 
              REVERSE)
 
266
       N:     Repeat previous search in backward direction (not REVERSE)
290
267
 
291
268
       C-l:   Redisplay all lines
292
269
 
308
285
       v:     Launch the editor defined by option -E
309
286
 
310
287
       C-g, =:
311
 
              Show  file  information (filename, position, coding
312
 
              system)
 
288
              Show file information (filename, position, coding system)
313
289
 
314
290
       V:     Show LV version
315
291
 
340
316
       C-g:   Quit
341
317
 
342
318
RREEGGUULLAARR EEXXPPRREESSSSIIOONN
343
 
       Special  characters  are ^, $, ., *, +, ?, [, ^, -,  ], \.
344
 
       \| specifies an alternative. \(, \)  is  a  grouping  con-
345
 
       struct.  \1 and \2 matches any charset consists of one- or
346
 
       two- column(s) characters respectively. Mutually  overlap-
347
 
       ping ranges (or charset) are not guaranteed.
 
319
       Special  characters are ^, $, ., *, +, ?, [, ^, -,  ], \.  \| specifies
 
320
       an alternative. \(, \) is a grouping construct.  \1 and \2 matches  any
 
321
       charset  consists  of  one-  or two- column(s) characters respectively.
 
322
       Mutually overlapping ranges (or charset) are not guaranteed.
348
323
 
349
324
SSEEEE AALLSSOO
350
325
       LV Homepage: http://www.ff.iij4u.or.jp/~nrt/lv/
351
326
 
352
327
CCOOPPYYRRIIGGHHTT
353
 
       All  rights  reserved.  Copyright  (C) 1996-2004 by NARITA
354
 
       Tomio.
355
 
 
356
 
       This program is free software;  you  can  redistribute  it
357
 
       and/or modify it under the terms of the GNU General Public
358
 
       License as published  by  the  Free  Software  Foundation;
359
 
       either  version  2 of the License, or (at your option) any
360
 
       later version.
361
 
 
362
 
       This program is distributed in the hope that  it  will  be
363
 
       useful, but WITHOUT ANY WARRANTY; without even the implied
364
 
       warranty of MERCHANTABILITY or FITNESS  FOR  A  PARTICULAR
365
 
       PURPOSE.   See  the  GNU  General  Public License for more
366
 
       details.
367
 
 
368
 
       You should have received a copy of the GNU General  Public
369
 
       License along with this program; if not, write to the Free
370
 
       Software Foundation, Inc., 59  Temple  Place,  Suite  330,
371
 
       Boston, MA  02111-1307  USA
 
328
       All rights reserved. Copyright (C) 1996-2004 by NARITA Tomio.
 
329
 
 
330
       This program is free software; you can redistribute it and/or modify it
 
331
       under  the  terms of the GNU General Public License as published by the
 
332
       Free Software Foundation; either version 2 of the License, or (at  your
 
333
       option) any later version.
 
334
 
 
335
       This  program  is  distributed  in the hope that it will be useful, but
 
336
       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER-
 
337
       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
 
338
       Public License for more details.
 
339
 
 
340
       You should have received a copy of the GNU General Public License along
 
341
       with this program; if not, write to the Free Software Foundation, Inc.,
 
342
       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
372
343
 
373
344
BBUUGG RREEPPOORRTT
374
345
       Please send bug reports to: nrt@ff.iij4u.or.jp
375
346
 
376
347
 
377
348
 
378
 
                      v.4.51 (Jan.16th,2004)                LV(1)
 
349
                            v.4.51 (Jan.16th,2004)                       LV(1)