Hello community,
here is the log from the commit of package less for openSUSE:Factory
checked in at Sat Jul 11 03:27:32 CEST 2009.
--------
--- less/less.changes 2009-06-03 15:54:17.000000000 +0200
+++ /mounts/work_src_done/STABLE/less/less.changes 2009-07-10 10:32:05.000000000 +0200
@@ -1,0 +2,15 @@
+Fri Jul 10 10:24:54 CEST 2009 - puzel@novell.com
+
+- update to less-436beta
+ * Fixes a few search and filter bugs.
+
+-------------------------------------------------------------------
+Tue Jul 7 16:01:30 CEST 2009 - puzel@novell.com
+
+- update to less-434beta
+ * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
+ * Allow a fraction as the argument to the -# (--shift) option.
+ * Fix highlight bug when underlined/overstruck text matches at end of line.
+ * Fix non-regex searches with ctrl-R.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
less-429.tar.bz2
New:
----
less-436.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ less.spec ++++++
--- /var/tmp/diff_new_pack.fNrSsi/_old 2009-07-11 03:26:49.000000000 +0200
+++ /var/tmp/diff_new_pack.fNrSsi/_new 2009-07-11 03:26:50.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package less (Version 429)
+# spec file for package less (Version 435.9)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,6 +17,7 @@
# norootforbuild
+%define tar_version 436
Name: less
BuildRequires: ncurses-devel
@@ -26,24 +27,24 @@
Provides: normal-less jless
Requires: file
AutoReqProv: on
-Version: 429
+Version: 435.9
Release: 1
Summary: Text File Browser and Pager Similar to more
Url: http://www.greenwoodsoftware.com/less/
-Source: %{name}-%{version}.tar.bz2
+Source: %{name}-%{tar_version}.tar.bz2
Source1: README.SuSE
Source2: lessopen.sh
Source3: lessclose.sh
Source4: lesskey.src
-Patch2: %{name}-%{version}-lessecho-man.patch
-Patch3: %{name}-%{version}-speed.patch
-Patch22: %{name}-%{version}-strict_aliasing.patch
-Patch23: %{name}-%{version}-mouse.patch
-Patch24: %{name}-%{version}-terminate.patch
-Patch25: %{name}-%{version}-widechars.patch
-Patch26: %{name}-%{version}-shell.patch
-Patch27: %{name}-%{version}-save_line_position.patch
-Patch28: %{name}-%{version}-more.patch
+Patch2: %{name}-429-lessecho-man.patch
+Patch3: %{name}-429-speed.patch
+Patch22: %{name}-429-strict_aliasing.patch
+Patch23: %{name}-429-mouse.patch
+Patch24: %{name}-429-terminate.patch
+Patch25: %{name}-429-widechars.patch
+Patch26: %{name}-429-shell.patch
+Patch27: %{name}-429-save_line_position.patch
+Patch28: %{name}-429-more.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -59,7 +60,7 @@
Mark Nudelman
%prep
-%setup -q
+%setup -q -n %{name}-%{tar_version}
%patch2
%patch3
%patch22
@@ -110,343 +111,3 @@
%{_bindir}/*
%changelog
-* Wed Jun 03 2009 puzel@suse.cz
-- update to less-429
- * LESSOPEN pipe will now be used on standard input, if the LESSOPEN
- environment variable begins with "|-".
- * The -D option with one number now means use the normal background color.
- * Fix non-ANSI-compliant code that caused problems with some compilers.
- * Fix binary file detection in UTF-8 mode.
- * Fix display problems with long lines on "ignaw" terminals.
- * Fix problem interrupting the line number calculation for initial prompt.
- * Fix SGR emulation when dealing with multiple attributes (eg. bold+underline).
- * Fix highlight bug when searching for underlined/overstruck text.
-- drop fix-binfile-detection.patch (fixed upstream)
-- drop less-424b.patch (fixed upstream)
-* Wed Dec 17 2008 puzel@suse.cz
-- add fix-binfile-detection.patch (bnc#446732)
-* Thu Aug 28 2008 anosek@suse.cz
-- updated to version 424b
- * New "&" command allows filtering of lines based on a pattern.
- * Status column now displays a search match, even if the matched
- string is scrolled off screen because -S is in effect.
- * Improve behavior of -F option.
- * Allow CSI character (0x9B) to work in UTF-8 mode.
- * Output carriage return at startup in case terminal doesn't default
- to column 1.
- * Fix bug in '' (quote, quote) command after G command.
-* Sun Jul 20 2008 crrodriguez@suse.de
-- fix build
-* Tue Jan 29 2008 anosek@suse.cz
-- updated to version 418
- * Fix search bug when using -R and text contains ANSI color escape sequences.
- * Fix crash when using -r with UTF-8 text containing 0x9B bytes.
- * Fix display bug when using ' command to move less than one page forward.
- * Update GPL to version 3.
-* Thu Dec 20 2007 anosek@suse.cz
-- udpated to version 416
- * New --follow-name option makes F command follow the name of a file
- rather than the file descriptor if an open file is renamed.
- * Make searching with -i/-I work correctly with non-ASCII text.
- * Support CSI escape sequences, like SGR escape sequences.
- * Fix bug which caused screen to fail to repaint when window is resized.
- * Fix bug in using -i and -I flags with non-ASCII text.
- * Fix crash when searching text containing certain invalid UTF-8 sequences.
-* Thu Nov 15 2007 werner@suse.de
-- Avoid memory leaks in case of an error during saving history
-* Wed Nov 14 2007 werner@suse.de
-- Speed up the history save by using a temorary file and make the
- stream of that file a full buffered one.
-* Wed Oct 31 2007 anosek@suse.cz
-- udpated to version 409
- * fixed crash when searching text containing certain
- invalid UTF-8 sequences.
-* Wed Sep 12 2007 anosek@suse.cz
-- fixed Less -l option conflicts with more -l [#307796] (more.patch)
-* Fri Aug 17 2007 anosek@suse.cz
-- fixed Incorrect behaviour of -r parameter [#244791]
- (save_line_position.patch)
-* Fri Jul 27 2007 anosek@suse.cz
-- updated to version 406
- * Allow decimal point in number for %% (percent) command.
- * Allow decimal point in number for -j option (fraction of screen height).
- * Make n command fetch previous pattern from history file on first search.
- * Don't rewrite history file if it has not changed.
- * Don't move to bottom of screen on first page.
- * Don't output extraneous newlines, so copy & pasting lines from the
- output works better.
- * The -c option has been made identical with the -C option.
- * Allow "/dev/null" as synomym for "-" in LESSHISTFILE to indicate
- that no history file should be used.
- * Search can now find text which follows a null byte, if the PCRE
- library is used, or if no-regex searching (ctrl-R) is used.
- * Better compatibility with POSIX more specification.
- * Make -f work for directories.
- * Make "t" cmd traverse tags in the correct order.
- * Allow a few binary characters in the input file before warning
- that the file is binary.
- * Don't warn that file is binary if it merely contains ANSI color sequences
- and -R is in effect.
- * Update Unicode character tables.
- * Support DESTDIR in Makefile.
- * Fix bug when filename contains certain shell metacharacters such as "$".
- * Fix bug when resizing the window while waiting for input from a pipe.
- * Fix configure bugs.
-* Mon Mar 26 2007 rguenther@suse.de
-- add ncurses-devel BuildRequires
-* Fri Apr 07 2006 mmarek@suse.cz
-- don't use $SHELL for running external commands to avoid
- side-effects caused by $SHELL's startup scripts
- [#158044, #164041] (shell.patch)
-* Mon Feb 06 2006 mmarek@suse.cz
-- fix editing of wide characters in search prompt (regression
- caused by dropping iso patch)
- (widechars.patch)
-* Wed Jan 25 2006 mls@suse.de
-- converted neededforbuild to BuildRequires
-* Tue Jan 10 2006 mmarek@suse.cz
-- upated to version 394
-- removed iso patch, because vanilla less-394 is capable enough
-- removed patches 2-7
-- lessecho.1 included in upstream tarball
-- unpacked less-SuSE.tar.bz2
-* Mon Jan 02 2006 mmarek@suse.cz
-- fix typo in previous fix
-* Mon Dec 19 2005 mmarek@suse.cz
-- fixed lessopen man page
- [#105865]
-- applied lessopen patches to less-SuSE.tar.bz2
-* Fri Oct 07 2005 dmueller@suse.de
-- add head of changelog to rpm listing
-* Wed Oct 05 2005 mmarek@suse.cz
-- updated Japanese patch to less-382-iso258, fixing #64531
- * renumbered patches in specfile
- * fixed implicit function declaration warning
-* Thu Sep 15 2005 mmarek@suse.cz
-- make expand_linebuf() faster [#39724]
-* Tue Sep 13 2005 mmarek@suse.cz
-- recognize .cab archives with new file(1) [#116779]
-* Wed Sep 08 2004 pmladek@suse.cz
-- fixed searching if the ANSI escape sequences are used in the text;
- it still does not work for Japanese coding (see search_ansi_esc_seq.patch
- for comments) [#44115]
-* Fri May 14 2004 pmladek@suse.cz
-- fixed UTF-8 support to do not consider all non-ASCII characters as wide
- characters; they are detected correctly by the function internalize_utf8
- if _XOPEN_SOURCE is enabled (fix added to the utf8.patch) [#29455]
-* Thu May 13 2004 pmladek@suse.cz
-- improved handling of SIGTERM to remove temporary files and clean up terminal
- [#39273] (terminate.patch)
-- improved lessopen.sh [#39272] :
- * removed potential tmp file race
- * added w3m to preprocess HTML pages as an alternative for lynx;
- w3m is preferred over lynx
-* Wed Apr 14 2004 pmladek@suse.cz
-- fixed search line to display correctly UTF-8 characters; solution based
- on the Japanese patch [#19587]
-* Tue Feb 24 2004 pmladek@suse.cz
-- updated to version 382:
- * removed some old copyrighted code
-- fixed to work with Turkish locales, problems with functions like
- isupper, many thanks to Bj�rn Jacke for hint and patch [#29827]
-- added some missing braces in opttbl.c to mouse.patch and iso254.patch
-- fixed code violating strict aliasing rules
-- used norootforbuild
-* Fri Nov 14 2003 pmladek@suse.cz
-- fixed lessopen.sh:
- * added some missing quotes [#33058]
- * the script adds ./ before a relative file name to enable preprocess
- a file whose name begins with a "-" or "+" (inspiration got from RedHat)
- [#33058]
- * fixed detection of Debian's packages
-- merged mouse_test_for_xselection.patch into mouse.patch
-* Wed Sep 10 2003 pmladek@suse.cz
-- test the utility xselection only if the mouse support is enabled [#29612]
-* Mon Aug 04 2003 pmladek@suse.cz
-- updated to version 381 [#17201]:
- * new -L option to disable LESSOPEN processing
- * further support for large (64 bit) file addressing
- * use only 7 spaces for line numbers in -N mode, if possible
- * fix some nroff issues in the man page
-- removed obsolete patch for support for large file addressing (lfs.patch)
-- used autoreconf to rebuild autoconf stuff
-* Mon Dec 30 2002 pmladek@suse.cz
-- updated to version 378:
- * default buffer space is now 64K as documented
- * search highlighting works properly when used with -R
- * windows version works properly when input file contains carriage returns
- * clean up some compiler warnings
-- merged less-378-iso254-bug.patch into the less-378-iso254.patch
-- removed unused CXXFLAGS setting from the spec file
-- fixed the patch for the mouse support (prefixes to a less commands were not
- printed immediately in the searched string as yet) [#21320]
-* Tue Aug 27 2002 pmladek@suse.cz
-- removed code which is obsoleted by Japanese patch and make
- problems with UTF-8 [#17592, #17593]
-* Fri Aug 09 2002 pmladek@suse.cz
-- updated to new stable version 376
- * -x option can now specify multiple variable-width tab stops
- * -X option no longer disables keypad initialization
- * new option --no-keypad disables keypad initialization
- * new commands t and T step through multiple tag matches
- * new prompt style set by option -Pw
- * system-wide lesskey file now defaults to sysless in etc directory
- instead of .sysless in bin directory
- * pressing RightArrow or LeftArrow while entering a number now shifts
- the display N columns rather than editing the number itself
- * searching works better with ANSI (SGR) escape sequences
- * improved performance in reading very large pipes
- * eliminated some dependencies on file offets being 32 bits
- * fixed problems when viewing files with very long lines
- * fixed overstriking in UTF-8 mode, and overstriking tabs
- * improved horizontal shifting of text using -R option with ANSI color
- * improved handling of filenames containing shell metacharacters
-- fixed Japanese patch for this less version
-- iso247-bugs patch merged with Japanese patch
-- fixed bug in detection of xselection utillity
-* Fri May 17 2002 pmladek@suse.cz
-- added mouse support (inspired by vim-6.0):
- * it is enabled by -A option
- * works only in xterm
- * contains support for mouse wheel [#9385]
- * direct access to X selection by xselection utility
-- applied patches less preprocessor patches
-* Thu Mar 21 2002 pmladek@suse.cz
-- improved detection for input conding from keyboard, proper input
- coding is detected by locales now [#15155]
-- changed default input coding from "japanese-iso7" to "iso8859"
-- user can still define his input conding by the environment
- variable JLESSKEYCHARSET
-* Tue Mar 12 2002 pmladek@suse.cz
-- changed meaning of the variable LESS_ADVANCED_PREPROCESSOR,
- many binary formats are preprocessed always, the text
- formats (ps, troff, html) are preprocessed only when
- the variable LESS_ADVANCED_PREPROCESSOR=yes
-* Thu Feb 21 2002 pmladek@suse.cz
-- added support for cab files into less preprocessor
-* Mon Feb 18 2002 pmladek@suse.cz
-- fixed to do not install .orig files
-* Fri Feb 15 2002 pmladek@suse.cz
-- error messages in lessopen.sh must be redirected to the standard
- error output
-- fixed Copyright in lessopen.sh and lessclose.sh
-* Thu Feb 14 2002 pmladek@suse.cz
-- added man page for lessecho from the Debian GNU/Linux distribution
- [#13275]
-- fixed usage of macro %%suse_update_config
-* Mon Nov 05 2001 mfabian@suse.de
-- add init_def_codesets.diff (fixes the problem that less
- outputs ESC-A to set 'G1' to 'Right-hand Part of Latin
- Alphabet No.1 ISO 8859/1, ECMA-94'. This works only with
- xterm but fails with konsole, rxvt ...)
- Thanks to Michael Schroeder
-- add arabic.diff to fix typo in possible values of JLESSPLANESET
- (alabic -> arabic).
-- remove %%attr(644, -, -) in front of %%doc, this gives
- wrong permissions to the directory /usr/share/doc/packages/less
- use 'chmod 644 LICENSE COPYING NEWS' instead.
-* Fri Sep 21 2001 vinil@suse.cz
-- README.SuSE about LESS_ADVANCED_PREPROCESSOR added
-* Tue Sep 11 2001 mfabian@suse.de
-- include Japanese patch
-- rewrote utf8.diff. Together with the Japanese patch it almost
- works now. German, Italian and Spanish man pages display fine
- in an UTF-8 xterm. Czech is still broken, but that seems to
- be the fault of groff rather than less.
-- add less-SuSE.patch to display Japanese roff files correctly
-* Wed Sep 05 2001 vinil@suse.cz
-- .zip handled by "unzip -v" (#10211)
-* Tue Aug 28 2001 vinil@suse.cz
-- LESS_ADVANCED_PREPROCESSOR used for handling more than compressed
- files (#9287)
-* Tue Aug 14 2001 vinil@suse.cz
-- typo fixed (#9730)
-* Tue Jul 17 2001 vinil@suse.cz
-- can handle symlinks \
-- can handle x and pm man pages -- bug #9393
-* Mon May 14 2001 vinil@suse.cz
-- utf8.diff added: less can handle bold and underlined utf-8 chars
- (needed especially for man)
-* Sat May 05 2001 schwab@suse.de
-- lessopen.sh: Create tempfiles securely; add quotes as necessary; make
- sure we don't match the file type against the file name; don't leave
- temporary files around.
-* Fri May 04 2001 schwab@suse.de
-- lessopen.sh: echo nothing if we have no alternate file (#7679).
-* Fri May 04 2001 schwab@suse.de
-- lessopen.sh: Use the first stage contents if the second stage has
- nothing special. Tighten the patterns that recognize compressed
- data. Just echo the original file name if the file is not readable.
-* Tue May 01 2001 schwab@suse.de
-- lessclose.sh: Only remove file if different from original file.
-* Mon Apr 30 2001 schwab@suse.de
-- lessopen.sh: Use original file name if no conversions were done (#7421).
-* Fri Apr 27 2001 vinil@suse.cz
-- lessing non-existing files now produce error message [bug #7320]
-* Thu Apr 19 2001 mfabian@suse.de
-- removed "LESSCHARSET=latin1" from /etc/lesskey
- If LESSCHARSET is not set, latin1 is the default, unless
- "UTF-8" is found in LC_ALL, LC_CTYPE or LANG, the the default
- is utf-8. So setting "LESSCHARSET=latin1" is useless in
- case of a iso-8859-x locale and bad in case of a UTF-8 locale.
- If LESSCHARSET is set in /etc/lesskey, one cannot even override
- it by setting the environment variable anymore.
-* Fri Mar 16 2001 vinil@suse.cz
-- less piping completely rewritten (using 'file', now)
- (bug #6256 fixed)
-* Wed Jan 10 2001 smid@suse.cz
-- lesspipe.sh fixed
-* Tue Jan 09 2001 smid@suse.cz
-- lesspipe.sh fixed [#5003]
-* Wed Dec 13 2000 mfabian@suse.de
-- added "Provides: normal-less". This enables the japanized
- jless to use "Provides: less" and "Conflicts: normal-less".
- (Suggestion by bjacke@suse.de)
-* Mon Dec 11 2000 smid@suse.cz
-- added conflict with jless
-* Fri Dec 01 2000 aj@suse.de
-- Compile with LFS support, fix CFLAGS/CXXFLAGS.
-* Tue Nov 21 2000 werner@suse.de
-- Remove swapping of kp-separator/kp-decimal because it's
- done in xkbd map for german keyboards
-* Tue Nov 21 2000 werner@suse.de
-- Add some newer xterm escape sequences (oldFunctionsKeys)
-* Tue Sep 26 2000 ro@suse.de
-- make lesspipe executable again
-* Mon Sep 25 2000 smid@suse.cz
-- upgrade to 358
-* Mon May 22 2000 smid@suse.cz
-- upgrade to 354
-- Copyright field fix
-- documentation added
-* Thu Apr 13 2000 smid@suse.cz
-- buildroot added
-- upgrade to 3.46
-* Thu Feb 10 2000 kukuk@suse.de
-- Fill out Copyright and Group field
-* Mon Jan 24 2000 kukuk@suse.de
-- Move /usr/man -> /usr/share/man
-* Mon Sep 13 1999 bs@suse.de
-- ran old prepare_spec on spec file to switch to new prepare_spec.
-* Fri Jun 18 1999 ro@suse.de
-- update to less-340 using jurix-dif
-- added [rs]pm to lesspipe-switch
-- added werners lesskey
-* Thu Sep 04 1997 bs@suse.de
-- added *.as to lesspipe.sh
-* Wed May 28 1997 werner@suse.de
-- added new etc/lesskey and etc/lesskey.bin
-* Sat Apr 26 1997 florian@suse.de
-- update to new version 332
-* Sun Apr 13 1997 florian@suse.de
-- update to new version 330
-* Thu Jan 02 1997 bs@suse.de
- added new etc/lesskey*
-* Thu Jan 02 1997 bs@suse.de
- lesskey from aaa_base inserted.
-* Thu Jan 02 1997 florian@suse.de
-- Neue Version 321.
-- Bug mit falschen Aufruf von free() behoben.
-- In /etc/profile wird global fuer alle Benutzer eine 'lesskey'-Datei
- eingetragen. Braucht also nicht mehr im Home-Verzeichnis aller Benutzer
- erstellt werden.
++++++ less-429-mouse.patch ++++++
++++ 1709 lines (skipped)
++++ between less/less-429-mouse.patch
++++ and /mounts/work_src_done/STABLE/less/less-429-mouse.patch
++++++ less-429-save_line_position.patch ++++++
--- /var/tmp/diff_new_pack.fNrSsi/_old 2009-07-11 03:26:50.000000000 +0200
+++ /var/tmp/diff_new_pack.fNrSsi/_new 2009-07-11 03:26:50.000000000 +0200
@@ -1,16 +1,11 @@
+---
+ line.c | 31 +++++++++++++++++++++++++++++--
+ 1 file changed, 29 insertions(+), 2 deletions(-)
+
Index: line.c
===================================================================
---- line.c.orig 2009-03-30 21:45:51.000000000 +0200
-+++ line.c 2009-06-03 15:37:46.000000000 +0200
-@@ -4,7 +4,7 @@
- * You may distribute under the terms of either the GNU General Public
- * License or the Less License, as specified in the README file.
- *
-- * For more information about less, or for information on how to
-+ * For more information about less, or for information on how to
- * contact the author, see the README file.
- */
-
+--- line.c.orig 2009-06-30 21:27:09.000000000 +0200
++++ line.c 2009-07-07 15:39:00.000000000 +0200
@@ -66,6 +66,25 @@ static int mbc_buf_len = 0;
static int mbc_buf_index = 0;
static POSITION mbc_pos;
@@ -37,33 +32,6 @@
/*
* Initialize from environment variables.
*/
-@@ -177,7 +196,7 @@ plinenum(pos)
- /*
- * Get the line number and put it in the current line.
- * {{ Note: since find_linenum calls forw_raw_line,
-- * it may seek in the input file, requiring the caller
-+ * it may seek in the input file, requiring the caller
- * of plinenum to re-seek if necessary. }}
- * {{ Since forw_raw_line modifies linebuf, we must
- * do this first, before storing anything in linebuf. }}
-@@ -274,7 +293,7 @@ pshift(shift)
- attr[to++] = attr[from];
- if (!is_ansi_middle(linebuf[from++]))
- break;
-- }
-+ }
- continue;
- }
-
-@@ -320,7 +339,7 @@ pshift(shift)
- /* Adjust width for magic cookies. */
- prev_attr = (to > 0) ? attr[to-1] : AT_NORMAL;
- next_attr = (from + len < curr) ? attr[from + len] : prev_attr;
-- if (!is_at_equiv(attr[from], prev_attr) &&
-+ if (!is_at_equiv(attr[from], prev_attr) &&
- !is_at_equiv(attr[from], next_attr))
- {
- width += attr_swidth(attr[from]);
@@ -617,7 +636,11 @@ store_char(ch, a, rep, pos)
w = pwidth(ch, a, prev_ch);
}
@@ -77,41 +45,7 @@
/*
* Won't fit on screen.
*/
-@@ -765,7 +788,7 @@ pappend(c, pos)
- }
-
- /*
-- * Don't put the CR into the buffer until we see
-+ * Don't put the CR into the buffer until we see
- * the next char. If the next char is a newline,
- * discard the CR.
- */
-@@ -874,8 +897,8 @@ do_append(ch, rep, pos)
- {
- /*
- * Overstrike the character at the current position
-- * in the line buffer. This will cause either
-- * underline (if a "_" is overstruck),
-+ * in the line buffer. This will cause either
-+ * underline (if a "_" is overstruck),
- * bold (if an identical character is overstruck),
- * or just deletion of the character in the buffer.
- */
-@@ -922,7 +945,7 @@ do_append(ch, rep, pos)
- overstrike = 0;
- }
-
-- if (ch == '\t')
-+ if (ch == '\t')
- {
- /*
- * Expand a tab into spaces.
-@@ -945,11 +968,15 @@ do_append(ch, rep, pos)
- * Output as a normal character.
- */
- STORE_CHAR(ch, AT_NORMAL, rep, pos);
-- } else
-+ } else
+@@ -949,7 +972,11 @@ do_append(ch, rep, pos)
{
STORE_PRCHAR((char) ch, pos);
}
@@ -124,43 +58,3 @@
{
char *s;
-@@ -1029,18 +1056,22 @@ pdone(endline, nextc)
- * or if the terminal doesn't auto wrap,
- * or if this is really the end of the line AND the terminal ignores
- * a newline at the right edge.
-- * (In the last case we don't want to output a newline if the terminal
-+ * (In the last case we don't want to output a newline if the terminal
- * doesn't ignore it since that would produce an extra blank line.
- * But we do want to output a newline if the terminal ignores it in case
- * the next line is blank. In that case the single newline output for
- * that blank line would be ignored!)
- */
-+#if THROW_AWAY_LOCATION
- if (column < sc_width || !auto_wrap || (endline && ignaw) || ctldisp == OPT_ON)
-+#else
-+ if (column < sc_width || !auto_wrap || (endline && ignaw))
-+#endif
- {
- linebuf[curr] = '\n';
- attr[curr] = AT_NORMAL;
- curr++;
-- }
-+ }
- else if (ignaw && column >= sc_width)
- {
- /*
-@@ -1052,12 +1083,12 @@ pdone(endline, nextc)
- * instead of at the start of the next line.
- * So we nudge them into wrapping by outputting the next
- * character plus a backspace. (This wouldn't be right for
-- * "!auto_wrap" terminals, but they always end up in the
-+ * "!auto_wrap" terminals, but they always end up in the
- * branch above.)
- */
- linebuf[curr] = nextc;
- attr[curr++] = AT_NORMAL;
-- linebuf[curr] = '\b';
-+ linebuf[curr] = '\b';
- attr[curr++] = AT_NORMAL;
- }
- linebuf[curr] = '\0';
++++++ less-429-shell.patch ++++++
--- /var/tmp/diff_new_pack.fNrSsi/_old 2009-07-11 03:26:50.000000000 +0200
+++ /var/tmp/diff_new_pack.fNrSsi/_new 2009-07-11 03:26:50.000000000 +0200
@@ -1,7 +1,7 @@
Index: filename.c
===================================================================
---- filename.c.orig 2009-03-30 22:34:47.000000000 +0200
-+++ filename.c 2009-06-03 15:21:50.000000000 +0200
+--- filename.c.orig 2009-07-06 22:52:23.000000000 +0200
++++ filename.c 2009-07-10 10:23:12.000000000 +0200
@@ -577,7 +577,7 @@ shellcmd(cmd)
#if HAVE_SHELL
char *shell;
@@ -13,8 +13,8 @@
char *scmd;
Index: less.hlp
===================================================================
---- less.hlp.orig 2009-06-03 15:17:47.000000000 +0200
-+++ less.hlp 2009-06-03 15:21:50.000000000 +0200
+--- less.hlp.orig 2009-07-10 10:23:07.000000000 +0200
++++ less.hlp 2009-07-10 10:23:12.000000000 +0200
@@ -95,7 +95,7 @@
___<_n_a_m_e_> Display the setting of an option, by name.
+_c_m_d Execute the less cmd each time a new file is examined.
@@ -26,8 +26,8 @@
V Print version number of "less".
Index: less.nro
===================================================================
---- less.nro.orig 2009-06-03 15:19:41.000000000 +0200
-+++ less.nro 2009-06-03 15:21:50.000000000 +0200
+--- less.nro.orig 2009-07-10 10:23:07.000000000 +0200
++++ less.nro 2009-07-10 10:23:12.000000000 +0200
@@ -395,7 +395,7 @@ current file.
A pound sign (#) is replaced by the name of the previously examined file.
"!!" repeats the last shell command.
@@ -37,9 +37,9 @@
or defaults to "sh".
On MS-DOS and OS/2 systems, the shell is the normal command processor.
.IP "| <m> shell-command"
-@@ -1652,7 +1652,7 @@ LINES and COLUMNS environment variables.
+@@ -1667,7 +1667,7 @@ LINES and COLUMNS environment variables.
.IP PATH
- User's search path (used to find a lesskey file
+ User's search path (used to find a lesskey file
on MS-DOS and OS/2 systems).
-.IP SHELL
+.IP LESSSHELL
@@ -48,8 +48,8 @@
The type of terminal on which
Index: lsystem.c
===================================================================
---- lsystem.c.orig 2009-03-30 21:45:52.000000000 +0200
-+++ lsystem.c 2009-06-03 15:21:50.000000000 +0200
+--- lsystem.c.orig 2009-07-06 22:52:23.000000000 +0200
++++ lsystem.c 2009-07-10 10:23:12.000000000 +0200
@@ -129,7 +129,7 @@ lsystem(cmd, donemsg)
*/
#if HAVE_SHELL
++++++ less-429.tar.bz2 -> less-436.tar.bz2 ++++++
++++ 3588 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org