[BACK]Return to patch-ab CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mbone / wbd / patches

File: [cvs.NetBSD.org] / pkgsrc / mbone / wbd / patches / patch-ab (download)

Revision 1.1.1.1 (vendor branch), Tue Jul 7 16:10:18 2009 UTC (13 years, 1 month ago) by sborrill
Branch: TNF, MAIN
CVS Tags: pkgsrc-base, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, HEAD
Changes since 1.1: +0 -0 lines

wbd, the UCB/LBNL whiteboard tool, is a real-time shared whiteboard
application.

$NetBSD: patch-ab,v 1.1.1.1 2009/07/07 16:10:18 sborrill Exp $
--- main.c.orig	1999-02-09 16:29:46.000000000 +0000
+++ main.c	2005-12-22 17:28:24.000000000 +0000
@@ -87,6 +87,7 @@
 int maxhops    = 5;
 int orient     = 1;
 int readonly   = 0;
+int blockimport = 0;
 int pssize     = 32768;
 int datarate   = 32768 * 2;
 char *username = "";
@@ -125,6 +126,10 @@
 	"Landscape mode"},
     {"+l", TK_ARGV_CONSTANT, (char *) 3, (char *) &orient,
 	"Landscape mode"},
+    {"-i", TK_ARGV_CONSTANT, (char *) 1, (char *) &blockimport,
+	"No imports"},
+    {"+i", TK_ARGV_CONSTANT, (char *) 0, (char *) &blockimport,
+	"Allow import"},
     {"-r", TK_ARGV_CONSTANT, (char *) 1, (char *) &readonly,
 	"Read only"},
     {"+r", TK_ARGV_CONSTANT, (char *) 0, (char *) &readonly,
@@ -263,7 +268,7 @@
 void usage (void)
 {
     printf ("Usage: wbd [-N username] [-C confname] [-maxhops n]\n");
-    printf ("           [-p|-l|+l] [-r|+r] [+d|-d] [-geometry wxh+x+y]  \n");
+    printf ("           [-p|-l|+l] [-r|+r] [+d|-d] [+i|-i] [-geometry wxh+x+y]  \n");
     printf ("           [-P filesize] [-R bandwidth] [-help] address/port\n");
 }
 
@@ -278,6 +283,7 @@
     printf ("    -t n         Set the TTL to n, (as -maxhops).\n");
     printf ("    -p,-l,+l     Portrait/Landscape mode,\n");
     printf ("    -r,+r        Disable/Enable writing to the whiteboard.\n");
+    printf ("    -i,+i        Disable/Enable import into the whiteboard.\n");
     printf ("    -geometry g  Set the window's geometry to g (wxh+x+y).\n");
     printf ("    -P size      Set the Postscript file size limit to size.\n");
     printf ("    -R bw        Set the bandwidth limit to bw (bits/s).\n");
@@ -407,6 +413,7 @@
     tkStringSet  ("geometry", geometry);
     tkIntegerSet ("orientation", orient);
     tkIntegerSet ("readonly", readonly);
+    tkIntegerSet ("blockimport", blockimport);
     tkIntegerSet ("pssize", pssize);
     tkIntegerSet ("relate", relate);