• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COPYINGH A D30-Dec-201617.6 KiB341281

INSTALLH A D30-Dec-20167.7 KiB187144

LICENSEH A D30-Dec-20161.3 KiB3125

Makefile.autH A D30-Dec-20163.7 KiB11797

Makefile.dsbH A D30-Dec-20161.2 KiB5129

Makefile.dsgH A D30-Dec-20162.4 KiB9261

Makefile.dsuH A D30-Dec-20161.7 KiB5928

Makefile.inH A D30-Dec-20163.1 KiB11474

Makefile.o2eH A D30-Dec-20161.1 KiB4324

Makefile.o9cH A D30-Dec-20161.2 KiB4726

Makefile.o9uH A D30-Dec-20161.1 KiB4324

Makefile.wnbH A D30-Dec-20161.3 KiB5028

Makefile.wnmH A D30-Dec-20161.5 KiB5627

NEWSH A D30-Dec-201618.9 KiB587347

READMEH A D30-Dec-20169.8 KiB236172

README.ext.jpH A D30-Dec-20168 KiB212149

README.isoH A D30-Dec-20169.3 KiB220185

README.iso.jpH A D30-Dec-201611.9 KiB249215

README.regexH A D30-Dec-20161.4 KiB3929

README.regex.jpH A D30-Dec-20161.5 KiB3929

brac.cH A D30-Dec-20162.3 KiB10250

ch.cH A D30-Dec-201617.6 KiB934611

charset.cH A D30-Dec-201625.3 KiB997784

cmd.hH A D30-Dec-20163.1 KiB143109

cmdbuf.cH A D30-Dec-201621.4 KiB1,188764

command.cH A D30-Dec-201630.5 KiB1,6411,071

configureH A D30-Dec-2016213 KiB7,7536,645

configure.acH A D30-Dec-201617.6 KiB603531

decode.cH A D30-Dec-201618 KiB850574

defines.dsH A D30-Dec-201611.5 KiB465384

defines.h.inH A D30-Dec-201611.6 KiB454339

defines.o2H A D30-Dec-201610.1 KiB385304

defines.o9H A D30-Dec-201610.2 KiB397317

defines.wnH A D30-Dec-201610.1 KiB390308

edit.cH A D30-Dec-201614.6 KiB783500

filename.cH A D30-Dec-201619.3 KiB1,076776

forwback.cH A D30-Dec-20168.5 KiB413248

funcs.hH A D30-Dec-20167.1 KiB265264

help.cH A D30-Dec-201646.2 KiB234232

ifile.cH A D30-Dec-20166.8 KiB381239

input.cH A D30-Dec-20168.1 KiB419297

install.shH A D30-Dec-20162.1 KiB12071

jump.cH A D30-Dec-20165.7 KiB292168

kanji_map.cH A D30-Dec-201657.6 KiB1,039943

kanji_map.hH A D30-Dec-2016285 108

less.hH A D30-Dec-20169 KiB430293

less.hlpH A D30-Dec-201611.3 KiB229205

less.manH A D30-Dec-201678.8 KiB2,0471,394

less.nroH A D30-Dec-201663.9 KiB1,7761,760

lessecho.cH A D30-Dec-20164.9 KiB273222

lesskey.cH A D30-Dec-201617.4 KiB882618

lesskey.hH A D30-Dec-2016877 4112

lesskey.manH A D30-Dec-201614.2 KiB463320

lesskey.nroH A D30-Dec-20169.6 KiB392380

lglob.hH A D30-Dec-20163 KiB9662

line.cH A D30-Dec-201624.8 KiB1,182800

linenum.cH A D30-Dec-201610.2 KiB453230

lsystem.cH A D30-Dec-20167 KiB370225

main.cH A D30-Dec-20167.7 KiB404276

mark.cH A D30-Dec-20164.5 KiB259153

mkfuncs.awkH A D30-Dec-2016158 107

mkhelp.cH A D30-Dec-20161.4 KiB7048

mkinstalldirsH A D30-Dec-2016649 3318

multi.cH A D30-Dec-201675.7 KiB3,2352,705

multi.hH A D30-Dec-201615.7 KiB427168

optfunc.cH A D30-Dec-201610.7 KiB672529

option.cH A D30-Dec-201612.4 KiB640420

option.hH A D30-Dec-20161.9 KiB6436

opttbl.cH A D30-Dec-201615.6 KiB621522

os.cH A D30-Dec-20165.6 KiB330225

output.cH A D30-Dec-201612.5 KiB706506

pckeys.hH A D30-Dec-2016962 3518

position.cH A D30-Dec-20164.8 KiB233119

position.hH A D30-Dec-2016478 205

prompt.cH A D30-Dec-201611.6 KiB582423

regex_cs.cH A D30-Dec-2016155.9 KiB4,6712,857

regex_cs.hH A D30-Dec-201617.6 KiB482167

regexp.cH A D30-Dec-201627.7 KiB1,251850

regexp.hH A D30-Dec-2016973 3523

screen.cH A D30-Dec-201647.9 KiB2,4841,866

scrsize.cH A D30-Dec-20163.1 KiB10557

search.cH A D30-Dec-201639.1 KiB1,9651,435

signal.cH A D30-Dec-20164.6 KiB271176

tags.cH A D30-Dec-201615.1 KiB763488

ttyin.cH A D30-Dec-20162.9 KiB14686

unicode_map.cH A D30-Dec-2016284.9 KiB4,0694,014

unicode_map.hH A D30-Dec-20161 KiB3831

unicode_type.cH A D30-Dec-2016562.7 KiB8,7248,209

unicode_type.hH A D30-Dec-2016315 119

unify.cH A D30-Dec-2016234.7 KiB4,8644,730

version.cH A D30-Dec-201636 KiB7871

README

