[Lunar-commits] r16158 - moonbase/trunk/utils/most

Chad Kittel v3rt1g0 at lunar-linux.org
Sat Aug 20 14:05:12 UTC 2005


Author: v3rt1g0
Date: 2005-08-20 14:05:12 +0000 (Sat, 20 Aug 2005)
New Revision: 16158

Added:
   moonbase/trunk/utils/most/BUILD
   moonbase/trunk/utils/most/most-4.10.2-fix-goto-line.diff
Modified:
   moonbase/trunk/utils/most/DETAILS
Log:
Version bump as suggested by Mr. Veatch.  TYD

This is a bug fix release and it also adds support for slang 2.  A patch 
was necessary for the g (goto line) option, without it, the g command
does not work.


Added: moonbase/trunk/utils/most/BUILD
===================================================================
--- moonbase/trunk/utils/most/BUILD	2005-08-20 13:59:06 UTC (rev 16157)
+++ moonbase/trunk/utils/most/BUILD	2005-08-20 14:05:12 UTC (rev 16158)
@@ -0,0 +1,8 @@
+(
+
+  # fixes the g (goto) option
+  patch_it "$SCRIPT_DIRECTORY/$MODULE-4.10.2-fix-goto-line.diff" 1 &&
+
+  default_build
+
+) > $C_FIFO

Modified: moonbase/trunk/utils/most/DETAILS
===================================================================
--- moonbase/trunk/utils/most/DETAILS	2005-08-20 13:59:06 UTC (rev 16157)
+++ moonbase/trunk/utils/most/DETAILS	2005-08-20 14:05:12 UTC (rev 16158)
@@ -1,19 +1,18 @@
            MODULE=most
-         VERSION=4.9.2
+         VERSION=4.10.2
           SOURCE=$MODULE-$VERSION.tar.gz
-   SOURCE_URL[0]=ftp://space.mit.edu/pub/davis/most/
+      SOURCE_URL=ftp://space.mit.edu/pub/davis/most/
+      SOURCE_VFY=sha1:b0bcbbbff43aaab7b75b45d35ab8f2d32a3245c2
         WEB_SITE=ftp://space.mit.edu/pub/davis/most
          ENTERED=20010922
-         UPDATED=20010922
+         UPDATED=20050820
            SHORT="most is a pager like more or less"
+
 cat << EOF
-most is a paging program that displays, one windowful
-at a time, the contents of a file on a terminal. It
-pauses after each windowful and prints on the window
-status line the screen the file name, current line
-number, and the percentage of the file so far
-displayed. Unlike other paging programs, most is
-capable of displaying an arbitrary number of windows
-as long as each window occupies at least two screen
-lines.
+most is a paging program that displays, one windowful at a time, the 
+contents of a file on a terminal. It pauses after each windowful and
+prints on the window status line the screen the file name, current line
+number, and the percentage of the file so far displayed. Unlike other
+paging programs, most is capable of displaying an arbitrary number of
+windows as long as each window occupies at least two screen lines.
 EOF

Added: moonbase/trunk/utils/most/most-4.10.2-fix-goto-line.diff
===================================================================
--- moonbase/trunk/utils/most/most-4.10.2-fix-goto-line.diff	2005-08-20 13:59:06 UTC (rev 16157)
+++ moonbase/trunk/utils/most/most-4.10.2-fix-goto-line.diff	2005-08-20 14:05:12 UTC (rev 16158)
@@ -0,0 +1,12 @@
+diff --exclude='*~' --exclude='.*' -I '$Id:' -urN most-4.10.2.orig/src/keym.c most-4.10.2/src/keym.c
+--- most-4.10.2.orig/src/keym.c	2005-08-13 23:11:23.000000000 -0400
++++ most-4.10.2/src/keym.c	2005-08-13 23:37:11.000000000 -0400
+@@ -199,7 +199,7 @@
+ {
+    Most_Mini_Buf[0] = 0;
+ 
+-   if (!most_read_from_minibuffer(prompt, (char *) Most_Mini_Buf, MOST_MINI_BUF_LEN))
++   if (most_read_from_minibuffer(prompt, (char *) Most_Mini_Buf, MOST_MINI_BUF_LEN))
+      return -1;
+ 
+    if (1 != sscanf((char *) Most_Mini_Buf, "%d", n))



More information about the Lunar-commits mailing list