from http://bogytech.blogspot.jp/2011/07/kterm-jless-screen.html .
This update is based on isaki@'s work.
* Set PATCH_SITES as my non-NetBSD web space.
Changelog:
* Add UTF-8 support (Japanese part only)
* Change japanese83 behavior
* Change G1 default
* Add ISO-8859-10,11,13,14,15 support
* Ignore case in JLESSCHARSET and LANG variables
* Fix bugs in search
* Add .xz support (not enabled on pkgsrc)
* Some packport from less-443
Pkgsrc changes:
Change pkg revision to include iso patch revision.
iso255 8/30/05
Joined with less-378.
iso256 8/30/05
Joined with less-381.
iso257 9/4/05
Fixed problems caused by merge.
Changed buffering mechanism to track exact POSITION through code set
conversion. This helped hiliting routine and improved less running
speed.
Changed to parse text from the beginning of physical line when less
jumps into the middle of text. This fixed major problems on stateful
text like ISO-2022.
Fixed JIS X 0213:2000 related problems. Thanks to Takeshi WATANABE.
Also, fixed a problem reported by him. Less will not split one wrong
multi-byte character into different lines even if it is not fit in first
line. Less moves entire text to second line.
iso258 9/4/05
Joined with less-382.
iso259 9/6/05
Changed an algorithm to detect the gap of parsing input stream. This
fixed a problem on long JIS/English text.
Fixed '\r' problem.
iso260 9/19/05
Changed the algorithm handling input and output character sets. Now
jless use two variables, one represents supporting character sets for
input stream, and the other represents encoding scheme for output
stream.
Changed to support JISX0213:2004.
iso261 2/24/06
Changed put_wrongmark function to make it work with new iso260 buffering
semantics. And applied a patch provied by Takuji. Thanks to Takuji.
iso262 2/24/06
Removed POSITION variable from member variables of M_BUFDATA. It was
added to make multi-byte character buffering function work better with
less. However, it degraded abstraction level of data structure
(multi.h). This time, add POSITION* as an additional argument of few
functions and keep data structure as simple as possible.
This modification make regex_cs-lwp9k be able to compile.
----------------------------------------------------------------------
Module Name: src
Committed By: elad
Date: Sat Sep 23 12:51:18 UTC 2006
Modified Files:
src/usr.bin/less/less: command.c tags.c
Log Message:
PR 21741: Christian Biere: Buffer overrun and wrong usage of islower() in
less 381
Over three years ago the less maintainer said he'll add these fixes.
Nothing happened, so we do it ourselves.
Thanks for the report and the patch!
----------------------------------------------------------------------
Bump PKGREVISION.