1
2                            Less, version 382
3
4    This is the distribution of less, version 382, released 03 Feb 2004.
5    This program is part of the GNU project (http://www.gnu.org).
6
7    This program is free software.  You may redistribute it and/or
8    modify it under the terms of either:
9
10    1. The GNU General Public License, as published by the Free
11       Software Foundation; either version 2, or (at your option) any
12       later version.  A copy of this license is in the file COPYING.
13    or
14    2. The Less License, in the file LICENSE.
15
16    Please report any problems to bug-less@gnu.org or markn@greenwoodsoftware.com.
17    See http://www.greenwoodsoftware.com/less for the latest info.
18    You may also contact the author at:
19          Mark Nudelman
20          Greenwood Software
21          PO Box 2402
22          El Granada, CA  94018
23          USA
24
25=========================================================================
26
27This is the distribution of "less", a paginator similar to "more" or "pg".
28
29The formatted manual page is in less.man.
30The manual page nroff source is in less.nro.
31Major changes made since the last posted version are in NEWS.
32
33=======================================================================
34INSTALLATION (Unix systems only):
35
361. Move the distributed source to its own directory and unpack it,
37   if you have not already done so.
38
392. Type "sh configure".
40   This will generate a Makefile and a defines.h.
41   Warning: if you have a GNU sed, make sure it is version 2.05 or later.
42
43   The file INSTALL describes the usage of the configure program in
44   general.  In addition, these options to configure are supported:
45
46   --with-editor=program
47     Specifies the default editor program used by the "v" command.
48     The default is "vi".
49   --with-regex=lib
50     Specifies the regular expression library used by less for pattern
51     matching.  The default is "auto", which means the configure program
52     finds a regular expression library automatically.  Other values are:
53        posix          Use the POSIX-compatible regcomp.
54        pcre           Use the PCRE library.
55        regcmp         Use the regcmp library.
56        re_comp        Use the re_comp library.
57        regcomp        Use the V8-compatible regcomp.
58        regcomp-local  Use Henry Spencer's V8-compatible regcomp
59                       (source is supplied with less).
60
613. It is a good idea to look over the generated Makefile and defines.h
62   and make sure they look ok.  If you know of any peculiarities of
63   your system that configure might not have detected, you may fix the
64   Makefile now.  Take particular notice of the list of "terminal"
65   libraries in the LIBS definition in the Makefile; these may need
66   to be edited.  The terminal libraries will be some subset of
67       -lncurses  -lcurses  -ltermcap  -ltermlib
68
69   If you wish, you may edit defines.h to remove some optional features.
70   If you wish to build a "secure" version of less (which disables all
71   features which might allow a user to do unintended things to the system
72   on which less is running), edit defines.h and define SECURE to 1.
73   If you choose not to include some features in your version, you may
74   wish to edit the manual page "less.nro" and the help page "less.hlp"
75   to remove the descriptions of the features which you are removing.
76   If you edit less.hlp, you should run "make -f Makefile.aut help.c".
77
784. Type "make" and watch the fun.
79
805. If the make succeeds, it will generate the programs "less",
81   "lesskey" and "lessecho" in your current directory.  Test the
82   generated programs.
83
846. When satisfied that it works, if you wish to install it
85   in a public place, type "make install".
86
87   The default install destinations are:
88        Executables (less, lesskey, lessecho) in /usr/local/bin
89        Documentation (less.nro, lesskey.nro) in /usr/local/man/man1
90   If you want to install any of these files elsewhere, define
91   bindir and/or mandir to the appropriate directories.
92
93If you have any problems building or running "less", suggestions,
94complaints, etc., you may mail to the author at markn@greenwoodsoftware.com.
95
96Note to hackers: comments noting possible improvements are enclosed
97in double curly brackets {{ like this }}.
98
99
100
101=======================================================================
102INSTALLATION (MS-DOS systems only,
103              with Microsoft C, Borland C, or DJGPP)
104
1051. Move the distributed source to its own directory.
106   Depending on your compiler, you may need to convert the source
107   to have CR-LF rather than LF as line terminators.
108
1092. If you are using Microsoft C, rename MAKEFILE.DSU to MAKEFILE.
110   If you are using Borland C, rename MAKEFILE.DSB to MAKEFILE.
111   If you are using DJGPP, rename MAKEFILE.DSG to MAKEFILE.
112
1133. Look at MAKEFILE to make sure that the definitions for CC and LIBDIR
114   are correct.  CC should be the name of your C compiler and
115   LIBDIR should be the directory where the C libraries reside (for
116   Microsoft C only).  If these definitions need to be changed, you can
117   either modify the definitions directly in MAKEFILE, or set your
118   environment variables CC and/or LIBDIR to override the definitions
119   in MAKEFILE.
120
1214. If you wish, you may edit DEFINES.DS to remove some optional features.
122   If you choose not to include some features in your version, you may
123   wish to edit the manual page LESS.MAN and the help page HELP.C
124   to remove the descriptions of the features which you are removing.
125
1265. Run your "make" program and watch the fun.
127   If your "make" requires a flag to import environment variables,
128   you should use that flag.
129   If your compiler runs out of memory, try running "make -n >cmds.bat"
130   and then run cmds.bat.
131
1326. If the make succeeds, it will generate the programs "LESS.EXE" and
133   "LESSKEY.EXE" in your current directory.  Test the generated programs.
134
1357. When satisfied that it works, you may wish to install LESS.EXE and
136   LESSKEY.EXE in a directory which is included in your PATH.
137
138
139
140=======================================================================
141INSTALLATION (Windows-95, Windows-98 and Windows-NT systems only,
142              with Borland C or Microsoft Visual C++)
143
1441. Move the distributed source to its own directory.
145
1462. If you are using Borland C, rename Makefile.wnb to Makefile.
147   If you are using Microsoft Visual C++, rename Makefile.wnm to Makefile.
148
1493. Check the Makefile to make sure the definitions look ok.
150
1514. If you wish, you may edit defines.wn to remove some optional features.
152   If you choose not to include some features in your version, you may
153   wish to edit the manual page less.man and the help page help.c
154   to remove the descriptions of the features which you are removing.
155
1565. Type "make" and watch the fun.
157
1586. If the make succeeds, it will generate the programs "less.exe" and
159   "lesskey.exe" in your current directory.  Test the generated programs.
160
1617. When satisfied that it works, if you wish to install it
162   in a public place, type "make install".
163   See step 6 of the Unix installation instructions for details
164   on how to change the default installation directories.
165
166
167
168=======================================================================
169INSTALLATION (OS/2 systems only,
170              with EMX C)
171
1721. Move the distributed source to its own directory.
173
1742. Rename Makefile.o2e to Makefile.
175
1763. Check the Makefile to make sure the definitions look ok.
177
1784. If you wish, you may edit defines.o2 to remove some optional features.
179   If you choose not to include some features in your version, you may
180   wish to edit the manual page less.man and the help page help.c
181   to remove the descriptions of the features which you are removing.
182
1835. Type "make" and watch the fun.
184
1856. If the make succeeds, it will generate the programs "less.exe" and
186   "lesskey.exe" in your current directory.  Test the generated programs.
187
1887. Make sure you have the emx runtime installed. You need the emx DLLs
189   emx.dll and emxlibcs.dll and also the termcap database, termcap.dat.
190   Make sure you have termcap.dat either in the default location or
191   somewhere in a directory listed in the PATH or INIT environment
192   variables.
193
1948. When satisfied that it works, you may wish to install less.exe,
195   lesskey.exe and scrsize.exe in a directory which is included in
196   your PATH.  scrsize.exe is required only if you use a terminal
197   emulator such as xterm or rxvt.
198
199
200
201=======================================================================
202INSTALLATION (OS-9 systems only,
203              with Microware C or Ultra C)
204
2051. Move the distributed source to its own directory.
206
2072. If you are using Microware C, rename Makefile.o9c to Makefile.
208   If you are using Ultra C, rename Makefile.o9u to Makefile.
209
2103. Check the Makefile to make sure the definitions look ok.
211
2124. If you wish, you may edit defines.o9 to remove some optional features.
213   If you choose not to include some features in your version, you may
214   wish to edit the manual page less.man and the help page help.c
215   to remove the descriptions of the features which you are removing.
216
2175. Type "dmake" and watch the fun.
218   The standard OS-9 "make" will probably not work.  If you don't
219   have dmake, you can get a copy from os9archive.rtsi.com.
220
2216. If the make succeeds, it will generate the programs "less" and
222   "lesskey" in your current directory.  Test the generated programs.
223
2247. When satisfied that it works, if you wish to install it
225   in a public place, type "dmake install".
226   See step 6 of the Unix installation instructions for details
227   on how to change the default installation directories.
228
229=======================================================================
230ACKNOWLEDGMENTS:
231  Some versions of the less distribution are packaged using
232  Info-ZIP's compression utility.
233  Info-ZIP's software is free and can be obtained as source
234  code or executables from various anonymous-ftp sites,
235  including ftp.uu.net:/pub/archiving/zip.
236

README.ext.jp

1
2----------------------------
3less-382-iso262-ext03 �ѥå�
4----------------------------
5
6less-382-iso262 �ʹߤι������ʤ��褦�ʤΤǡ������ UTF-8��ĥ������Τ�
7�����Ȥꤢ�����Ŀ�Ū�˻Ȥ��פ��褦�ˤ��Ƥ�������ʤΤǡ����ʤꤤ���ø�
8�ʼ����ˤʤäƤ��ޤ���
9
10���̤� UTF-8 ���ѼԤ� lv �Ȥ��ǿ��Ǥ� less�Ȥ��Ȥ����ɤ��ΤǤϤʤ�����
11�פ��ޤ�����less �ε�ǽ�� UTF-8 �ʳ��� EUC�� SJIS��  ISO-2022 ¿���첽
12�ȼ�ưȽ�̤������͸������ü�����Ȥ������ȤǤ��ƼϤ���������
13
14���� linux/unix �Ķ��Ǥ�������ѥ��뤷�ƻ�Ƥ��ʤ��Τǡ�����¾�δĶ�
15�Ǥϡ����ΤޤޤǤ�ư���ʤ��Ȼפ��ޤ���OS��¸����ʬ��¿���Ϥʤ��Ȼפ���
16�ǥإå����ե�������ѿ�������� Makefile ���ľ�������ư�����⤷���
17����
18
19�ʲ��ϼ���ѹ����γФ����Ǥ���
20----------------------------------------------------------------------
21ext01.patch
22
231. ʸ�������� UTF-8 �ؤ��б�
24
25���� jam-less (iso262) �ѥå��Ǥϡ����Ȥʤä� less-382 �� UTF-8 �μ���
26���Դ���������Ⱦü�ʰ����ˤʤäƤ��ꡢ�������ư���Ƥ��ޤ���Ǥ�������
27�� ext �ѥå��ˤ�����Ū�� UTF-8 �ؤ��б���Ԥ��ޤ�����
28
29  1.1 ����ʸ��������
30
31����ʸ�������ɤȤ��� "utf8" �� "utf8j"��Ȥ���褦�ˤ��ޤ�����"utf8"��
32��˥����ɤ�����Τ�����ʸ������Ϥ��ޤ�����"utf8j" �� JIS�ˤ���ʸ����
33�ߤ�ʸ�������� UTF-8�ǽ��Ϥ�������ʳ���ʸ����̤�����ʸ���Ȥ��ư�����
34�������ܸ�Υե���Ȥ������äƤ��ʤ����䡢�ɤ�ʤ�ʸ�����˥�������
35��ʸ���ˤ��ü��ɽ�����������ɤ��������˻��Ѥ��Ƥ���������
36
37������ˤ���̤����Υ�˥�����ʸ���� <U+XXXX> �η����ǽ��Ϥ���ޤ�����
38�η����ϴĶ��ѿ� LESSUTFBINFMT ���ѹ��Ǥ��ޤ�(�ǿ��� less-443 ��¿ʬ��
39�ߴ��ˤʤäƤ���Ϥ�)��
40
41  1.2 ����ʸ��������
42
43����ʸ�������ɤȤ��� "utf8" ���ɲä����ޤ�����ʸ�������ɤ� "japanese"
44����ꤷ�����μ�ưȽ��� UTF-8 ���ɲä��ޤ������㤨�дĶ��ѿ��ˤơ�
45
46    JLESSCHARSET="japanese-utf8"
47
48�Ȼ��ꤷ�����ˤϡ����ܸ�(SJIS, EUC-JP, UTF8, ISO-2022)��ʸ�������ɤ�
49��ưȽ�̤��ơ�UTF-8 �ǽ��Ϥ��ޤ�����ưȽ�̤� UTF-8 ͥ��ˤʤäƤ��ޤ���
50�����ɤ�Ƚ�Ǥ�ְ㤨����ϰʲ��� @ �� -Z�ˤ���ڤ괹�������Ѥ���������
51
52  1.3 ʸ���������ڤ괹��
53
54"@" �����ˤ��ʸ�������ɤ��ڤ괹���� UTF-8���б����Ƥ��ޤ����ޤ� -Z ��
55�ץ����ˤ��ͥ��ʸ�������ɤ��ڤ괹���ˤ� UTF-8 �б������ޤ�����
56
57  1.4 ����ʸ��������
58
59����ʸ�������ɤϺ��ޤǤ� jam-less(iso262) �ѥå������ѹ����Ƥ��餺����
60�ޤ��̤� ISO 2022 ������ʸ������ˤʤäƤ��ޤ����Ĥޤ� UTF-8������Ū��
61��ö JIS X 0208�ʤɤ��Ѵ������ݻ������Ϥκݤˤ⤦���� UTF-8 ���᤹�Ȥ�
62���褦�ʤ��Ȥ��äƤ��ޤ���JIS �� ISO 8859 ���Ѵ��Ǥ��ʤ��ä�ʸ���ˤ�
63���Ƥ� UTF8 �����Τޤ��������ݻ����Ƥ��ޤ���
64
65  1.5 ��˥����ɤ�ʸ��������
66
67�������ܸ��ü����ü�����ߥ�졼��(kterm�ʤ�)�Ǥϡ�94ʸ���� 96ʸ����
68ʸ�����åȤ�ASCII��ʸ����(������Ⱦ��)�� 94��94ʸ�������ɤϤ����ܤ���
69(����������)��ɽ�����뤳�Ȥ����ǥե����ȥ���������ɤˤʤäƤ��ޤ�����
70
71��˥����ɤ�ߴ����Τ���˸���ԥå��ˤ����ݤ�ʸ���������ꤵ��Ƥ��ޤ�
72������˥����ɤǤ�ʸ���Υ�˥ե���������Ƥ����ꡢ����ʸ�������ɤȤ�
73�Ѵ�ɽ�����ꤵ��Ƥ��餺OS�䥢�ץ�ˤ�äƥХ�Х���ä��ꤹ��Τǡ���
74�˥����ɤ��Ѵ������ʸ�������Ѥ��Ȥ������Ȥ�ȯ�����ޤ���
75
76���Υѥå��ϲ��Ȥθߴ�����Ż뤹�뤿�ᡢUTF8���餽��¾��ʸ�������ɤ�
77�Ѵ��������˹�碌��ʸ�����������ޤ����Ѵ���ͥ���̤��̹椫�� JIS
78�� 94��94ʸ��������Ѵ��Ǥ���ʸ�������Ѥǡ�ASCII ��ISO 8859 ���Ѵ��Ǥ�
79����ˤ�Ⱦ��ʸ���Ȥ��ư����ޤ���JIS�ˤ� ISO 8859�ˤ��Ѵ��Ǥ��ʤ�ʸ��
80�ξ��ˤϥ�˥����ɤ�ʸ��������Ѥ��ޤ���
81
82  1.6 ����¾�Υ�˥����ɤ��б�
83
84���Υѥå��ϥ�˥����ɤˤ�봰���ʹ�ݲ��б��ǤϤʤ��ơ������ޤ����ܸ�
85ʸ������� UTF-8�ˤ����沽�Τߤ��б�������Τȹͤ��Ƥ������������ܸ�
86�ʳ��� ISO 8859 ��ʸ���ˤ����б��Ǥ����餺��CJK �б��Ǥ��餢��ޤ���
87(����ڹ����Ѥ�ʸ������ˤ�̤�б�)��
88
89��˥����ɤˤ�������б����뤿��ˤϡ����(combining)�� ����ӥ�ʸ����
90�ɤα����麸�ؽ���(RtoL)�ʤɤ��ü�ʷ������б�����ɬ�פ�����ޤ�����
91���Υѥå��Ǥϡ������դ�������θ���Ƥ��ޤ���JIS X 0213 (��3���)��ʸ
92���Ȥ��Ѵ���ɬ�פʰ����ι���Τ��Ѵ������ü�������Ƥ��ޤ���
93
94���ꥸ�ʥ�� less �ο������С������Ǥϡ��⤦�������� UTF-8�ε�ǽ����
95�����ơ��ɤ�ɤ���ɤ���Ƥ���褦�ʤΤǡ���˥����ɤ��ܳ�Ū�˻Ȥ�����
96���ˤϡ���������Ƥߤ���ɤ����⤷��ޤ���
97
98----------------------------------------------------------------------
992. japanese83 ���Ϸ������ѹ�
100
101���Ϸ����� "japanese83" ����ꤷ�����ˡ�1983ǯ������ʸ�������ɤΤ�ͭ
102���ˤ���褦���ѹ����ޤ���������iso�ѥå��Ǥ�̾����ȿ���� JIS X 0213
103�ΰ��̤�ʸ�������Ѳ�ǽ�ȤʤäƤ��ޤ������ѹ��ˤ�����ܸ�Υ᡼��˻���
104�Ǥ���(ISO-2022-JP)ʸ���Τߤ����Ǥ���褦�ˤʤäƤ��ޤ���
105
106���� "japanese83" ����������ʸ�����åȤ� "japanesep1" �Ȥ���̾���ǻ�
107��Ǥ���褦�ˤ��Ƥ����ޤ������Ť�ü�����ߥ�졼���Υե���Ȥ����촹��
108�Ƴ�ĥ���Ƥ���褦�ʾ��ʤɤˤϤ�������Ѥ���������
109
110----------------------------------------------------------------------
1113. G1 �Υǥե���Ȥ��ѹ�
112
113���ޤ����Ϥ� iso8 (ISO-2022�� 8bit ����)����ꤷ�����ˤϡ��ǥե����
114�� 8 bit��ʬ(GR/G1)�ˤ� ISO-8859-1 �����ꤵ�줿 ctext �����Ǥ���������
115�������ס����������ޤ��ϴĶ��ѿ� JLESSPLANESET�ǻ��ꤵ��Ƥ��ʤ��¤�
116̤������ѹ����ޤ�����
117
118��碌�����Ϥ� japanese ����ꤷ�����μ�ưȽ��� iso8 ���ɲä��Ƥ���
119����
120
121----------------------------------------------------------------------
1224. ISO 8859 ʸ�������ɤ��ɲ�
123
124���ޤǤ� iso �ѥå��Ǥ� ISO_8859-1 ���� ISO_8859-9 �ޤǤ�ʸ�������ɤ�
125�б����Ƥ��ޤ�������ISO-8859-10,11,13,14,15,16 �ؤ��б����ɲä��ޤ�����
126
127----------------------------------------------------------------------
1285. JLESSCHARSET, LANG ����ʸ��/��ʸ��
129
130JLESSCHARSET �� LANG ��ʸ������Ӥ��������ʸ��/��ʸ����̵�뤹��褦
131�ˤ��ޤ�����
132
133----------------------------------------------------------------------
1346. ������ǽ�ν���
135
136ʣ��ʸ��������б���������ɽ���饤�֥�꤬�ʤ����ˤϡ�ASCII �ʳ���ʸ
137���������褦�Ȥ����ݤˤϡ���ưŪ������ɽ�������� OFF�ˤʤ�褦�ѹ���
138�ޤ�����
139
140�����κݤ� JIS X 0213��JIS X 0212 ��ʸ���ˤĤ��Ƥ��˥ե������оݤˤ�
141��褦�˳�ĥ���ޤ�����
142
143����¾�������θ������ΥХ��������ޤ�����
144
145----------------------------------------------------------------------
1467. xz �б�
147
148lesspipe ����Ѥ��ʤ����Ǥ� .xz �ե���������Ƥ��ǧ�Ǥ���褦�˵�ǽ
149�ɲä��Ƥ����ޤ�����
150
151----------------------------------------------------------------------
1528. ����¾�Х��ν���
153
154���ꥸ�ʥ�� less �κǿ���(less-443)����Х��ե��å��äݤ�������Хå�
155�ݡ��Ȥ��ޤ�����������ȥƥ��Ȥ��Ƥʤ��Τ��Ѥʤ��ȤˤʤäƤ��뤫�⤷��
156�ޤ���
157
158======================================================================
159ext02.patch
160
1611. CP932 �ؤ��б�
162
163�ʤ�Ȥ����� Shift_JISX0213�ʤ�Ƹ������Ȥʤ������� CP932(Windows_31J)
164����ʤ��Ρ� �Ȥ������Ϥ��餱���б�������ޤ�����UTF8 �б���Ʊ���ǡ���
165�ʤ����Ū�ʼ����ˤʤäƤ��ޤ���
166
167  1.1 ����ʸ�������ɻ���
168
169����ʸ�������ɤȤ��� "cp932" �����Ǥ���ˤ��ޤ�����
170
171  1.2 ����ʸ��������
172
173����ʸ�������ɤȤ��� "cp932"�� "japanesecp932" �����Ǥ���ˤ��ޤ�����
174japanesecp932 ����ꤹ������Ϥ� CP932, EUC-JISX0213, UTF8���鼫ưȽ��
175���ޤ���CP932 �� Shift_JISX0213 �ϴ�ñ�ˤϼ�ưȽ�̤Ǥ��ʤ��Τǡ����Ϥ�
176"japanese" ����ꤷ�����ˤ� Shift_JISX0213 �ǡ�"japanesecp932"�����
177����ꤷ�����ˤ� CP932 �Dz����ߤޤ���
178
1792. ��˥�����ʸ�������ѹ�
180
181�Ķ��ѿ� JLESSUTFWIDTH ����ꤹ�뤳�Ȥˤ�ꡢ��˥�����ʸ����ʸ������
182�ѹ��Ǥ���褦�ˤ��ޤ�����
183  normal  ��˥����ɵ��ʤ��̾�ʸ��������Ѥ��ޤ���
184  cjk     ��˥����ɵ��ʤ�CJKʸ��������Ѥ��ޤ���
185  ja      CJK �˲ä��� JIS X 0213 ��ʸ��������ʸ���Ȥߤʤ��ޤ���
186
187����ʸ�������ɤ� japanese�� japanesecp932 ����ꤷ�����ˤϡ����Ϥ�
188UTF-8 �ξ��Ǥ� ����Ū�� ISO2022�������ݻ����뤿�ᡢJIS�� 94x94 ����
189���Ѵ���ǽ��ʸ���Ͼ嵭������ˤ�����餺����ʸ���Ȥ��ư����ޤ���
190
191======================================================================
192ext03.patch
193
1941. �ߴ��ޥåԥ����ɲ�
195
196Emacs-23 ��JIS C 6226-1978(�������JIS)��ʸ���ˤĤ��� Unicode �ؤ���
197���˺ݤ��� JIS X 0208 �Ȥϰۤʤ�ޥåԥ�����Ѥ��Ƥ��뤿�ᡢ������
198���� JIS X 0213 ���б����ʤ�̤����ˤʤ�ʸ�����ߴ��ޥåԥ�����ޤ�
199��ʸ�����Ѵ�����褦�ˤ�����
200
2012. �Х��ν���
202
203̤����Υ�˥�����ʸ�����������������ֹ��ɽ������ʤ��ʤäƤ����Х���
204����������
205
206JIS X 0213 ���� UTF-8 ���Ѵ�����ݤΥХ�����������
207
208���Υե������ʸ�������ɤ� UTF-8 ���� EUC-JP ���ѹ�������
209
210----------------------------------------------------------------------
211�ʾ�
212

README.iso

1=========================================================================
2    This is the distribution of enhanced less.
3    It support ISO 2022 code extension techniques and Japanese codes.
4    Please report any problems of it to the author at jam@pobox.com.
5    See http://www.pobox.com/~jam/less/ for the latest info.
6=========================================================================
7
8
9**Features**
10
11 - Support ISO 2022 code extension techniques in 7bits and 8bits.
12 - Understand all following codes.
13   - ISO 2022 level 3.
14   - a special sequence, ESC 2/4[$] 2/12[,] FE, which is used in MULE.
15   - JIS C 6226-1978, JIS X 0208-1983, JIS X 0208:1990/1997, JIS X 0212:1990,
16     JIS X 0213:2000/2004, JIS X 0201:1976/1997 left/right planes, and ASCII.
17   - UJIS
18   - SJIS
19 - Output following codes.
20   - iso8 (CTEXT, which is defined in X11)
21   - iso7 with only GZDM4, GZD4, G1DM4, G1DM6, G1D4, G1D6, SI and SO
22     escape sequences.
23   - JIS C 6226-1978, JIS X 0208-1983, JIS X 0208:1990/1997, JIS X 0212:1990,
24     JIS X 0213:2000/2004, JIS X 0201:1976/1997 left/right planes, and ASCII.
25   - UJIS
26   - SJIS
27 - Automatic decompression of compressed files.
28
29**Problems**
30
31 - To search, the less program compares characters after conversion into
32   internal codes.  If converted codes contain some gaps, a regular expression
33   library may be confused.  e.g. "$B$"(Ba" which contains an escape
34   sequence and JIS X 0201 Japanese (Katakana).  Search this text using UJIS
35   Katakana pattern may cause problems.
36 - If you have a regular expression library with ability to detect
37   character set, you will be ok since such regular expression library
38   doesn't confuse among different character sets.
39 - If you don't have such library, you still can use less without regular
40   expression by simply typing '^R'.  This trigger simple search library
41   implemented in less that support multiple character sets.
42
43**Enhancements**
44
45 - The JLESSCHARSET environment variable choose codes for input and
46   output.  For example, if you set "japanese-iso7", the less read all
47   Japanese codes and iso7 and write iso7.  If you set "ujis", the
48   less read and write only UJIS.  Currently you can use followings.
49   - Same as LESSCHARSET: ascii, latin1, dos, koi8-r, next
50   - Others: iso7, iso8, ujis-iso7, euc-iso7, sjis-iso7, jis,
51	     ujis-jis, euc-jis, sjis-jis, ujis, euc, jis-ujis,
52	     jis-euc, sjis, jis-sjis, japanese, japanese-iso7,
53	     japanese-jis, japanese-ujis, japanese-euc, japanese-sjis
54 - Following values of JLESSCHARSET are treated for input and output
55   separately.  For example, if you set "ujis-sjis", the less read
56   only UJIS and write only SJIS.
57   - Values: ujis-sjis, euc-sjis, sjis-ujis, sjis-euc
58 - The JLESSPLANESET environment variable choose plane of iso8 and
59   iso7.  Please read a manual about details.
60 - The JLESSKEYCHARSET environment variable choose codes for input
61   from keyboard.  All values for the JLESSCHARSET environment
62   variable are used for this.
63 - Sometime the less may mistake automatic handling of Japanese codes.
64   The user change the status for it by '@' key.  The function name of
65   it is "rotate-right".
66 - If you have a regular expression library with character set
67   detection, invoke configure script with "--with-cs-regex" option to
68   use it.  Then compile the less.
69
70**History about Japanized and ISO 2022-ized less**
71
72 - About Japanization of less
73   - Kato-san posted a difference which give less an ability for
74     special escape sequence.
75   - Kameyama-san posted a patch for UJIS code.
76   - Shinoda-san posted a less.exe for SJIS code.
77   - Tachi-san posted two patches for JIS and SJIS code.
78   - Saito-san posted kanji conversion filter for less.
79   - Ohta-san posted other less which convert roma-ji into kana.
80   - Yamakita-san posted other patch for convert them into kanji.
81   - Yoshida-san posted two patches of less-73 for UJIS and SJIS code.
82   - Yoshida-san posted two patches of less-97 for UJIS and SJIS code.
83   - Kato-san posted a patch of less-97(UJIS) for JIS code.
84   - Ishii-san posted a patch of less-97(UJIS or SJIS) for JIS code.
85   - Tanaka-san posted a modified less-123 for SJIS code.
86   - Kawakami-san posted a patch of it for JIS code.
87   - I changed less-177 for all Japanese codes.
88   - Kusakabe-san changed less-178 by using patches for less-177.
89   - Senda-san add printing function of Japanese code for less-177.
90   - Sakai-san changed less-200 by using patches for less-178.
91   - I changed less-205 for all Japanese codes and ISO 2022 codes.
92   - Ushine-san changed less-321 by using patches for less-290.
93   - I changed less-330 by using patches for less-290.  It is named
94     iso202.
95   - I removed some bugs and made jless-330-iso203.
96   - I re-wrote jless and made jless-330-iso208.
97   - I released patches to correct bugs.
98
99 - About jless
100   - I put 2 unofficial patches of KANJI searching enhancements for
101     ISO 2022-ized less-237 on ftp.
102   - I put an unofficial patch to use gawk-2.15.6-mb1.04's KANJI
103     regular expression library for jless-330-iso210 on ftp.  It will
104     works with iso212 and following.
105   - I put a less.hlp file which is translated into Japanese.  It will
106     works with iso212 and following.
107
108 - Read version.c for more details.
109
110**FAQ**
111
112 Q: When I try to view a Japanese text, the less shows inverse
113    characters only.  How do I view Japanese?
114 A: You have to set JLESSCHARSET environment variable as "japanese".
115    Or, you have to set "ja_JP" to the LANG environment variable if your
116    computer support it.  Either way works similary.  Choose either way
117    depend on your style.
118
119 Q: When I try to view a Japanese text, the less shows strange
120    characters only like '$' and others.  How do I view Japanese?
121 A: Does your terminal or terminal emulator have ability to show
122    Japanese?  If so, I guess you have to adjust output of the less by
123    setting JLESSCHARSET environment variblae as "japanese-ujis" or
124    "japanese-sjis".
125
126 Q: When I try to view compressed text, the less doesn't work.  How do
127    I view them?
128 A: The less uses the name of a text file to check whether it is
129    compressed or not, and uses a "zcat" program to uncompress it.  So
130    the compressed file has to be finished with ".z", ".gz" or ".Z"
131    and a "zcat" program has to have ability to uncompress it.
132
133 Q: How to set JLESSCHARSET environment variable for all users?
134 A: You can use a DEFCHARSET declaration in "defines.h".  This value is
135    treated default values and compiled into less binary at compile time.
136    In addition, if your computer has a LANG property, you may need to set
137    HAVE_LOCALE to 0 in "defines.h" too.  Note: be carefule.  this file is
138    often automatically generated by "configure" program.  Don't forget to
139    edit this file each time you run "configure".
140
141 Q: Sometime my terminal shows non ASCII characters only although I type
142    "hello".
143 A: Some terminal emulators have bugs in handling the ISO 2022.  You
144    should tell the less to display only JIS by setting "japanese-jis"
145    to the JLESSCHARSET environment variable.  And, you also need to
146    restart/reset your terminal emulator.
147
148 Q: Sometime the less shows wrong Japanese characters when I try to
149    view SJIS coded files.
150 A: Less detect Japanese code automatically, but it is not perfect.
151    Please type '^L' to re-display it.  If it doesn't work fine,
152    try to type '@' to change Japanese code by hand.
153
154    On the other hand, if you use the less with a -Z option, the less
155    give priority to SJIS over UJIS in automatic handling routine.
156    And you can change the default value of priority and invert the
157    means of a -Z option by compiling with SJIS_PRE declaration.
158
159    Or if you know the file uses SJIS, you can simply type "less -Ksjis"
160    to diable the automatic handling routine.
161
162 Q: How do I use SJIS as typing string?
163 A: You should set "sjis-jis" to the JLESSKEYCHARSET environment
164    variable.  Or, you also be able to set "sjis-jis" to a DEFKEYCHARSET
165    declaration in "defines.h".
166
167 Q: Can I use regular expression with Japanese?
168 A: There are 2 ways.  You can use multi bytes regular expression
169    library.  Or you can use regular expression library with ability
170    to detect character sets.
171
172    Please read "http://www.poboxes.com/~jam/less/".
173
174 Q: When I looking up with Kanji, the less shows strange behavior.
175 A: The less turns on MSB of all bytes of all non ASCII characters to
176    decrease the possibility of mis-matching between an ASCII character
177    and an non ASCII characters.  But your regular expression library
178    might not support characters with MSB.  Please invoke configure
179    script with "--disable-msb" option to disable it.  Then compile
180    and install less again.
181
182 Q: How do I input search pattern by JIS?
183 A: Normally the less uses "\e$" sequence.  You should write following
184    in your "~/.lesskey" file and execute a "lesskey" program to
185    cancel it.
186
187#line-edit
188\e$	insert ^V\e$
189
190 Q: How do I use emacs-like key binding?
191 A: You should write following in your "~/.lesskey" file and execute a
192    "lesskey" program.
193
194#line-edit
195^A	home
196^E	end
197^P	up
198^N	down
199^F	right
200^B	left
201\ef	word-right
202^D	delete
203\ed	word-delete
204
205 Q: The os.c was not compiled on NEWS-OS 4.0C.
206 A: Add following before "#include <setjmp.h>".
207
208#define LANGUAGE_C   1
209
210**Conclusion**
211
212 - Please mail to "jam@pobox.com" if you have a problem or a suggestion.
213 - See http://www.pobox.com/~jam/less/ for the latest info.
214
215
216Local Variables:
217mode: indented-text
218fill-column: 70
219End:
220

README.iso.jp

1=========================================================================
2    This is the distribution of enhanced less.
3    It support ISO 2022 code extension techniques and Japanese codes.
4    Please report any problems of it to the author at jam@pobox.com.
5    See http://www.pobox.com/~jam/less/ for the latest info.
6=========================================================================
7    This file is written by Japanese and JIS code and contains
8    almost same information in README.iso.
9=========================================================================
10
11
12**$BFCD'(B**
13
14 - ISO 2022 in 7bits$B$H!"(Bin 8bits$B$r%5%]!<%H!#(B
15 - $BF~NO$H$7$F<h$j07$($kJ8;z%3!<%I$N<oN`$O0J2<$NDL$j!#(B
16   - ISO 2022$B$N<BAu%l%Y%k(B3$BAjEv!#(B
17   - MULE$B$GMxMQ$5$l$F$$$k(BESC 2/4[$] 2/12[,] FE$B$H$$$&FC<l$J3d(B
18     $BEv!#(B
19   - JIS C 6226-1978$B!"(BJIS X 0208-1983$B!"(BJIS X 0208:1990/1997$B!"(BJIS X 0212:1990$B!"(B
20     JIS X 0213:2000/2004$B!"(BJIS X 0201:1976/1997$B:8(B/$B1&LL!"$=$7$F(BASCII$B$,MxMQ(B
21     $B$G$-$^$9!#(B
22   - UJIS
23   - SJIS
24 - $B=PNO$H$7$FMxMQ$G$-$kJ8;z%3!<%I$N<oN`$O0J2<$NDL$j!#(B
25   - iso8 (X11$B$J$I$G8@$&=j$N(BCTEXT$B$KAjEv(B)$B!#(B
26   - G0$B!"(BG1$B$X$N8F$S=P$7%7!<%1%s%9$H(BSI, SO$B$@$1$r;H$C$?(Biso7$B!#(B
27   - JIS C 6226-1978$B!"(BJIS X 0208-1983$B!"(BJIS X 0208:1990/1997$B!"(BJIS X 0212:1990$B!"(B
28     JIS X 0213:2000/2004$B!"(BJIS X 0201:1976/1997$B:8(B/$B1&LL!"$=$7$F(BASCII$B$,MxMQ(B
29     $B$G$-$^$9!#(B
30   - UJIS
31   - SJIS
32 - compress$B$d(Bgzip$B$5$l$?%U%!%$%k$r4JC1$KD/$a$k$3$H$,$G$-$k!#(B
33
34**$BLdBjE@(B**
35
36 - $BJ8;z$N8!:w$O!"FbIt%3!<%I$KJQ49$7$?8e$K=hM}$7$^$9!#$=$NJQ(B
37   $B49$N:]$KJ8;z$HJ8;z$N4V$K7d4V$,@8$8$?>l9g!"@55,I=8=%i%$%V(B
38   $B%i%j$K$h$k8!:w$,$G$-$^$;$s!#6qBNE*$K$O!"(B"$B$"(Ba"$B$N$h$&$J%(%9(B
39   $B%1!<%W%7!<%1%s%9$r69$s$@J8;z$N8!:w$d!"H>3Q%+%?%+%J$,(BUJIS
40   $B$G=q$+$l$F$$$?>l9g$J$I$K!"8!:w$,$G$-$^$;$s!#(B
41 - character set$B$rM}2r$9$k@55,I=8=%i%$%V%i%j$rMxMQ$9$k$3$H$K(B
42   $B$h$C$F!"$3$NLdBj$O2r7h$G$-$^$9!#(B
43 - $B$^$?!"8!:w$N:]$K!"(B'^R'$B$HF~NO$7$F!"Hs@55,I=8=%b!<%I$G8!:w(B
44   $B$9$k$3$H$K$h$C$F$b!"$3$NLdBj$r2r7h$G$-$^$9!#(B
45
46**$B3HD%E@(B**
47
48 - JLESSCHARSET$B4D6-JQ?t$G!"F~NO$H=PNO$KMxMQ$9$k%3!<%I$rF1;~(B
49   $B$K!"$b$7$/$O$=$l$>$l;XDj$G$-$^$9!#F1;~$K;XDj$9$k>l9g$O!"(B
50   $BC1=c$K$=$N%3!<%I$r;XDj$7$^$9!#Nc$($P(B"ujis"$B$H$9$k$H!"(BUJIS
51   $B$@$1$rF~NO$H=PNO$KMxMQ$7$^$9!#JL!9$K;XDj$9$k>l9g$O!"F~NO(B
52   $B$KMxMQ$9$k%3!<%I$r(B"-"$B$G@\B3$7$F;XDj$7$^$9!#$3$N>l9g:G8e$K(B
53   $B;XDj$7$?%3!<%I$,=PNOMQ$N%3!<%I$K$J$j$^$9!#Nc$($P!"(B
54   "japanese-iso7"$B$H$9$k$H!"F|K\8l$N%3!<%I$9$Y$F$H(Biso7$B$rF~NO(B
55   $B$H$7$F<h$j07$$!"$=$l$r(Biso7$B$G=PNO$7$^$9!#8=:_0J2<$NCM$,Mx(B
56   $BMQ$G$-$^$9!#(B
57   - $B:G=i$+$i$"$C$?$b$N(B: ascii, latin1, dos, koi8-r, next
58   - $B3HD%$7$?$b$N(B: iso7, iso8, ujis-iso7, euc-iso7,
59		   sjis-iso7, jis, ujis-jis, euc-jis,
60		   sjis-jis, ujis, euc, jis-ujis, jis-euc,
61		   sjis, jis-sjis, japanese, japanese-iso7,
62		   japanese-jis, japanese-ujis,
63		   japanese-euc, japanese-sjis
64 - $BFC<l$J;XDj$H$7$F!"$"$k%3!<%I$rF~NO$7!"$"$k%3!<%I$G=P$9$H(B
65   $B$$$&;XDj$b$"$j$^$9!#Nc$($P!"(B"ujis-sjis"$B$H$9$k$H!"(BUJIS$B$@$1(B
66   $B$rF~NO$H$7$F07$$!"$=$l$r(BSJIS$B$KJQ49$7$F=PNO$7$^$9!#(B
67   - $BFC<l$J$b$N(B: ujis-sjis, euc-sjis, sjis-ujis, sjis-euc
68 - JLESSPLANESET$B4D6-JQ?t$G!"(Biso8$B$d(Biso7$B$N%G%#%U%)%k%H$N(Bplane
69   set$B$r7h$a$k$3$H$,$G$-$^$9!#$3$l$K$h$C$F!":G=i$+$i(BG1$B$K(BISO
70   8859-1$B$r8F$S=P$7$F$*$/$H$$$C$?A`:n$,2DG=$G$9!#>\$7$/$O%^(B
71   $B%K%e%"%k$rFI$s$G2<$5$$!#(B
72 - JLESSKEYCHARSET$B4D6-JQ?t$G!"%-!<%\!<%I$+$i$NF~NO$KMxMQ$9$k(B
73   $B%3!<%I$r;XDj$G$-$^$9!#(BJLESSCHARSET$B$HF1$8CM$,MxMQ$G$-$^$9!#(B
74 - $B<+F0H=JL$@$1$G$OET9g$,0-$$$3$H$b$"$k$?$a!":G>e0L%S%C%H$,(B
75   $BN)$C$?%3!<%I$NH=JLJ}K!$r=g!9$KJQ99$9$k$?$a$N%-!<$rMQ0U$7(B
76   $B$F$$$^$9!#(B'@'$B%-!<!"5!G=L>$O(B"rotate-right"$B$G$9!#(B
77 - $B%-%c%i%/%?%;%C%H$r2r<a$9$k@55,I=8=%i%$%V%i%j$rMxMQ$9$k$K(B
78   $B$O!"(B"--with-cs-regex"$B$H$$$&%*%W%7%g%s$H6&$K!"(Bconfigure$B%9(B
79   $B%/%j%W%H$r<B9T$7$F%3%s%Q%$%k$7$F2<$5$$!#(B
80
81**less$B$NF|K\8l2=$d4XO"$7$?%Q%C%A$NNr;K(B**
82
83 - less$B$NF|K\8l2=$K4X$7$F(B
84   - $B2CF#$5$s$,!"%(%9%1!<%W%7!<%1%s%9$rDL$9$h$&$K$9$kJQ99E@(B
85     $B$rEj9F$5$l$?!#(B
86   - Kameyama$B$5$s$,!"(BUJIS$B$rDL$9$h$&$K$9$k%Q%C%A$rEj9F$5$l$?!#(B
87   - Shinoda$B$5$s$,!"(BSJIS$B$rDL$9(Bless.exe$B$rEj9F$5$l$?!#(B
88   - $B4\$5$s$,!"(Bless-48$B$r(BJIS$B2=!"(BSJIS$B2=$7$FEj9F$5$l$?!#(B
89   - $B@FF#$5$s$,!"(Bless$B$NF~NOIt$K4A;z%3!<%IJQ49%U%#%k%?$rIU$1(B
90     $B$k$?$a$N%W%m%0%i%`$rEj9F$5$l$?!#(B
91   - $BB@ED$5$s$,!"%m!<%^;z$+$i2>L>$KJQ49$b9T$&$h$&$KJQ99$7$?(B
92     $B$b$N$rEj9F$5$l$?!#(B
93   - $B;3KL$5$s$,!"99$K(BWnn$B$KDL$7$F<+F04A;zJQ49$9$k$?$a$N%Q%C%A(B
94     $B$rEj9F$5$l$?!#(B
95   - $B5HED$5$s$,!"(Bless-73$B$r(BUJIS$B!"(BSJIS$B2=$7$?$b$N$rEj9F$5$l$?!#(B
96   - $B5HED$5$s$,!"(Bless-97$B$r(BUJIS$B!"(BSJIS$B2=$7$?$b$N$rEj9F$5$l$?!#(B
97   - $B2CF#$5$s$,!"(Bless-97$B$N(BUJIS$B2=HG$r!"99$K(BJIS$B2=$9$k%Q%C%A$rEj(B
98     $B9F$5$l$?!#(B
99   - $B@P0f$5$s$,!"2CF#$5$s$N%Q%C%A$r;29M$K!"$I$C$A$NHG$G$b!"(B
100     JIS$B$H$rDL$9$h$&$K$9$k%Q%C%A$rEj9F$5$l$?!#(B
101   - $BEDCf$5$s$,!"(Bless-123$B$r(BSJIS$B2=$7$FEj9F$5$l$?!#(B
102   - $B@n>e$5$s$,!"99$K(BJIS$B2=$9$k%Q%C%A$rEj9F$5$l$?!#(B
103   - $B4]@n$,!"(Bless-171$B$rF|K\8l2=$7$FEj9F$7$?!#(B
104   - $B4]@n$,!"(Bless-177$B$rF|K\8l2=$7$FEj9F$7$?!#(B
105   - $BF|2<It$5$s$,!"4]@n$N(Bless-177$B$X$N%Q%C%A$r!"(Bless-178$B$KBP(B
106     $B1~$5$;$FEj9F$5$l$?!#(B
107   - $B@gED$5$s$,!"(Bless-177$B$K4A;z%3!<%II=<(5!G=$rDI2C$5$l$?!#(B
108   - $B<r0f$5$s$,!"F|2<It$5$s$,Ej9F$5$l$?%Q%C%A$r!"(Bless-200$B$K(B
109     $BBP1~$5$;$FEj9F$5$l$?!#(B
110   - $B4]@n$,!"(Bless-205$B$N(BISO 2022$B2=%Q%C%A$rEj9F$7$?!#(B
111   - $B4]@n$,!"(Bless-237$B$N(BISO 2022$B2=%Q%C%A$rEj9F$7$?!#(B
112   - $B4]@n$,!"(Bless-290$B$N(BISO 2022$B2=%Q%C%A$rEj9F$7$?!#(B
113   - $B5m:,$5$s$,!"4]@n$N(Bless-290$B$X$N%Q%C%A$r!"(Bless-321$B$KBP1~(B
114     $B$5$;$FEj9F$5$l$?!#(B
115   - $B4]@n$,!"(Bless-330$B$N(BISO 2022$B2=%Q%C%A$rEj9F$7$?!#(B
116     $B$3$N;~E@$+$i!"(Bjless-330-iso202$B$H$$$&L>A0$rIU$1$?!#(B
117   - $B%P%0$r<h$C$F(Bjless-330-iso203$B$H$7$FEj9F$7$?!#(B
118   - $BBgI}$K=q$-D>$7$F(Bjless-330-iso208$B$H$7$FEj9F$7$?!#(B
119   - $B?'!9$H%P%0$r<h$C$FEj9F!"8x3+$7$?!#(B
120
121 - jless$B$K4X$7$F(B
122   - less-237$B$r(BISO 2022$B2=$7$?$b$N$KBP$9$k4A;z8!:w%Q%C%A(B2$B<o$r(B
123     $B8x3+$7$?!#(B
124   - jless-330-iso210$B$G(Bgawk-2.15.6-mb1.04$B$N4A;z@55,I=8=%i%$(B
125     $B%V%i%j$rMxMQ$9$k$?$a$N%Q%C%A$r8x3+$7$?!#(Biso212$B0J9_$G$b(B
126     $BMxMQ2DG=!#(B
127   - jless-330-iso212$B$N(Bless.hlp$B$rF|K\8l2=$7$?$b$N$r8x3+$7$?!#(B
128     iso212$B0J9_$G$bMxMQ2DG=!#(B
129
130**FAQ**
131
132 Q: $BF|K\8l$,I=<($5$l$^$;$s!#2hLL>e$O!"H?E>I=<($5$l$?J8;z$G0l(B
133    $BGU$G$9!#(B
134 A: JLESSCHARSET$B4D6-JQ?t$K(B"japanese"$B$H@_Dj$7$^$7$g$&!#(BLANG$B4D(B
135    $B6-JQ?t$K(B"ja_JP"$B$J$I@_Dj$9$k$H$$$&J}K!$b$"$j$^$9!#9%$-$J(B
136    $BJ}K!$rA*$s$G2<$5$$!#(B
137
138 Q: $BF|K\8l$,I=<($5$l$^$;$s!#2hLL>e$O!"$J$s$+5-9f$G0lGU$G$9!#(B
139 A: less$B$,=PNO$7$F$$$k4A;z$rC<Kv$G<h$j07$($F$$$J$$$h$&$G$9!#(B
140    JLESSCHARSET$B4D6-JQ?t$K(B"japanese-ujis"$B$d(B"japanese-sjis"$B$J(B
141    $B$I!"MxMQ$7$F$kC<Kv$GI=<($G$-$k4A;z%3!<%I$r;XDj$7$F2<$5$$!#(B
142
143 Q: $B05=L$5$l$?%U%!%$%k$rFI$`$3$H$,$G$-$^$;$s!#(B
144 A: $B05=L$5$l$?%U%!%$%k$O(B".z"$B$d(B".gz"$B!"(B".Z"$B$H$$$C$?3HD%;R$K$h$C(B
145    $B$F6hJL$5$l$F$^$9!#$^$?!"$=$N%U%!%$%k$r?-D9$9$k$K$O!"C1$K(B
146    "zcat"$B$r<B9T$7$F$$$^$9!#(BGNU$B$N(Bgzip$B$r(Bzcat$B$H$$$&L>A0$G%$%s(B
147    $B%9%H!<%k$7$F$*$/$3$H$r$*A&$a$7$^$9!#$^$?!"(Bless$B$N%^%K%e%"(B
148    $B%k$K=q$+$l$F$$$k$h$&$K!"(BLESSOPEN$B$H(BLESSCLOSE$B$r@_Dj$9$k$3(B
149    $B$H$K$h$C$F!"B>$N05=L%D!<%k$rMxMQ$9$k$3$H$b$G$-$^$9!#(B
150
151 Q: $BAG?M$N?M$G$b!"4A;z$,I=<($G$-$k$h$&$K!"%G%#%U%)%k%H$N@_Dj(B
152    $B$r$7$F%$%s%9%H!<%k$7$?$$$N$G$9$,!#(B
153 A: less$B$O!"(BJLESSCHARSET$B$J$I$N4D6-JQ?t$,@_Dj$5$l$F$$$J$$>l9g(B
154    $B$K$O!"(Bdefines.h$BCf$N(BDEFCHARSET$B%^%/%m$NJ8;zNs$rMxMQ$9$k$h(B
155    $B$&$K$J$C$F$$$^$9!#:G=i$K(Bconfigure$B$r<B9T$7$?8e!"$3$N%U%!(B
156    $B%$%kCf$N(BDEFCHARSET$B%^%/%m$K(B"japanese"$B$J$I$NJ8;zNs$r@_Dj$7!"(B
157    $B<!$K(BHAVE_LOCALE$B%^%/%m$r(B0$B$K$7$F!"%3%s%Q%$%k$7$F2<$5$$!#(B
158
159 Q: $B$"$k%U%!%$%k$rFI$`$H!"2hLL$KI=<($5$l$kJ8;z$,2u$l$F$7$^$$!"(B
160    $B85$KLa$j$^$;$s!#(B
161 A: $BC<Kv$K$h$C$F$O!"Nc$($P8E$$(Bkterm$B$J$I$G$O!"(BISO 2022$B$r$A$c(B
162    $B$s$H%5%]!<%H$7$F$$$^$;$s!#$=$&$$$C$?C<Kv$rMxMQ$7$F$$$k>l(B
163    $B9g$O!"(BJLESSCHARSET$B4D6-JQ?t$K!"(B"japanese-jis"$B$J$I$H!"(BJIS
164    $B$@$1$rMxMQ$9$k$3$H$rL@3N$K@_Dj$7$F;H$C$F2<$5$$!#(B
165
166 Q: SJIS$B$N%U%!%$%k$rFI$`$H!"$?$^$KJQ$JJ8;z$,I=<($5$l$^$9!#(B
167 A: $B4A;z$N<+F0H=JL$O40`z$G$O$"$j$^$;$s!#$=$N$?$a!"B?>/LdBj$,(B
168    $BH/@8$7$^$9!#(B'^L'$B$HF~NO$7!"2hLL$r:FIA2h$9$k$HD>$k>l9g$,B?(B
169    $B$$$G$9!#$=$l$G$bBLL\$J$i!"(B'@'$B%-!<$r?t2s2!$7$F!"2hLL2<$K(B
170    "sjis codeset..."$B$HI=<($5$;$F2<$5$$!#<+F0H=JL$r6X;_$G$-(B
171    $B$^$9!#85$N>uBV$KLa$9$K$O!"$3$N%-!<$r7+$jJV$72!$7$F2<$5$$!#(B
172
173    $B0lJ}!"0z?t$K(B-Z$B$H;XDj$9$k$3$H$G!"(BSJIS$B$rM%@h$7$F<+F0H=JL$r(B
174    $B9T$&$3$H$b$G$-$^$9!#%3%s%Q%$%k;~$K(BSJIS_PRE$B$rDj5A$9$l$P!"(B
175    $B:G=i$+$i(BSJIS$B$rM%@h$7!"(B-Z$B$G:#EY$O5U$K(BUJIS$B$rM%@h$9$k$H$$$C(B
176    $B$?!"5U$NF0:n$r$9$k$h$&$K$b$G$-$^$9!#(B
177
178    $B$^$?!"(BJLESSCHARSET$B4D6-JQ?t$r(B"sjis"$B$K$9$k$3$H$G!":G=i$+$i(B
179    $B<+F0H=JL$r6X;_$9$k$3$H$b$G$-$^$9!#(B
180
181 Q: SJIS$B$G8!:w$9$kF|K\8l$rF~$l$k$HJQ$K$J$j$^$9!#(B
182 A: JLESSKEYCHARSET$B4D6-JQ?t$K(B"sjis-jis"$B$H@_Dj$7$^$7$g$&!#$^(B
183    $B$?%3%s%Q%$%k$9$k:]$K!"(Bdefines.h$BCf$G!"(BDEFKEYCHARSET$B$KDj5A(B
184    $B$7$F$$$kJ8;zNs$r!"(B"sjis-jis"$B$KJQ49$9$k$H$$$&<j$b$"$j$^$9!#(B
185
186 Q: $BF|K\8l$K$h$k@55,I=8=8!:w$r$7$?$$$N$G$9$,!#(B
187 A: gawk$B$KImB0$7$F$$$k(BGNU$B$N@55,I=8=%i%$%V%i%j$r%^%k%A%P%$%H(B
188    $BBP1~$7$?$b$N$rMxMQ$9$kJ}K!$H!"(Bgawk$B$KImB0$7$F$$$k(BGNU$B$N@5(B
189    $B5,I=8=%i%$%V%i%j$r%^%k%A%P%$%HBP1~$7$?$b$N$r99$K(B
190    character set$BBP1~$5$;$?$b$N$rMxMQ$9$kJ}K!$,$"$j$^$9!#(B
191
192    $B>\$7$/$O!"(Bhttp://www.pobox.com/~jam/less/$B$r;2>H$7$F2<$5(B
193    $B$$!#(B
194
195 Q: $B4A;z$N8!:w$r$9$k$H$H$s$G$b$J$$F0:n$r$9$k$s$G$9$,!#(B
196 A: character set$B$rM}2r$7$J$$@55,I=8=%i%$%V%i%j$rMxMQ$7$?>l(B
197    $B9g!"(BASCII$B$HHs(BASCII$B$H$GF1$8CM$r;H$C$?J8;z$K$D$$$F!"4V0c$C(B
198    $B$F8!:w$K@.8y$7$F$7$^$&>l9g$,$"$j$^$9!#6qBNE*$K$O!"(BJIS
199    X 0201 Japanese (Katakana)$B$N(B"$B%+(B"$B$H(B"6"$B$J$I$,F1$8CM$K$J$j$^(B
200    $B$9!#$3$&$$$C$?8m$C$?8!:w$N2DG=@-$r>/$7$G$b8:$i$9$?$a!"(B
201    less$B$OJ8;z$,Hs(BASCII$B$G$"$C$?>l9g$9$Y$F$N%P%$%H$N(BMSB$B$rN)$F(B
202    $B$^$9!#$?$@$7!"%i%$%V%i%j$K$h$C$F$O!"(BMSB$B$,N)$C$?J8;z$r<h(B
203    $B$j07$($J$$$+$b$7$l$^$;$s!#$=$&$$$C$?>l9g!"$D$^$j$I$&$b8!(B
204    $B:w$,@5$7$/9T$($J$$>l9g$K$O!"(B"--disable-msb"$B$H$$$&%*%W%7%g(B
205    $B%s$H6&$K!"(Bconfigure$B%9%/%j%W%H$r<B9T$7$F%3%s%Q%$%k$7$F2<(B
206    $B$5$$!#(B
207
208 Q: $B8!:w$N;~$K4A;z$r(BJIS$B$GF~NO$7$h$&$H;W$&$N$G$9$,!">e<j$/$G(B
209    $B$-$^$;$s!#(B
210 A: $B%G%#%U%)%k%H$N@_Dj$G$O!"(B\e$$B$H$$$&%-!<F~NO$,MxMQ$5$l$F$$(B
211    $B$^$9!#(B"~/.lesskey"$B%U%!%$%k$K0J2<$r=q$-!"(Blesskey$B$r<B9T$7(B
212    $B$F$*$/$3$H$K$h$j!"(BJIS$B$GF~NO$G$-$k$h$&$K$J$j$^$9!#(B
213
214#line-edit
215\e$	insert ^V\e$
216
217 Q: $B:G2<9T$G$NJT=8$r(Bemacs-like$B$K$d$j$?$$$G$9!#(B
218 A: "~/.lesskey"$B%U%!%$%k$K0J2<$r=q$-!"(Blesskey$B$r<B9T$7$F2<$5(B
219    $B$$!#(B
220
221#line-edit
222^A	home
223^E	end
224^P	up
225^N	down
226^F	right
227^B	left
228\ef	word-right
229^D	delete
230\ed	word-delete
231
232 Q: NEWS-OS 4.0C$B$G$O!"(Bos.c$B$,%3%s%Q%$%k$G$-$^$;$s!#(B
233 A: "#include <setjmp.h>"$B$NA0$K!"0J2<$NDj5A$rF~$l$F2<$5$$!#(B
234
235#define LANGUAGE_C   1
236
237**$B:G8e$K(B**
238
239 - $BLdBj$d2~A1MW5a$,$"$l$P(Bjam@pobox.com$B$K%a%$%k$7$F2<$5$$!#(B
240   $BBP=h$G$-$k$+$b$7$l$^$;$s!#$^$?!"2~A1MW5a$K$D$$$F$O!"B??t(B
241   $B=8$^$l$P!"BP=h$9$k2DG=@-$b9b$/$J$j$^$9!#(B
242 - http://www.pobox.com/~jam/less/$B$K:G?7$N>pJs$r=8$a$F$$$^$9!#(B
243
244
245Local Variables:
246mode: indented-text
247fill-column: 60
248End:
249

README.regex

1=========================================================================
2    This is the distribution of a regex_cs library for a enhanced less.
3    It support a regular expression with character set detection.
4    Please report any problems of it to me, jam@pobox.com, or the author
5    at HFH03650@niftyserve.or.jp.
6=========================================================================
7
8
9**Features**
10
11 - Support a regular expression with character set detection.
12
13**How to use**
14
15 1. Extract this at directory which contains less-332-iso233 and
16    following.
17 2. Do "./configure --with-cs-regex" to copmile less with this, a
18    regular expression library with character set detection.
19 3. Compile less.
20
21**History about this regular expression library**
22
23 - It is a GNU regex library version 0.12 originally.
24 - Tanimoto-san changed gawk-2.15.6 and its regex library to support
25   multi bytes Japanese codes.  You can take a patch named
26   "gawk-2.15.6-mb1.04.diff.gz" from anonymous ftp.
27 - Atsumi-san changed its regex library to support character sets and
28   made other changes for less-332-iso241.  You can take a patch for
29   less named "lw332i241p9k.patch.gz" from anonymous ftp.
30 - I picked only regex_cs.h, regex_cs.c and other files from it for
31   easy using of a regular expression library with character set
32   detection only.
33
34
35Local Variables:
36mode: indented-text
37fill-column: 70
38End:
39

README.regex.jp

1=========================================================================
2    This is the distribution of a regex_cs library for a enhanced less.
3    It support a regular expression of multi bytes character.
4    Please report any problems of it to me, jam@pobox.com, or the author
5    at HFH03650@niftyserve.or.jp.
6=========================================================================
7
8
9**$BFCD'(B**
10
11 - $B%-%c%i%/%?%;%C%H$rG'<1$9$k@55,I=8=%i%$%V%i%j!#(B
12
13**$BMxMQJ}K!(B**
14
15 1. less-332-iso233$B$+!"$=$l0J9_$N(Bless$B$,E83+$5$l$F$$$k%G%#%l%/%H%j$G!"(B
16    $B$3$N%U%!%$%k$rE83+$7$^$9!#(B
17 2. "./configure --with-cs-regex"$B$H$7$F!"(Bless$B$K?7$7$$@55,I=8=%i%$%V%i(B
18    $B%j$rG'<1$5$;$^$9!#(B
19 3. less$B$r%3%s%Q%$%k$7$^$9!#(B
20
21**$B$3$N@55,I=8=%i%$%V%i%j$K4X$9$kNr;K(B**
22
23 - $B85!9$N%3!<%I$O(BGNU$B$N@55,I=8=%i%$%V%i%j!"%P!<%8%g%s(B0.12$B$+$iMh$F$$$^$9!#(B
24 - $BC+K\$5$s$,!"(Bgawk-2.15.6$B$H!"$=$NCf$KF~$C$F$?@55,I=8=%i%$%V%i%j$r!"J#(B
25   $B?t%P%$%H$NF|K\8l%3!<%I$KBP1~$5$;$^$7$?!#$=$N%Q%C%A$O!"(B
26   "gawk-2.15.6-mb1.04.diff.gz"$B$H$$$&L>A0$G!"(Bftp$B%5!<%P$+$i=&$C$F$3$l$^(B
27   $B$9!#(B
28 - $B0/H~$5$s$,!"$=$N@55,I=8=%i%$%V%i%j$r%-%c%i%/%?%;%C%H$rG'<1$9$k$h$&(B
29   $BJQ99$7$^$7$?!#$=$7$F(Bless-332-iso241$B$X$N%Q%C%A$H6&$K8x3+$7$^$7$?!#$3(B
30   $B$N%Q%C%A$O!"(B"lw332i241p9k.patch.gz"$B$H$$$&L>A0$G!"=&$C$F$3$l$^$9!#(B
31 - $B4]@n$,!"4JC1$K?7$7$$@55,I=8=%i%$%V%i%j$,;H$($k$h$&$K!"$=$N%Q%C%A$N(B
32   $BCf$+$iI,MW$J$b$N$@$1H4$-=P$7$?$N$,!"$3$N%U%!%$%k$G$9!#(B
33
34
35Local Variables:
36mode: indented-text
37fill-column: 70
38End:
39