- update to less-393

- groom Foption patch a bit
- remove obsolete ncursesw and utf8detect patches
This commit is contained in:
Jindrich Novy 2005-11-07 09:45:13 +00:00
parent d039b453ff
commit 2d88a3d74c
4 changed files with 22 additions and 14 deletions

View File

@ -1,2 +1,3 @@
less-382.tar.gz
less-392.tar.gz
less-393.tar.gz

View File

@ -1,17 +1,19 @@
--- less-392/screen.c.rasold 2005-10-21 13:54:22.000000000 +0200
+++ less-392/screen.c 2005-10-21 13:57:58.000000000 +0200
@@ -1547,8 +1547,12 @@
--- less-392/screen.c.Foption 2005-09-17 19:17:02.000000000 +0200
+++ less-392/screen.c 2005-10-21 16:25:16.000000000 +0200
@@ -233,6 +233,7 @@ extern int wscroll;
extern int screen_trashed;
extern int tty;
extern int top_scroll;
+extern int quit_if_one_screen;
#if HILITE_SEARCH
extern int hilite_search;
#endif
@@ -1547,7 +1548,7 @@ deinit()
#if !MSDOS_COMPILER
if (!no_keypad)
tputs(sc_e_keypad, sc_height, putchr);
- if (!no_init)
- tputs(sc_deinit, sc_height, putchr);
+ if (!no_init){
+ extern int quit_if_one_screen;
+ if(quit_if_one_screen == FALSE){
+ tputs(sc_deinit, sc_height, putchr);
+ }
+ }
+ if (!no_init && !quit_if_one_screen)
tputs(sc_deinit, sc_height, putchr);
#else
/* Restore system colors. */
SETCOLORS(sy_fg_color, sy_bg_color);

View File

@ -1,7 +1,7 @@
Summary: A text file browser similar to more, but better.
Name: less
Version: 392
Release: 2
Version: 393
Release: 1
License: GPL
Group: Applications/Text
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
@ -54,6 +54,11 @@ install -c -m 755 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Nov 7 2005 Jindrich Novy <jnovy@redhat.com> 393-1
- update to less-393
- groom Foption patch a bit
- remove obsolete ncursesw and utf8detect patches
* Fri Oct 21 2005 Jindrich Novy <jnovy@redhat.com> 392-2
- fix the -F option (#79650), thanks to Petr Raszyk

View File

@ -1 +1 @@
462f6b0be88f25673a0ed4ddfdab803a less-392.tar.gz
5966fb99d0dc48ef9d03110cd699063e less-393.tar.gz