[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-74-g09b255e

James Rowe jnrowe at gmail.com
Tue Feb 23 12:14:01 UTC 2010


The following commit has been merged in the master branch:
commit 0d7c26895b218f27e0c906063dc7ef0870af8293
Author: Ivy Foster <joyfulgirl at archlinux.us>
Date:   Mon Feb 22 18:18:32 2010 -0600

    Added `-ns|-newscreen' switch
    
    - Sets SURFRAW_new_screen
    	- Each optionally takes `=yes|no', defaulting to `yes'
    	- Also added self to AUTHORS

diff --git a/AUTHORS b/AUTHORS
index 2804b33..505fdf4 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -61,6 +61,9 @@ Patroklos Argyroudis <argp at cs.tcd.ie>
 Simon Ernst <se at netmute.org>
         elvi: archpkg
 
+Ivy Foster <joyfulgirl at archlinux.us>
+        elvi: bookfinder, bugmenot
+        plus patches
 
 OTHER CONTRIBUTORS
 
diff --git a/ChangeLog b/ChangeLog
index 15be421..499bd4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-22  Ivy Foster  <joyfulgirl at archlinux.us>
+
+	* Added `-ns|-newscreen' switch for setting $SURFRAW_new_screen.
+
 2010-02-15  James Rowe  <jnrowe at gmail.com>
 
 	* elvi/imdb: Fixes for upstream search changes.  Thanks to Sadako.
diff --git a/surfraw.IN b/surfraw.IN
index b27f710..7700280 100644
--- a/surfraw.IN
+++ b/surfraw.IN
@@ -282,6 +282,9 @@ Global options:
   -new[=yes|no]			Start in a new window
 				Default: $SURFRAW_new_window
 				Environment: SURFRAW_new_window
+  -ns[=yes|no]			Start in a new screen
+     | -newscreen[=yes|no]	Default: $SURFRAW_new_screen
+				Environment: SURFRAW_new_screen
   -t | -text			Back to the yellow brick road
   -q | -quote			Quote arguments with " characters
 				Default: $SURFRAW_quote_args
@@ -333,6 +336,8 @@ w3_parse_option () {
 	-q | -quote)	    setoptyn SURFRAW_quote_args	    	yes	;;
 	-new)		    setoptyn SURFRAW_new_window		yes	;;
 	-new=*)		    setoptyn SURFRAW_new_window		$optarg ;;
+	-ns | -newscreen)   setoptyn SURFRAW_new_screen yes ;;
+	-ns=* | -newscreen=*)   setoptyn SURFRAW_new_screen $optarg ;;
 	-o)		    setoptyn SURFRAW_dump		yes	;;
 	-o=*)		    setoptyn SURFRAW_dump		yes
 			    setopt SURFRAW_dump_file		$optarg ;;

-- 
surfraw -  a fast unix command line interface to WWW



More information about the Surfraw-commits mailing list