tags 442389 + patch thanks Hi
The new version of remind, and this bug, has been outstanding since Sept 2007. That's not necessarily that long, but one of my packages (wyrd) depends upon this new version of remind, so I've decided to package it up. Attached is a patch. I've also sent up a 7-day delay NMU in case you don't have the time right now to work on it. Kind regards, Kevin -- Kevin Coyner GnuPG key: 1024D/8CE11941
diff -Naur remind-03.00.24/debian/changelog remind-03.01.04/debian/changelog --- remind-03.00.24/debian/changelog 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/changelog 2008-02-25 14:24:42.000000000 -0500 @@ -1,3 +1,20 @@ +remind (03.01.04-0.1) unstable; urgency=low + + * Non-maintainer upload. + * New upstream release. Closes: #442389, #413739. + * Removed debian/README.Debian as info is no longer pertinent to upstream's + version. + * Removed all patches, which have been superceded by upstream's release. + * Added one new patch to correct lack of space between UC4 in certain man + page files. + * Moved Homepage out of the extended description in debian/control. + * Moved installation of docs/WHATSNEW and docs/README.UNIX from a + debian/rules invocation to a simple listing in debian/docs. + * Updated debian/menu to conform with new policy. + * Bumped Standards-Version to 3.7.3. + + -- Kevin Coyner <[EMAIL PROTECTED]> Mon, 25 Feb 2008 12:50:41 -0500 + remind (03.00.24-4) unstable; urgency=low * New maintainer (Closes: #388426) diff -Naur remind-03.00.24/debian/control remind-03.01.04/debian/control --- remind-03.00.24/debian/control 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/control 2008-02-25 13:46:04.000000000 -0500 @@ -3,7 +3,8 @@ Priority: optional Maintainer: Kurt B. Kaiser <[EMAIL PROTECTED]> Build-Depends: debhelper (>= 5), cdbs -Standards-Version: 3.7.2 +Standards-Version: 3.7.3 +Homepage: http://www.roaringpenguin.com/penguin/open_source_remind.php Package: remind Architecture: any @@ -21,5 +22,3 @@ Reminders can be created by the remind scripting language or by using the graphical frontend "tkremind", which is also included in this package. - . - Homepage: http://www.roaringpenguin.com/penguin/open_source_remind.php diff -Naur remind-03.00.24/debian/docs remind-03.01.04/debian/docs --- remind-03.00.24/debian/docs 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/docs 2008-02-25 13:26:16.000000000 -0500 @@ -1,2 +1,3 @@ -ACKNOWLEDGEMENTS README +docs/WHATSNEW +docs/README.UNIX diff -Naur remind-03.00.24/debian/menu remind-03.01.04/debian/menu --- remind-03.00.24/debian/menu 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/menu 2008-02-25 13:32:29.000000000 -0500 @@ -1,2 +1,2 @@ -?package(remind):needs="X11" section="Apps/Tools"\ +?package(remind):needs="X11" section="Applications/Data Management"\ title="remind" command="/usr/bin/tkremind" diff -Naur remind-03.00.24/debian/patches/01-optional-filename.diff remind-03.01.04/debian/patches/01-optional-filename.diff --- remind-03.00.24/debian/patches/01-optional-filename.diff 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/patches/01-optional-filename.diff 1969-12-31 19:00:00.000000000 -0500 @@ -1,110 +0,0 @@ -01-optional-filename.diff by René van Bevern <[EMAIL PROTECTED]> - -make the filename argument optional. If no filename is given, use -~/.reminders or $DOT_REMINDERS as reminder file. This obsoletes the "rem" -script which lead to problems in the past. Read bug #310818 and -README.Debian for details. - -diff -urNad remind-03.00.23/man/remind.1 /tmp/dpep.br77rE/remind-03.00.23/man/remind.1 ---- remind-03.00.23/man/remind.1 2005-05-26 20:08:47.000000000 +0200 -+++ /tmp/dpep.br77rE/remind-03.00.23/man/remind.1 2005-05-26 20:56:05.000000000 +0200 -@@ -4,7 +4,7 @@ - .SH NAME - remind \- a sophisticated reminder service - .SH SYNOPSIS --.B remind [\fIoptions\fR] \fIfilename\fR [\fIdate\fR] [\fI*rep\fR] [\fItime\fR] -+.B remind [\fIoptions\fR] [\fIfilename\fR [\fIdate\fR] [\fI*rep\fR] [\fItime\fR] ] - .SH DESCRIPTION - \fBRemind\fR reads the supplied \fIfilename\fR and executes the commands - found in it. The commands are used to issue reminders and alarms. Each -@@ -13,7 +13,9 @@ - .PP - If \fIfilename\fR is specified as a single dash '-', then \fBRemind\fR - takes its input from standard input. This also implicitly enables --the \fB\-o\fR option, described below. -+the \fB\-o\fR option, described below. If no filename is given, remind uses -+\fI~/.reminders\fR or the content of the DOT_REMINDERS environment -+variable. - .SH OPTIONS - \fBRemind\fR has a slew of options. If you're new to the program, - ignore them for now and skip to the section "Reminder Files". -diff -urNad remind-03.00.23/src/init.c /tmp/dpep.br77rE/remind-03.00.23/src/init.c ---- remind-03.00.23/src/init.c 2005-05-26 20:08:47.000000000 +0200 -+++ /tmp/dpep.br77rE/remind-03.00.23/src/init.c 2005-05-26 21:00:46.000000000 +0200 -@@ -47,6 +47,8 @@ - #include "version.h" - #include "globals.h" - -+#define DOT_REMINDERS ".reminders" -+ - /*************************************************************** - * - * Command line options recognized: -@@ -105,6 +107,33 @@ - - /***************************************************************/ - /* */ -+/* DefaultReminders */ -+/* */ -+/* Detect a default reminder file */ -+/* */ -+/***************************************************************/ -+ -+char* DefaultReminders() -+{ -+ char *dot_reminders; -+ char *home; -+ size_t len; -+ if((dot_reminders=getenv("DOT_REMINDERS"))) -+ return dot_reminders; -+ else if((home=getenv("HOME"))) { -+ len = strlen(home) + strlen(DOT_REMINDERS) + 2; -+ if(!(dot_reminders = (char*)malloc(len))) { -+ fprintf(ErrFp, "%s\n", ErrMsg[E_NO_MEM]); -+ exit(EXIT_FAILURE); -+ } -+ snprintf(dot_reminders, len, "%s/%s", home, DOT_REMINDERS); -+ return dot_reminders; -+ } -+ else return DOT_REMINDERS; -+} -+ -+/***************************************************************/ -+/* */ - /* InitRemind */ - /* */ - /* Initialize the system - called only once at beginning! */ -@@ -394,11 +423,8 @@ - } - - /* Get the filename. */ -- if (i >= argc) { -- Usage(); -- exit(1); -- } -- InitialFile = argv[i++]; -+ if (i >= argc) InitialFile = DefaultReminders(); -+ else InitialFile = argv[i++]; - - /* Get the date, if any */ - if (i < argc) { -@@ -500,7 +526,7 @@ - #ifdef BETA - fprintf(ErrFp, ">>>> BETA VERSION <<<<\n"); - #endif -- fprintf(ErrFp, "Usage: remind [options] filename [date] [time] [*rep]\n"); -+ fprintf(ErrFp, "Usage: remind [options] [filename [date] [time] [*rep] ]\n"); - fprintf(ErrFp, "Options:\n"); - fprintf(ErrFp, " -n Output next occurrence of reminders in simple format\n"); - fprintf(ErrFp, " -r Disable RUN directives\n"); -diff -urNad remind-03.00.23/src/protos.h /tmp/dpep.br77rE/remind-03.00.23/src/protos.h ---- remind-03.00.23/src/protos.h 2005-05-26 20:08:47.000000000 +0200 -+++ /tmp/dpep.br77rE/remind-03.00.23/src/protos.h 2005-05-26 20:56:05.000000000 +0200 -@@ -60,6 +60,7 @@ - int SetAccessDate (char *fname, int jul); - int TopLevel (void); - int CallFunc (Operator *f, int nargs); -+char* DefaultReminders (void); - void InitRemind (int argc, char *argv[]); - void Usage (void); - int main (int argc, char *argv[]); diff -Naur remind-03.00.24/debian/patches/01_UC4_error_manpage.patch remind-03.01.04/debian/patches/01_UC4_error_manpage.patch --- remind-03.00.24/debian/patches/01_UC4_error_manpage.patch 1969-12-31 19:00:00.000000000 -0500 +++ remind-03.01.04/debian/patches/01_UC4_error_manpage.patch 2008-02-25 14:12:28.000000000 -0500 @@ -0,0 +1,30 @@ +diff -Naur remind-03.01.04/man/rem.1 remind-03.01.04.new/man/rem.1 +--- remind-03.01.04/man/rem.1 2007-08-31 23:09:43.000000000 -0400 ++++ remind-03.01.04.new/man/rem.1 2008-02-25 14:08:00.000000000 -0500 +@@ -1,5 +1,5 @@ + .TH REM 1 "30 August 2007" +-.UC4 ++.UC 4 + .SH NAME + rem \- Invoke Remind with a default filename + .SH SYNOPSIS +diff -Naur remind-03.01.04/man/rem2ps.1 remind-03.01.04.new/man/rem2ps.1 +--- remind-03.01.04/man/rem2ps.1 2007-08-30 21:59:45.000000000 -0400 ++++ remind-03.01.04.new/man/rem2ps.1 2008-02-25 14:07:43.000000000 -0500 +@@ -1,5 +1,5 @@ + .TH REM2PS 1 "11 April 2005" +-.UC4 ++.UC 4 + .SH NAME + rem2ps \- draw a PostScript calendar from Remind output + .SH SYNOPSIS +diff -Naur remind-03.01.04/man/cm2rem.1 remind-03.01.04.new/man/cm2rem.1 +--- remind-03.01.04/man/cm2rem.1 2007-08-08 12:05:51.000000000 -0400 ++++ remind-03.01.04.new/man/cm2rem.1 2008-02-25 14:07:36.000000000 -0500 +@@ -1,5 +1,5 @@ + .TH CM2REM 1 "18 October 1999" +-.UC4 ++.UC 4 + .SH NAME + cm2rem.tcl \- Convert Sun's "cm" input file to Remind format + .SH SYNOPSIS diff -Naur remind-03.00.24/debian/patches/02-correct-substitution.diff remind-03.01.04/debian/patches/02-correct-substitution.diff --- remind-03.00.24/debian/patches/02-correct-substitution.diff 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/patches/02-correct-substitution.diff 1969-12-31 19:00:00.000000000 -0500 @@ -1,21 +0,0 @@ -02-correct-substitution.diff by Rene van Bevern <[EMAIL PROTECTED]> - -when using the -k option and '%s' is at the end of the line, -an aditional s was appended -template fill before patch after patch -'a%s' foo 'afoos' 'afoo' -'a%s ' foo 'afoo' 'afoo' - -only append the rest of the line if there actually is a rest - ---- remind-03.00.23.orig/src/dorem.c 2005-04-19 15:08:46.000000000 +0200 -+++ remind-03.00.23/src/dorem.c 2005-04-19 21:19:49.000000000 +0200 -@@ -981,7 +981,7 @@ - } - } - } -- if (l >= 0 && DBufPutc(&execBuffer, cmd[l]) != OK) { -+ if (l!=(i-1) && l >= 0 && DBufPutc(&execBuffer, cmd[l]) != OK) { - r = E_NO_MEM; - goto finished; - } diff -Naur remind-03.00.24/debian/patches/03-broken-postscript.patch remind-03.01.04/debian/patches/03-broken-postscript.patch --- remind-03.00.24/debian/patches/03-broken-postscript.patch 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/patches/03-broken-postscript.patch 1969-12-31 19:00:00.000000000 -0500 @@ -1,17 +0,0 @@ -Do not print closing bracket if a "remind -p" entry ends in space -characters. It is already printed as a part of the invoked finish: -label, which results in an additional bracket that corrupts the -generated PostScript. - René van Bevern <[EMAIL PROTECTED]> - -diff -Nur remind-03.00.23/src/rem2ps.c remind-03.00.23.new/src/rem2ps.c ---- remind-03.00.23/src/rem2ps.c 2005-07-29 12:24:53.000000000 +0200 -+++ remind-03.00.23.new/src/rem2ps.c 2005-07-29 12:25:05.000000000 +0200 -@@ -643,7 +643,6 @@ - PutChar(')'); - while(isspace((unsigned char)*s)) s++; - if (!*s) { -- printf("]\n"); - goto finish; - } - PutChar('('); diff -Naur remind-03.00.24/debian/patches/04-manpage-typos.diff remind-03.01.04/debian/patches/04-manpage-typos.diff --- remind-03.00.24/debian/patches/04-manpage-typos.diff 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/patches/04-manpage-typos.diff 1969-12-31 19:00:00.000000000 -0500 @@ -1,51 +0,0 @@ -04-manpage-typos.diff by A Costa <[EMAIL PROTECTED]> - -Fixes some typos in the manual pages - ---- remind.orig/man/remind.1 2005-05-27 18:58:46.455390000 -0400 -+++ remind/man/remind.1 2005-05-27 18:58:46.000000000 -0400 -@@ -2245,13 +2245,13 @@ - .TP - .B sunrise([d_date]) - Returns a \fBTIME\fR indicating the time of sunrise on the specified --\fIdate\fR (default \fBtoday()\fR.) In high lattitudes, there -+\fIdate\fR (default \fBtoday()\fR.) In high latitudes, there - may be no sunrise on a particular day, in which case \fBsunrise()\fR - returns the \fBINT\fR 0 if the sun never sets, or 1440 if it never rises. - .TP - .B sunset([d_date]) - Returns a \fBTIME\fR indicating the time of sunset on the specified --\fIdate\fR (default \fBtoday()\fR.) In high lattitudes, there -+\fIdate\fR (default \fBtoday()\fR.) In high latitudes, there - may be no sunset on a particular day, in which case \fBsunset()\fR - returns the \fBINT\fR 0 if the sun never rises, or 1440 if it never - sets. -@@ -3269,7 +3269,7 @@ - .fi - .PP - In Calendar Mode (with the \fB\-c\fR, \fB\-s\fR or \fB\-p\fR options), --an analagous pair of functions named \fBcalprefix()\fR and -+an analogous pair of functions named \fBcalprefix()\fR and - \fBcalsuffix()\fR can be defined. They work with all reminders which - produce an entry in the calendar (i.e., \fBCAL\fR- and possibly - \fBRUN\fR-type reminders as well as \fBMSG\fR-type reminders.) ---- remind.orig/man/tkremind.1 2005-05-27 19:01:07.811135000 -0400 -+++ remind/man/tkremind.1 2005-05-27 19:01:07.000000000 -0400 -@@ -73,7 +73,7 @@ - the check button to enable an expiry date, and fill in the values - using pull-down menus. - --The third control specifes how much advance notice you want (if any), -+The third control specifies how much advance notice you want (if any), - and whether or not weekends and holidays are counted when computing advance - notice. - -@@ -257,7 +257,7 @@ - script file. It also places special comments in the reminder - file to store additional state. You can certainly mix - "hand-crafted" reminders with reminders created by \fBTkRemind\fR --if you are awared of the following rules and limitations: -+if you are aware of the following rules and limitations: - .TP - o - Do not use the \fBTAG\fR keyword in hand-crafted reminders. diff -Naur remind-03.00.24/debian/patches/05-tkremind-newlines.diff remind-03.01.04/debian/patches/05-tkremind-newlines.diff --- remind-03.00.24/debian/patches/05-tkremind-newlines.diff 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/patches/05-tkremind-newlines.diff 1969-12-31 19:00:00.000000000 -0500 @@ -1,25 +0,0 @@ -Putting newlines into reminder files destorys them. - René van Bevern <[EMAIL PROTECTED]> - ---- remind-03.00.23.orig/scripts/tkremind -+++ remind-03.00.23/scripts/tkremind -@@ -1240,7 +1240,8 @@ - lappend ans "-global-$winstem" [eval set $winstem] - } - "Entry" { -- lappend ans "-entry-$winstem" [$win get] -+ # Do not put newlines in the reminder files -+ lappend ans "-entry-$winstem" [string map -nocase {"\n" " "} [$win get]] - } - } - } -@@ -1519,7 +1520,8 @@ - regsub -- {^-stdin-\([0-9]*\): } $err {} err - error "Error from Remind: $err" - } -- append rem " MSG $body" -+ # Do not include newline characters after MSG -+ append rem " MSG " [string map -nocase {"\n" " "} $body] - return $rem - } - diff -Naur remind-03.00.24/debian/patches/06-fix-manpage-errors.patch remind-03.01.04/debian/patches/06-fix-manpage-errors.patch --- remind-03.00.24/debian/patches/06-fix-manpage-errors.patch 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/patches/06-fix-manpage-errors.patch 1969-12-31 19:00:00.000000000 -0500 @@ -1,34 +0,0 @@ -diff -Nur remind/man/cm2rem.1 remind.new/man/cm2rem.1 ---- remind/man/cm2rem.1 2005-12-14 16:10:04.000000000 +0000 -+++ remind.new/man/cm2rem.1 2005-12-14 16:10:06.000000000 +0000 -@@ -1,6 +1,6 @@ - .\" $Id: cm2rem.1,v 1.2 2000/03/15 15:51:36 dfs Exp $ - .TH CM2REM 1 "18 October 1999" --.UC4 -+.UC 4 - .SH NAME - cm2rem.tcl \- Convert Sun's "cm" input file to Remind format - .SH SYNOPSIS -diff -Nur remind/man/rem2ps.1 remind.new/man/rem2ps.1 ---- remind/man/rem2ps.1 2005-04-19 13:08:46.000000000 +0000 -+++ remind.new/man/rem2ps.1 2005-12-14 16:10:39.000000000 +0000 -@@ -1,6 +1,6 @@ - .\" $Id: rem2ps.1,v 1.6 2005/04/12 00:57:48 dfs Exp $ - .TH REM2PS 1 "11 April 2005" --.UC4 -+.UC 4 - .SH NAME - rem2ps \- draw a PostScript calendar from Remind output - .SH SYNOPSIS -diff -Nur remind/man/remind.1 remind.new/man/remind.1 ---- remind/man/remind.1 2005-12-14 16:10:06.000000000 +0000 -+++ remind.new/man/remind.1 2005-12-14 16:13:57.000000000 +0000 -@@ -3790,7 +3790,7 @@ - Rafa Couto - .PP - \fBIcelandic\fR -- --Björn Davíðsson -+Bj\(:orn Dav\('i\[Sd]sson - .SH BUGS - .PP - There's no good reason why read-only system variables are not diff -Naur remind-03.00.24/debian/patches/07-manpage-escape-minuses.patch remind-03.01.04/debian/patches/07-manpage-escape-minuses.patch --- remind-03.00.24/debian/patches/07-manpage-escape-minuses.patch 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/patches/07-manpage-escape-minuses.patch 1969-12-31 19:00:00.000000000 -0500 @@ -1,286 +0,0 @@ -diff -Nur remind-03.00.24/man/rem2ps.1 remind-03.00.24.new/man/rem2ps.1 ---- remind-03.00.24/man/rem2ps.1 2006-10-08 14:28:25.000000000 -0400 -+++ remind-03.00.24.new/man/rem2ps.1 2006-10-08 14:28:50.000000000 -0400 -@@ -122,10 +122,10 @@ - numbers. - - .PP --Type "rem2ps -m help" for a list of available media. Note that the media -+Type "rem2ps \-m help" for a list of available media. Note that the media - type (and all \fBRem2ps\fR options) are case-sensitive. If you don't use - the \fB\-m\fR option, the media defaults to a compiled-in default - this --is usually Letter for North America and A4 for Europe. The "-m help" -+is usually Letter for North America and A4 for Europe. The "\-m help" - option will display the compiled-in default. - .RE - .TP -@@ -138,7 +138,7 @@ - .RS - .PP - .nf -- -ftshe Helvetica -fd Helvetica-BoldOblique -+ \-ftshe Helvetica \-fd Helvetica-BoldOblique - .fi - .PP - In other words, the heading, entry and small-calendar fonts are set -@@ -154,7 +154,7 @@ - .RS - .PP - .nf -- -sthd 14 -se 8 -+ \-sthd 14 \-se 8 - .fi - .PP - In other words, the heading and day numbers are 14-point fonts, and the -@@ -180,7 +180,7 @@ - .PP - .nf - # This gives good results for putting into a binder -- rem2ps -ol 72 -sh 12 -+ rem2ps \-ol 72 \-sh 12 - .fi - .SH USAGE - To use \fBRem2ps\fR, you should pipe the output of \fBRemind\fR with the \fB\-p\fR -@@ -188,14 +188,14 @@ - illustrated with examples: - .PP - .nf -- remind -p12 /dev/null 1 jan 1994 | rem2ps | lpr -Plaser -+ remind \-p12 /dev/null 1 jan 1994 | rem2ps | lpr \-Plaser - .fi - .PP - That example creates a blank calendar for the entire year of 1994, and - sends it the the printer named "laser." - .PP - .nf -- remind -p ~/.reminders | rem2ps -l -sd 18 > cal.ps -+ remind \-p ~/.reminders | rem2ps \-l \-sd 18 > cal.ps - .fi - .PP - This reminder creates a calendar for the current month, filling in -diff -Nur remind-03.00.24/man/remind.1 remind-03.00.24.new/man/remind.1 ---- remind-03.00.24/man/remind.1 2006-10-08 14:28:25.000000000 -0400 -+++ remind-03.00.24.new/man/remind.1 2006-10-08 14:28:26.000000000 -0400 -@@ -168,7 +168,7 @@ - pops up a window and displays its invocation arguments. You could use: - .PP - .nf -- remind '-kxmessage %s &' ... -+ remind '\-kxmessage %s &' ... - .fi - .PP - to have all of your \fBMSG\fR-type reminders processed using xmessage. -@@ -585,7 +585,7 @@ - The \fIback\fR specification in the reminder is used in this case: - .PP - .nf -- REM Mon 1 -7 MSG Last Monday of every month. -+ REM Mon 1 \-7 MSG Last Monday of every month. - .fi - .PP - A \fIback\fR is specified with one or two dashes followed by an integer. -@@ -726,7 +726,7 @@ - preceding it. The omitted days are counted. - .PP - .nf -- REM 1 -1 OMIT Sat Sun MSG Last working day of month -+ REM 1 \-1 OMIT Sat Sun MSG Last working day of month - .fi - .PP - Again, in the above example, the \fIback\fR of \-1 normally causes the -@@ -811,7 +811,7 @@ - scripts, where you can use the command: - .PP - .nf -- remind -fa myreminders & -+ remind \-fa myreminders & - .fi - .PP - This ensures that when you exit X-Windows, the \fBRemind\fR process is killed. -@@ -1369,7 +1369,7 @@ - The following examples illustrate constants in \fBRemind\fR expressions: - .TP - .B INT constants --12, 36, -10, 0, 1209 -+12, 36, \-10, 0, 1209 - .TP - .B STRING constants - "Hello there", "This is a test", "\\n\\gosd\\w", "" -@@ -1690,7 +1690,7 @@ - .TP - .B $LatDeg, $LatMin, $LatSec - These specify the latitude of your location. \fB$LatDeg\fR can --range from -90 to 90, and the others from -59 to 59. Northern latitudes -+range from \-90 to 90, and the others from \-59 to 59. Northern latitudes - are positive; southern ones are negative. For southern latitudes, all - three components should be negative. - .TP -@@ -1702,7 +1702,7 @@ - .TP - .B $LongDeg, $LongMin, $LongSec - These specify the longitude of your location. \fB$LongDeg\fR can --range from -180 to 180. Western longitudes are positive; eastern -+range from \-180 to 180. Western longitudes are positive; eastern - ones are negative. - .RS - .PP -@@ -1812,11 +1812,11 @@ - write and execute permission testing. Alternatively, \fImode\fR can - be a number as described in the UNIX \fBaccess\fR(2) system call. The - function returns 0 if the file can be accessed with the specified \fImode\fR, --and -1 otherwise. -+and \-1 otherwise. - .TP - .B args(s_fname) - Returns the number of arguments expected by the user-defined function --\fIfname\fR, or -1 if no such user-defined function exists. Note that -+\fIfname\fR, or \-1 if no such user-defined function exists. Note that - this function examines only user-defined functions, not built-in functions. - Its main use is to determine whether or not a particular user-defined - function has been defined previously. The \fBargs()\fR function is -@@ -2184,7 +2184,7 @@ - moon displayed, you could use this in your reminder script: - .PP - .nf -- REM [trigger(moondate(0))] PS [psmoon(0, -1, moontime(0)+"")] -+ REM [trigger(moondate(0))] PS [psmoon(0, \-1, moontime(0)+"")] - .fi - .PP - Note how the time is coerced to a string by concatenating the null string. -@@ -2221,7 +2221,7 @@ - in calendar mode, or if a date has been supplied on the command line. - .TP - .B sgn(i_num) --Returns -1 if \fInum\fR is negative, 1 if \fInum\fR is positive, -+Returns \-1 if \fInum\fR is negative, 1 if \fInum\fR is positive, - and 0 if \fInum\fR is zero. - .TP - .B shell(s_cmd [,i_maxlen]) -@@ -2512,7 +2512,7 @@ - ; Executed except on 1 Nov - ENDIF - -- IFTRIG 1 -1 OMIT Sat Sun +4 -+ IFTRIG 1 \-1 OMIT Sat Sun +4 - ; Executed on last working day of month, - ; and the 4 working days preceding it - ELSE -@@ -2540,7 +2540,7 @@ - .nf - FSET double(x) 2*x - FSET yeardiff(date1, date2) year(date1) - year(date2) -- FSET since(x) ord(year(trigdate())-x) -+ FSET since(x) ord(year(trigdate())\-x) - .fi - .PP - The last function is useful in birthday reminders. For example: -@@ -2664,7 +2664,7 @@ - Here's an example: - .PP - .nf -- FSET _sfun(x) choose(x, -60, 30, 15, 10, 3, 1, 1, 1, 1, 0) -+ FSET _sfun(x) choose(x, \-60, 30, 15, 10, 3, 1, 1, 1, 1, 0) - REM AT 13:00 SCHED _sfun MSG foo - .fi - .PP -@@ -2913,7 +2913,7 @@ - following command will send PostScript code to standard output: - .PP - .nf -- remind -p .reminders | rem2ps -+ remind \-p .reminders | rem2ps - .fi - .PP - You can print a PostScript calendar by piping this to the \fBlpr\fR command. -@@ -2922,7 +2922,7 @@ - execute this command: - .PP - .nf -- remind -c .reminders jan 1993 -+ remind \-c .reminders jan 1993 - .fi - .PP - then \fBRemind\fR executes the script 31 times, once for each day in -@@ -3156,7 +3156,7 @@ - so to run in the daemon mode in the background, use: - .PP - .nf -- remind -z .reminders & -+ remind \-z .reminders & - .fi - .PP - If you use \fBsh\fR or \fBbash\fR, you may have to use the "nohup" command -@@ -3508,7 +3508,7 @@ - .PP - The \fBSPECIAL\fR keyword is used to transmit "out-of-band" information - to \fBRemind\fR backends, such as \fBtkremind\fR or \fBRem2PS\fR. --They are used only when piping data from a \fBremind -p\fR line. -+They are used only when piping data from a \fBremind \-p\fR line. - .PP - The various \fBSPECIAL\fRs recognized are particular for each - backend; however, there are three \fBSPECIAL\fRs which all backends -@@ -3547,7 +3547,7 @@ - 1 the first quarter, 2 a full moon and 3 the last quarter. - .PP - \fImoonsize\fR is the diameter in PostScript units of the moon to --draw. If omitted or supplied as -1, the backend chooses an appropriate -+draw. If omitted or supplied as \-1, the backend chooses an appropriate - size. - .PP - \fIfontsize\fR is the font size in PostScript units of the \fImsg\fR -@@ -3606,7 +3606,7 @@ - .PP - .nf - REM 5 Feb 1991 AT 14:00 +45 *30 \\ -- RUN mail -s "Meeting at %2" $LOGNAME </dev/null & -+ RUN mail \-s "Meeting at %2" $LOGNAME </dev/null & - .fi - .PP - On 5 February, 1991, this reminder will mail -@@ -3615,14 +3615,14 @@ - and the body of the message will be blank. - .PP - .nf -- REM AT 17:00 RUN echo "5:00pm - GO HOME!" | xless -g +0+0 & -+ REM AT 17:00 RUN echo "5:00pm - GO HOME!" | xless \-g +0+0 & - .fi - .PP - This reminder will pop up an xless window at 5:00pm every day. The xless - window will contain the line "5:00pm - GO HOME!" - .PP - .nf -- REM AT 23:59 RUN (sleep 120; remind -a [filename()]) & -+ REM AT 23:59 RUN (sleep 120; remind \-a [filename()]) & - .fi - .PP - This reminder will run at one minute to midnight. It will cause a new -@@ -3640,7 +3640,7 @@ - 1993, with all entries left blank. - .PP - .nf -- REM CAL [trigdate()-date(year(trigdate()), 1, 1)+1] -+ REM CAL [trigdate()\-date(year(trigdate()), 1, 1)+1] - .fi - .PP - This example puts an entry in each box of a calendar showing the number -@@ -3700,7 +3700,7 @@ - following sequence: - .PP - .nf -- REM Mon 1 Sept SCANFROM [trigger(today()-7)] SATISFY 1 -+ REM Mon 1 Sept SCANFROM [trigger(today()\-7)] SATISFY 1 - OMIT [trigger(trigdate())] - - REM Mon AFTER MSG Hello -diff -Nur remind-03.00.24/man/tkremind.1 remind-03.00.24.new/man/tkremind.1 ---- remind-03.00.24/man/tkremind.1 2006-10-08 14:28:25.000000000 -0400 -+++ remind-03.00.24.new/man/tkremind.1 2006-10-08 14:28:26.000000000 -0400 -@@ -178,7 +178,7 @@ - .TP - .B Show Today's Reminders on Startup - If this is selected, \fBTkRemind\fR shows a text window containing reminders --which would be issued by "remind -q -a -r" on startup, and when the date -+which would be issued by "remind \-q \-a \-r" on startup, and when the date - changes at midnight. - - .TP diff -Naur remind-03.00.24/debian/patches/08-eliminate-rem-kall-in-deb-manpage.patch remind-03.01.04/debian/patches/08-eliminate-rem-kall-in-deb-manpage.patch --- remind-03.00.24/debian/patches/08-eliminate-rem-kall-in-deb-manpage.patch 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/patches/08-eliminate-rem-kall-in-deb-manpage.patch 1969-12-31 19:00:00.000000000 -0500 @@ -1,15 +0,0 @@ -diff -Nur remind-03.00.24/man/remind.1 remind-03.00.24.new/man/remind.1 ---- remind-03.00.24/man/remind.1 2006-10-08 14:57:49.000000000 -0400 -+++ remind-03.00.24.new/man/remind.1 2006-10-08 15:01:19.000000000 -0400 -@@ -1,4 +1,4 @@ --.\" $Id: remind.1,v 1.16 2005/09/30 03:33:53 dfs Exp $ -+ .\" $Id: remind.1,v 1.16 2005/09/30 03:33:53 dfs Exp $ - .TH REMIND 1 "11 April 2005" - .UC 4 - .SH NAME -@@ -3824,4 +3824,4 @@ - .PP - .SH SEE ALSO - .PP --rem, elm, kall, rem2ps, tkremind -+elm, rem2ps, tkremind diff -Naur remind-03.00.24/debian/README.Debian remind-03.01.04/debian/README.Debian --- remind-03.00.24/debian/README.Debian 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/README.Debian 1969-12-31 19:00:00.000000000 -0500 @@ -1,24 +0,0 @@ -remind for Debian ------------------ - -rem ---- -The upstream remind contains a script "rem" that uses a default reminder -file (~/.reminders) and calls remind with that. Since this script has had -several problems in the past, it has been dropped from the Debian package. - -The functionality of "rem" is instead provided by "remind" itself, the -filename argument is optional if no date or time are specified. This change -is approved by the upstream author and is going to be part of future remind -upstream versions. - -kall ----- -The upstream remind contains a script "kall" that sends signals to all -processes whose name is given at the command line and thus does the -same as "killall". - -"kall" is therefore dropped from the Debian package and you should use -killall(1) instead. - - -- René van Bevern <[EMAIL PROTECTED]>, Sun, 26 May 2005 20:14:12 +0200 diff -Naur remind-03.00.24/debian/rules remind-03.01.04/debian/rules --- remind-03.00.24/debian/rules 2008-02-22 17:18:46.000000000 -0500 +++ remind-03.01.04/debian/rules 2008-02-25 13:17:43.000000000 -0500 @@ -11,12 +11,7 @@ install/remind:: mv debian/remind/usr/bin/cm2rem.tcl debian/remind/usr/bin/cm2rem - rm debian/remind/usr/bin/kall - rm debian/remind/usr/share/man/man1/kall.1 - rm debian/remind/usr/bin/rem - rm debian/remind/usr/share/man/man1/rem.1 - - dh_installchangelogs docs/WHATSNEW.30 + dh_installchangelogs docs/WHATSNEW docs/README.UNIX binary-post-install/remind:: chmod -R 644 debian/remind/usr/share/doc/remind/examples
signature.asc
Description: Digital signature