head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.20 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.18 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.16 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.14 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.12 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.10 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.8 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.6 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.4 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.2 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.1.1.1.0.2 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.1.1.0.4 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.1.1.0.6 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.1.1.0.8 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.1.1.0.10 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.1.1.0.12 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.1.1.0.14 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.1.1.0.16 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.1.1.0.18 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.1.1.0.20 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.1.1.0.22 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.1.1.0.24 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.1.1.0.26 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.1.1.0.28 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.1.1.0.30 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.1.1.0.32 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.1.1.0.34 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.1.1.0.38 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.1.1.0.40 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.1.1.0.42 pkgviews-base:1.1 buildlink2-base:1.1.1.1 buildlink2:1.1.1.1.0.36 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2008.02.04.14.34.10; author obache; state dead; branches; next 1.1; 1.1 date 2002.05.31.13.00.24; author seb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.05.31.13.00.24; author seb; state Exp; branches 1.1.1.1.36.1; next ; 1.1.1.1.36.1 date 2002.05.31.13.00.24; author jlam; state dead; branches; next 1.1.1.1.36.2; 1.1.1.1.36.2 date 2002.06.23.18.53.08; author jlam; state Exp; branches; next ; desc @@ 1.2 log @Update ja-less to 382.262 aka less-382-iso262. 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. @ text @$NetBSD: patch-ac,v 1.1 2002/05/31 13:00:24 seb Exp $ --- configure.orig Sun Jul 29 14:07:49 2001 +++ configure @@@@ -973,47 +973,6 @@@@ have_xcurses=no fi -echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6 -echo "configure:978: checking for initscr in -lncurses" >&5 -ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lncurses $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - have_ncurses=yes -else - echo "$ac_t""no" 1>&6 -have_ncurses=no -fi - echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 echo "configure:1019: checking for initscr in -lcurses" >&5 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` @@@@ -1298,34 +1257,6 @@@@ LIBS="$LIBS $TERMLIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - termok=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - termok=no -fi -rm -f conftest* - LIBS=$SAVE_LIBS - if test $termok = no; then TERMLIBS=""; fi - fi -fi - -if test "x$TERMLIBS" = x; then - if test $have_ncurses = yes; then - TERMLIBS="-lncurses" - SAVE_LIBS=$LIBS - LIBS="$LIBS $TERMLIBS" - cat > conftest.$ac_ext <&6 -echo "configure:978: checking for initscr in -lncurses" >&5 -ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lncurses $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - have_ncurses=yes -else - echo "$ac_t""no" 1>&6 -have_ncurses=no -fi - echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 echo "configure:1019: checking for initscr in -lcurses" >&5 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` @@@@ -1298,34 +1257,6 @@@@ LIBS="$LIBS $TERMLIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - termok=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - termok=no -fi -rm -f conftest* - LIBS=$SAVE_LIBS - if test $termok = no; then TERMLIBS=""; fi - fi -fi - -if test "x$TERMLIBS" = x; then - if test $have_ncurses = yes; then - TERMLIBS="-lncurses" - SAVE_LIBS=$LIBS - LIBS="$LIBS $TERMLIBS" - cat > conftest.$ac_ext <