diff --git a/.cvsignore b/.cvsignore index a6bba33..cadc008 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ less-382.tar.gz less-392.tar.gz +less-393.tar.gz diff --git a/less-392-Foption.patch b/less-392-Foption.patch index c84128f..16913d9 100644 --- a/less-392-Foption.patch +++ b/less-392-Foption.patch @@ -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); diff --git a/less.spec b/less.spec index aa7e0ac..397972e 100644 --- a/less.spec +++ b/less.spec @@ -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 393-1 +- update to less-393 +- groom Foption patch a bit +- remove obsolete ncursesw and utf8detect patches + * Fri Oct 21 2005 Jindrich Novy 392-2 - fix the -F option (#79650), thanks to Petr Raszyk diff --git a/sources b/sources index ad4f8e3..a5b402a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -462f6b0be88f25673a0ed4ddfdab803a less-392.tar.gz +5966fb99d0dc48ef9d03110cd699063e less-393.tar.gz