diff -Naur wfdb-10.3.6/MANIFEST wfdb-10.3.7/MANIFEST --- wfdb-10.3.6/MANIFEST Mon Apr 7 15:06:33 2003 +++ wfdb-10.3.7/MANIFEST Tue May 6 16:41:47 2003 @@ -284,6 +284,7 @@ doc/wag-src/.latex2html-init doc/wag-src/log10.1 doc/wag-src/lomb.1 +doc/wag-src/lwcat.1 doc/wag-src/Makefile doc/wag-src/Makefile.top doc/wag-src/Makefile.tpl @@ -475,6 +476,8 @@ fortran/example.f fortran/fsamples.f fortran/Makefile +fortran/Makefile.top +fortran/Makefile.tpl fortran/README fortran/wfdbf.c INSTALL diff -Naur wfdb-10.3.6/Makefile wfdb-10.3.7/Makefile --- wfdb-10.3.6/Makefile Mon Apr 7 14:34:37 2003 +++ wfdb-10.3.7/Makefile Tue May 6 16:39:36 2003 @@ -39,12 +39,12 @@ # create source archives, type `make tarballs'; or to make a binary archive, # type `make bin-tarball'. Making archives requires PGP, gzip, and GNU tar). # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -61,10 +61,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/NEWS wfdb-10.3.7/NEWS --- wfdb-10.3.6/NEWS Mon Apr 7 10:53:00 2003 +++ wfdb-10.3.7/NEWS Tue May 6 15:53:44 2003 @@ -1,3 +1,8 @@ +10.3.7: + Fixed a bug in xform, introduced in 10.3.4, that prevented xform from + reading the output sampling frequency from the standard input. Thanks + to Thomas Heldt for the bug report. + 10.3.6: The fix applied in isigclose() in 10.3.5 was incomplete but is now (really!) fixed. Applications that use sample() should call wfdbquit() @@ -12,6 +17,7 @@ several different http servers, the strategy for handling such problems within the WFDB NETFILES code has been improved substantially, but there may be further room for improvement. + 10.3.5: Fixed a bug in WFDB library function isigclose() (in lib/signal.c) that had caused sample()'s buffer to be freed inappropriately when diff -Naur wfdb-10.3.6/app/Makefile wfdb-10.3.7/app/Makefile --- wfdb-10.3.6/app/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/app/Makefile Tue May 6 16:39:36 2003 @@ -33,12 +33,12 @@ # type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,10 +55,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/app/xform.c wfdb-10.3.7/app/xform.c --- wfdb-10.3.6/app/xform.c Wed Mar 26 15:30:07 2003 +++ wfdb-10.3.7/app/xform.c Tue May 6 15:41:41 2003 @@ -353,7 +353,7 @@ "Output sampling frequency (Hz per signal, > 0) [%g]: ", ofreq); (void)fgets(answer, sizeof(answer), ttyin); - (void)sscanf(answer, "%g", &ofreq); + (void)sscanf(answer, "%lf", &ofreq); } while (ofreq < 0); if (ofreq == 0) ofreq = WFDB_DEFFREQ; if (nosig > 0) { diff -Naur wfdb-10.3.6/checkpkg/Makefile wfdb-10.3.7/checkpkg/Makefile --- wfdb-10.3.6/checkpkg/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/checkpkg/Makefile Tue May 6 16:39:36 2003 @@ -31,12 +31,12 @@ # directory). To print a set of source listings, type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -53,10 +53,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/checkpkg/expected/lcheck_cal wfdb-10.3.7/checkpkg/expected/lcheck_cal --- wfdb-10.3.6/checkpkg/expected/lcheck_cal Mon Jun 17 18:07:53 2002 +++ wfdb-10.3.7/checkpkg/expected/lcheck_cal Tue May 6 16:31:22 2003 @@ -1,7 +1,10 @@ ECG - 1 sine 1 mV EEG - - undefined 0.1 mV +EEG - - undefined 100 uV EOG - - undefined 0.1 mV +EOG - - undefined 100 uV EMG - - undefined 0.1 mV +EMG - - undefined 100 uV BP 0 100 square 100 mmHg ABP 0 - square 100 mmHg Resp - - undefined 1 l diff -Naur wfdb-10.3.6/conf/version.def wfdb-10.3.7/conf/version.def --- wfdb-10.3.6/conf/version.def Mon Apr 7 10:07:35 2003 +++ wfdb-10.3.7/conf/version.def Wed Apr 9 12:18:51 2003 @@ -1,10 +1,10 @@ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official diff -Naur wfdb-10.3.6/convert/Makefile wfdb-10.3.7/convert/Makefile --- wfdb-10.3.6/convert/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/convert/Makefile Tue May 6 16:39:36 2003 @@ -33,12 +33,12 @@ # type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,10 +55,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/data/Makefile wfdb-10.3.7/data/Makefile --- wfdb-10.3.6/data/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/data/Makefile Tue May 6 16:39:36 2003 @@ -33,12 +33,12 @@ # listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,10 +55,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/data/wfdbcal wfdb-10.3.7/data/wfdbcal --- wfdb-10.3.6/data/wfdbcal Thu Jun 24 11:38:28 1999 +++ wfdb-10.3.7/data/wfdbcal Wed Apr 9 11:15:05 2003 @@ -1,5 +1,5 @@ # file: wfdbcal G. Moody June 1991 -# Last revised: 7 May 1999 +# Last revised: 9 April 2003 # Default calibration database for WFDB library # # Format: @@ -17,8 +17,11 @@ ECG - 1 sine 1 mV EEG - - undefined 0.1 mV +EEG - - undefined 100 uV EOG - - undefined 0.1 mV +EOG - - undefined 100 uV EMG - - undefined 0.1 mV +EMG - - undefined 100 uV BP 0 100 square 100 mmHg ABP 0 - square 100 mmHg Resp - - undefined 1 l @@ -53,4 +56,5 @@ # Definitions for nameless signals with defined units record - - undefined 1 mV +record - - undefined 1000 uV record - - undefined 100 mmHg diff -Naur wfdb-10.3.6/doc/Makefile wfdb-10.3.7/doc/Makefile --- wfdb-10.3.6/doc/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/doc/Makefile Tue May 6 16:39:36 2003 @@ -134,12 +134,12 @@ # `make ug'. To print the WFDB Programmer's Guide, type `make pg'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -156,10 +156,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/doc/wag-src/Makefile wfdb-10.3.7/doc/wag-src/Makefile --- wfdb-10.3.6/doc/wag-src/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/doc/wag-src/Makefile Tue May 6 16:39:36 2003 @@ -59,12 +59,12 @@ # PostScript 'make wag.ps' (requires troff, tbl, latex, and dvips) # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -81,10 +81,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 @@ -247,7 +247,7 @@ echo "Nothing to be done for lib-post-uninstall" # _____________________________________________________________________________ # file: Makefile.tpl G. Moody 24 May 2000 -# Last revised: 4 March 2003 +# Last revised: 9 April 2003 # Change the settings below as appropriate for your setup. # D2PARGS is a list of options for dvips. Uncomment one of these to set the @@ -384,7 +384,9 @@ test -d $(MAN3) || ( mkdir -p $(MAN3); $(SETDPERMISSIONS) $(MAN3) ) test -d $(MAN5) || ( mkdir -p $(MAN5); $(SETDPERMISSIONS) $(MAN5) ) test -d $(MAN7) || ( mkdir -p $(MAN7); $(SETDPERMISSIONS) $(MAN7) ) + mv view.1 dview.1 # avoid conflict with vi's "view" ./maninst.sh $(MAN1) $(MAN3) $(MAN5) $(MAN7) "$(SETPERMISSIONS)" + mv dview.1 view.1 cd $(MAN1); $(LN) a2m.1 ad2m.1 cd $(MAN1); $(LN) a2m.1 ahaconvert.1 cd $(MAN1); $(LN) a2m.1 m2a.1 @@ -397,7 +399,7 @@ cd $(MAN1); $(LN) plot2d.1 plot3d.1 cd $(MAN1); $(LN) pnnlist.1 pNNx.1 cd $(MAN1); $(LN) setwfdb.1 cshsetwfdb.1 - cd $(MAN1); $(LN) view.1 vsetup.1 + cd $(MAN1); $(LN) dview.1 vsetup.1 cd $(MAN1); $(LN) wav2mit.1 mit2wav.1 cd $(MAN1); $(LN) wave.1 gtkwave.1 diff -Naur wfdb-10.3.6/doc/wag-src/Makefile.tpl wfdb-10.3.7/doc/wag-src/Makefile.tpl --- wfdb-10.3.6/doc/wag-src/Makefile.tpl Tue Mar 4 15:37:46 2003 +++ wfdb-10.3.7/doc/wag-src/Makefile.tpl Wed Apr 9 12:06:36 2003 @@ -1,5 +1,5 @@ # file: Makefile.tpl G. Moody 24 May 2000 -# Last revised: 4 March 2003 +# Last revised: 9 April 2003 # Change the settings below as appropriate for your setup. # D2PARGS is a list of options for dvips. Uncomment one of these to set the @@ -136,7 +136,9 @@ test -d $(MAN3) || ( mkdir -p $(MAN3); $(SETDPERMISSIONS) $(MAN3) ) test -d $(MAN5) || ( mkdir -p $(MAN5); $(SETDPERMISSIONS) $(MAN5) ) test -d $(MAN7) || ( mkdir -p $(MAN7); $(SETDPERMISSIONS) $(MAN7) ) + mv view.1 dview.1 # avoid conflict with vi's "view" ./maninst.sh $(MAN1) $(MAN3) $(MAN5) $(MAN7) "$(SETPERMISSIONS)" + mv dview.1 view.1 cd $(MAN1); $(LN) a2m.1 ad2m.1 cd $(MAN1); $(LN) a2m.1 ahaconvert.1 cd $(MAN1); $(LN) a2m.1 m2a.1 @@ -149,7 +151,7 @@ cd $(MAN1); $(LN) plot2d.1 plot3d.1 cd $(MAN1); $(LN) pnnlist.1 pNNx.1 cd $(MAN1); $(LN) setwfdb.1 cshsetwfdb.1 - cd $(MAN1); $(LN) view.1 vsetup.1 + cd $(MAN1); $(LN) dview.1 vsetup.1 cd $(MAN1); $(LN) wav2mit.1 mit2wav.1 cd $(MAN1); $(LN) wave.1 gtkwave.1 diff -Naur wfdb-10.3.6/doc/wag-src/imageplt.1 wfdb-10.3.7/doc/wag-src/imageplt.1 --- wfdb-10.3.6/doc/wag-src/imageplt.1 Thu Dec 19 17:14:24 2002 +++ wfdb-10.3.7/doc/wag-src/imageplt.1 Tue May 6 16:11:23 2003 @@ -45,4 +45,4 @@ .SH AUTHOR George B. Moody (\fBgeorge@mit.edu\fR) .SH SOURCE -\fBhttp://www.physionet.org/physiotools/plt/misc/imageplt.c\fR +\fBhttp://www.physionet.org/physiotools/plt/plt/misc/imageplt.c\fR diff -Naur wfdb-10.3.6/doc/wag-src/lwcat.1 wfdb-10.3.7/doc/wag-src/lwcat.1 --- wfdb-10.3.6/doc/wag-src/lwcat.1 Wed Dec 31 19:00:00 1969 +++ wfdb-10.3.7/doc/wag-src/lwcat.1 Thu May 1 14:50:40 2003 @@ -0,0 +1,125 @@ +.TH LWCAT 1 "1 May 2003" "plt 2.3" "WFDB Applications Guide" +.SH NAME +lwcat \- postprocess output of plt to make PostScript, EPS, PDF or PNG +.SH SYNOPSIS +\fBplt -T lw\fR ... \fB| lwcat\fR [ \fIoptions ...\fR ] +.SH DESCRIPTION +.PP +\fBlwcat\fR collects the PostScript output of \fBplt\fR(1) and adds a prolog +and epilog to create a complete PostScript document (or another format, if +appropriate options have been selected). It is possible to concatenate +the outputs of two or more \fBplt\fR runs to be processed as a single +job by \fBlwcat\fR; see the \fIplt Tutorial and Cookbook\fR for details. +.SS Output format +.PP +By default, \fBlwcat\fR sends its output directly to the default printer +via \fBlpr\fR. These options may be used to modify this behavior: +.TP +\fB-no\fR +Send the output to the printer, but don't eject the page (use this option +if you wish to overlay the output with additional material to be produced by +another program). +.TP +\fB-ps\fR +Write PostScript to the standard output (not to the printer). +.TP +\fB-psv\fR +Write PostScript to a temporary file and view it with \fBgv\fR (ghostscript). +.TP +\fB-gv\fR +Same as \fB-psv\fR. +.TP +\fB-eps\fR +Write EPSF (encapsulated PostScript format) to the standard output. Note +that this is only a close approximation to EPSF; it is acceptable to LaTeX's +epsfig package, at least. +.TP +\fB-pdf\fR +Write PDF (portable document format) to the standard output. +.TP +\fB-png\fR +Write PNG (portable network graphics) format to the standard output. + +.SS Window options +.PP +By default, the output appears within a 6.75x6 inch (171x152 mm) window, +the lower left corner of which is positioned 1 inch (25.4 mm) from the +left edge and 3.5 inches (89 mm) from the bottom edge of the page. The +following options may be used to modify the size, location, and orientation +of the output: +.TP +\fB-landscape\fR +Use landscape mode (rotate plot 90 degrees counterclockwise). +.TP +\fB-sq\fR +Plot in a 6x6 inch (152x152 mm) square window, 1.25 inches (32 mm) from the +left edge and 3.5 inches (89 mm) from the bottom edge of the page. +.TP +\fB-t\fR +Plot in a 6.25x6.25 inch (159x159 mm) square window, positioned as for +\fB-sq\fR. +.TP +\fB-t2\fR +Plot in a 6.25x4 inch (159x102 mm) window, positioned as for \fB-sq\fR. +.TP +\fB-CinC\fR +Plot in a 4.75x3.15 inch (121x80 mm) window, positioned as for \fB-sq\fR. +.TP +\fB-sq2\fR +Plot in a 4.5x5.5 inch (114x140 mm) window, 2.5 inches (63 mm) from the left +and bottom edges of the page. +.TP +\fB-v\fR +Plot in a 7x9.5 inch (178x241 mm) window, 0.75 inches (19 mm) from the left +and bottom edges of the page (centered on a US letter sheet). +.TP +\fB-v2\fR +Plot in a 7x8.5 inch (178x216 mm) window, positioned as for \fB-v\fR. +.TP +\fB-va4\fR +Plot in a 190x275 mm window, centered on an A4 sheet. +.TP +\fB-full\fR +Plot in a 7.5x10 inch (191x254 mm) window, centered on a US letter sheet. +.TP +\fB-slide\fR +Plot in a 7.5x5 inch (191x127 mm) window, 0.5 inches (12.7 mm) from the left +edge and 3 inches (76 mm) from the bottom edge of the page (3:2 aspect ratio, +as for 35 mm slides). +.TP +\fB-screen\fR +Plot in a 7.5x5.625 inch (191x143 mm) window, 0.5 inches (12.7 mm) from the +left edge and 2.375 inches (60 mm) from the bottom edge of the page (4:3 +screen aspect ratio). +.TP +\fB-golden\fR +Plot in a 7.5x4.635 inch (191x118 mm) window, 0.5 inches (12.7 mm) from the +left edge and 3.365 inches (85 mm) from the bottom edge of the page +(the aspect ratio is approximately the "golden ratio", (1+sqrt(5))/2 = 1.61803 +...). +.PP +Other window options can be easily added; see the source for \fBlwcat\fR +for details. + +.SS Copies +.PP +By default, \fBlwcat\fR prints a single copy. Multiple copies can be +produced using the options \fB-c2\fR, \fB-c3\fR, \fB-c4\fR, \fB-c5\fR, and +\fB-c6\fR; when using a PostScript printer, this will almost always be much +faster than rerunning \fBlwcat\fR, since the document is downloaded and +rasterized only once when using these options. To print more than 6 copies, +repeat or combine these options as needed. +.SH FILES +.TP +\fB/usr/lib/ps/plt.pro\fR +PostScript prolog +.SH SEE ALSO +.PP +\fBplt\fR(1) +.SH AVAILABILITY +\fBlwcat\fR is available as part of the \fBplt\fR package in +PhysioToolkit (see \fBSOURCE\fR below) under the GPL. +.SH AUTHORS +Paul Albrecht and George B. Moody (\fBgeorge@mit.edu\fR) +.SH SOURCE +\fBhttp://www.physionet.org/physiotools/plt/src/lwcat\fR diff -Naur wfdb-10.3.6/doc/wag-src/plt.1 wfdb-10.3.7/doc/wag-src/plt.1 --- wfdb-10.3.6/doc/wag-src/plt.1 Thu Dec 19 16:01:58 2002 +++ wfdb-10.3.7/doc/wag-src/plt.1 Thu May 1 14:45:21 2003 @@ -205,7 +205,7 @@ As for \fB-hl\fR, but print the label in a vertical orientation (rotated 90 degrees counterclockwise). .TP -\fB-le \fR\fIlinenumber plotnumber\fR [ \fItext\fR ] +\fB-le\fR\fI linenumber plotnumber\fR [ \fItext\fR ] Define the specified \fIlinenumber\fR in the legend (see also \fB-lp\fR). Line numbers in the legend begin with 0 (the top line); plot numbers also begin with 0 (these refer to the data plots, and are used here to determine @@ -219,7 +219,7 @@ options with the same \fIlinenumber\fR and different \fIplotnumbers\fR, omitting the \fItext\fR for all but the first. .TP -\fB-lp \fR\fIxw0 yw0\fR [ \fIboxscale\fR [ \fIseglength\fR [ \fIopaque\fR ] ] ] +\fB-lp\fR\fI xw0 yw0\fR [ \fIboxscale\fR [ \fIseglength\fR [ \fIopaque\fR ] ] ] Define the window coordinates \fI(xw0, yw0)\fR of the upper left corner of the plot legend text, and other attributes for the plot legend (key). \fBplt\fR determines the size of the box it draws around the legend, but @@ -240,7 +240,7 @@ \fB-ly \fR [ \fIbase\fR [ \fIsubticks\fR ] ] Draw a logarithmic y-axis. .TP -\fB-tf \fR\fIfile\fR [ \fItbc\fR ] +\fB-tf\fR\fI file\fR [ \fItbc\fR ] Load the text string array from the specified \fIfile\fR. Each line of the \fIfile\fR defines an element of the string array; using plot styles \fBc\fR or \fBt\fR, these strings can be plotted in the same manner as @@ -259,11 +259,11 @@ plot style (\fB-p\fR) options, the strings can be used to change the font, line style (solid, dotted, dashed, etc.), or drawing color. .TP -\fB-x \fR\fIstring\fR +\fB-x\fR\fI string\fR Set the x-axis title to \fIstring\fR (which must be quoted if this option is used on the command line or if \fIstring\fR begins with `(' or `['). .TP -\fB-xa \fR\fIxmin xmax tick fmt tskip ycross\fR +\fB-xa\fR\fI xmin xmax tick fmt tskip ycross\fR Specify the x-axis range (as \fIxmin\fR to \fIxmax\fR); the interval between x-axis tick marks; the format, \fIfmt\fR, in which to print the numbers (e.g., ``\fB%.3f\fR'', ``\fB%.2e\fR''; any format that \fBprintf(3)\fR can use for @@ -273,75 +273,75 @@ ``-'', which causes \fBplt\fR to choose a reasonable value based on the input data. .TP -\fB-xe \fR\fIxmin-error xmax-error\fR +\fB-xe\fR\fI xmin-error xmax-error\fR Use this option to specify the amount by which the x-axis range is allowed to exceed the range of x-values in the input data, when \fBplt\fR determines the x-axis range automatically. .TP -\fB-xm \fR\fItick-base\fR +\fB-xm\fR\fI tick-base\fR Make x-axis ticks be multiples of the specified \fItick-base\fR. .TP -\fB-xo \fR\fIx-axis-offset\fR +\fB-xo\fR\fI x-axis-offset\fR Move the x-axis down by \fIx-axis-offset\fR (expressed as a fraction of the y-axis length). .TP \fB-xr\fR Draw the x-axis at the top of the plot .TP -\fB-xt \fR\fIx label\fR [ \fItick-size\fR ] +\fB-xt\fR\fI x label\fR [ \fItick-size\fR ] Add an extra labelled tick at the specified \fIx\fR position, and label it with the specified \fIlabel\fR (which may be any string). The optional \fItick-size\fR argument specifies the length of the added tick, as a fraction of the default length for labelled ticks (e.g., a value of 1.5 makes the added tick 50\% longer than the standard size). .TP -\fB-xts \fR\fIx\fR [ \fItick-size\fR ] +\fB-xts\fR\fI x\fR [ \fItick-size\fR ] Force a labelled tick to appear on the x-axis at the specified \fIx\fR (the positions of the other labelled x-ticks are adjusted accordingly). \fItick-size\fR is defined as for \fB-xt\fR. .TP -\fB-y \fR\fIstring\fR +\fB-y\fR\fI string\fR Set the y-axis title to \fIstring\fR (see \fB-x\fR). .TP -\fB-ya \fR\fIymin ymax tick fmt tskip xcross\fR +\fB-ya\fR\fI ymin ymax tick fmt tskip xcross\fR Set up the y-axis (see \fB-xa\fR). .TP -\fB-ye \fR\fIymin-error ymax-error\fR +\fB-ye\fR\fI ymin-error ymax-error\fR Set the allowable error in the y-axis range (see \fB-xe\fR). .TP -\fB-ym \fR\fItick-base\fR +\fB-ym\fR\fI tick-base\fR Make y-axis ticks be multiples of the specified \fItick-base\fR. .TP -\fB-yo \fR\fIy-axis-offset\fR +\fB-yo\fR\fI y-axis-offset\fR Move the y-axis to the left by \fIy-axis-offset\fR (expressed as a fraction of the x-axis length). .TP \fB-yr\fR Draw the y-axis at the right edge of the plot. .TP -\fB-yt \fR\fIy label\fR [ \fItick-size\fR ] +\fB-yt\fR\fI y label\fR [ \fItick-size\fR ] Add an extra labelled tick at the specified \fIy\fR position (see \fB-xt\fR). .TP -\fB-yts \fR\fIy\fR [ \fItick-size\fR ] +\fB-yts\fR\fI y\fR [ \fItick-size\fR ] Force a labelled tick to appear on the y-axis at the specified \fIy\fR (see \fB-xts\fR). .TP -\fB-dev \fR\fIpterm option\fR +\fB-dev\fR\fI pterm option\fR Process \fIoption\fR only if the value of \fBPTERM\fR is \fIpterm\fR. The \fB-dev\fR option may be useful in scripts that produce screen or printed plots in different formats. .TP -\fB-sf \fR\fIname specification\fR +\fB-sf\fR\fI name specification\fR Create a new font group with the specified \fIname\fR and set its specifications (font, point size, color/grey level, line width, and line style). See the chapter titled \fIColors, Line Styles, and Fonts\fR in the \fIplt Tutorial and Cookbook\fR for details. .TP -\fB-ch \fR\fIheight-factor width-factor\fR +\fB-ch\fR\fI height-factor width-factor\fR Modify the height and width of all characters printed in the plot by the specified factors. .TP -\fB-size \fR\fIfscl width height left-margin bottom-margin\fR +\fB-size\fR\fI fscl width height left-margin bottom-margin\fR Specify the size and position of the plot on the page. The \fIwidth\fR, \fIheight\fR, \fIleft-margin\fR, and \fIbottom-margin\fR are specified in \fIinches\fR (1 inch = 25.4 mm). \fIfscl\fR is a factor applied to the @@ -350,15 +350,16 @@ only. .SS Screen and printed plots .PP -By default, \fBplt\fR makes an X11 screen plot. To make a printed plot, -use the option \fB-T lw\fR, and pipe the output of \fBplt\fR to -\fBlwcat\fR. Under Unix, GNU/Linux, or MacOS/X, \fBlwcat\fR uses the standard -\fBlpr\fR print spooler to send \fBplt\fR's output in PostScript -format to the default printer. When running with a Cygwin/bash window under -MS-Windows, or when using \fBlwcat\fR's \fB-gv\fR option under Unix or Linux, -the PostScript output is displayed on-screen using GhostScript (\fBGSView\fR -under MS-Windows, or \fBgv\fR otherwise; these programs can save the output -in a file or send it to a printer). +By default, \fBplt\fR makes an X11 screen plot. To make a printed +plot, use the option \fB-T lw\fR, and pipe the output of \fBplt\fR to +\fBlwcat\fR(1). Under Unix, GNU/Linux, or MacOS/X, \fBlwcat\fR uses +the standard \fBlpr\fR print spooler to send \fBplt\fR's output in +PostScript format to the default printer. When running with a +Cygwin/bash window under MS-Windows, or when using \fBlwcat\fR's +\fB-gv\fR option under Unix or Linux, the PostScript output is +displayed on-screen using GhostScript (\fBGSView\fR under MS-Windows, +or \fBgv\fR otherwise; these programs can save the output in a file or +send it to a printer). .SH EXAMPLES .PP Create a text file with the following contents: @@ -381,13 +382,9 @@ choosing different columns. To plot the third column vs. the first, try: .br \fBplt powers 2 0 -t "Marshmallows" -x "Mass (kg)" -y "Height (m)"\fR -.SH FILES -.TP -\fB/usr/lib/ps/plt.pro\fR -PostScript prolog for plots printed using \fBlwcat\fR .SH SEE ALSO .PP -\fBimageplt\fR(1), \fBpltf\fR(1) +\fBimageplt\fR(1), \fBlwcat\fR(1), \fBpltf\fR(1) .PP The \fIplt Tutorial and Cookbook\fR (a book-length introduction to \fBplt\fR, included in the \fBplt\fR source package) contains many more examples. diff -Naur wfdb-10.3.6/doc/wpg/info/wpg wfdb-10.3.7/doc/wpg/info/wpg --- wfdb-10.3.6/doc/wpg/info/wpg Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -7,146 +7,146 @@  Indirect: -wpg-1: 185 -wpg-2: 47452 -wpg-3: 92902 -wpg-4: 138990 -wpg-5: 187735 -wpg-6: 234549 -wpg-7: 283495 -wpg-8: 312609 +wpg-1: 184 +wpg-2: 49046 +wpg-3: 94654 +wpg-4: 140742 +wpg-5: 189487 +wpg-6: 236301 +wpg-7: 285247 +wpg-8: 314361  Tag Table: (Indirect) -Node: Top185 -Node: Overview2016 -Node: Concepts 14384 -Node: Concepts 26371 -Node: Concepts 38350 -Node: Applications10302 -Node: Guide12193 -Node: Recent changes19539 -Node: Usage32128 -Node: print samples33169 -Node: compiling34838 -Node: other languages39614 -Node: WFDB path43066 -Node: running example45741 -Node: name restrictions46415 -Node: WFDB path syntax47452 -Node: exercises 153493 -Node: Functions55898 -Node: introduction to functions56889 -Node: selecting59794 -Node: annopen60217 -Node: isigopen62822 -Node: osigopen67455 -Node: osigfopen69669 -Node: wfdbinit71325 -Node: special input modes72610 -Node: setifreq73090 -Node: getifreq75299 -Node: setgvmode75784 -Node: getspf77259 -Node: signal and annotation I/O77802 -Node: getvec78285 -Node: getframe81081 -Node: putvec82404 -Node: getann84528 -Node: ungetann85998 -Node: putann86694 -Node: non-sequential87728 -Node: isigsettime88287 -Node: isgsettime89020 -Node: iannsettime89528 -Node: sample90737 -Node: conversion92272 -Node: annstr and strann92902 -Node: timstr and strtim97937 -Node: datstr and strdat102687 -Node: aduphys and physadu103727 -Node: calibration106313 -Node: calopen106977 -Node: getcal107873 -Node: putcal109072 -Node: newcal109434 -Node: flushcal109953 -Node: miscellaneous functions110299 -Node: newheader111866 -Node: setheader113168 -Node: setmsheader114732 -Node: wfdbquit116272 -Node: iannclose and oannclose117472 -Node: wfdbquiet and wfdbverbose118363 -Node: wfdberror118853 -Node: sampfreq119844 -Node: setsampfreq120772 -Node: setbasetime121308 -Node: counter conversion122140 -Node: setwfdb124748 -Node: getwfdb127260 -Node: wfdbfile127984 -Node: wfdbflush129110 -Node: getinfo129405 -Node: putinfo130282 -Node: setibsize131023 -Node: setobsize132025 -Node: wfdbgetskew133047 -Node: wfdbsetskew134612 -Node: wfdbgetstart135254 -Node: wfdbsetstart136356 -Node: Data Types136994 -Node: WFDB_Siginfo structures138990 -Node: WFDB_Calinfo structures145333 -Node: WFDB_Anninfo structures147378 -Node: WFDB_Annotation structures150134 -Node: Annotation Codes153018 -Node: Mapping macros157678 -Node: Database Files159625 -Node: Header Files162312 -Node: Signal Files163179 -Node: Annotation Files163998 -Node: Calibration Files164407 -Node: AHA Format Files165172 -Node: Standard I/O166641 -Node: Multiplexed Signal Files167885 -Node: Multi-Frequency Records169066 -Node: Multi-Segment Records172316 -Node: Multiple Record Access174269 -Node: Special Files175714 -Node: Piped and Local Records178618 -Node: NETFILES180469 -Node: Annotation Order183094 -Node: Examples186497 -Node: Example 1187735 -Node: Example 2191789 -Node: Example 3194129 -Node: Example 4196041 -Node: Example 5199021 -Node: Example 6203237 -Node: Example 7206437 -Node: Example 8211978 -Node: Example 9220341 -Node: Example 10227109 -Node: Exercises234549 -Node: Glossary242756 -Node: Installation263091 -Node: Distribution264074 -Node: Unix installation264621 -Node: MacOS/X installation267015 -Node: MS-Windows installation267979 -Node: Other installation270971 -Node: WFDB Applications272130 -Node: Using273126 -Node: Annotation I/O274931 -Node: Evaluation276572 -Node: Signal processing283495 -Node: Graphics286487 -Node: Extensions288017 -Node: Sources296881 -Node: Answers308847 -Node: Concept Index312609 -Node: Function and Macro Index342929 -Node: Copying347974 +Node: Top184 +Node: Overview2011 +Node: Concepts 14379 +Node: Concepts 26366 +Node: Concepts 38345 +Node: Applications10297 +Node: Guide12188 +Node: Recent changes19534 +Node: Usage33722 +Node: print samples34763 +Node: compiling36432 +Node: other languages41208 +Node: WFDB path44660 +Node: running example47335 +Node: name restrictions48009 +Node: WFDB path syntax49046 +Node: exercises 155087 +Node: Functions57492 +Node: introduction to functions58483 +Node: selecting61388 +Node: annopen61811 +Node: isigopen64416 +Node: osigopen69049 +Node: osigfopen71263 +Node: wfdbinit72919 +Node: special input modes74204 +Node: setifreq74684 +Node: getifreq76893 +Node: setgvmode77378 +Node: getspf78853 +Node: signal and annotation I/O79396 +Node: getvec79879 +Node: getframe82675 +Node: putvec83998 +Node: getann86122 +Node: ungetann87592 +Node: putann88288 +Node: non-sequential89322 +Node: isigsettime89881 +Node: isgsettime90614 +Node: iannsettime91122 +Node: sample92331 +Node: conversion94024 +Node: annstr and strann94654 +Node: timstr and strtim99689 +Node: datstr and strdat104439 +Node: aduphys and physadu105479 +Node: calibration108065 +Node: calopen108729 +Node: getcal109625 +Node: putcal110824 +Node: newcal111186 +Node: flushcal111705 +Node: miscellaneous functions112051 +Node: newheader113618 +Node: setheader114920 +Node: setmsheader116484 +Node: wfdbquit118024 +Node: iannclose and oannclose119224 +Node: wfdbquiet and wfdbverbose120115 +Node: wfdberror120605 +Node: sampfreq121596 +Node: setsampfreq122524 +Node: setbasetime123060 +Node: counter conversion123892 +Node: setwfdb126500 +Node: getwfdb129012 +Node: wfdbfile129736 +Node: wfdbflush130862 +Node: getinfo131157 +Node: putinfo132034 +Node: setibsize132775 +Node: setobsize133777 +Node: wfdbgetskew134799 +Node: wfdbsetskew136364 +Node: wfdbgetstart137006 +Node: wfdbsetstart138108 +Node: Data Types138746 +Node: WFDB_Siginfo structures140742 +Node: WFDB_Calinfo structures147085 +Node: WFDB_Anninfo structures149130 +Node: WFDB_Annotation structures151886 +Node: Annotation Codes154770 +Node: Mapping macros159430 +Node: Database Files161377 +Node: Header Files164064 +Node: Signal Files164931 +Node: Annotation Files165750 +Node: Calibration Files166159 +Node: AHA Format Files166924 +Node: Standard I/O168393 +Node: Multiplexed Signal Files169637 +Node: Multi-Frequency Records170818 +Node: Multi-Segment Records174068 +Node: Multiple Record Access176021 +Node: Special Files177466 +Node: Piped and Local Records180370 +Node: NETFILES182221 +Node: Annotation Order184846 +Node: Examples188249 +Node: Example 1189487 +Node: Example 2193541 +Node: Example 3195881 +Node: Example 4197793 +Node: Example 5200773 +Node: Example 6204989 +Node: Example 7208189 +Node: Example 8213730 +Node: Example 9222093 +Node: Example 10228861 +Node: Exercises236301 +Node: Glossary244508 +Node: Installation264843 +Node: Distribution265826 +Node: Unix installation266373 +Node: MacOS/X installation268767 +Node: MS-Windows installation269731 +Node: Other installation272723 +Node: WFDB Applications273882 +Node: Using274878 +Node: Annotation I/O276683 +Node: Evaluation278324 +Node: Signal processing285247 +Node: Graphics288239 +Node: Extensions289769 +Node: Sources298633 +Node: Answers310599 +Node: Concept Index314361 +Node: Function and Macro Index344681 +Node: Copying349726  End Tag Table diff -Naur wfdb-10.3.6/doc/wpg/info/wpg-1 wfdb-10.3.7/doc/wpg/info/wpg-1 --- wfdb-10.3.6/doc/wpg/info/wpg-1 Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg-1 Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -10,8 +10,8 @@ This guide documents the Waveform Database interface library (the WFDB library). This file contains the text of the Tenth Edition of the -`WFDB Programmer's Guide' (26 November 2002), with revisions for -release 10.3.0 of the WFDB library. +`WFDB Programmer's Guide' (7 April 2003), with revisions for release +10.3.6 of the WFDB library. * Menu: @@ -389,10 +389,48 @@ WFDB Software Package distribution, for information on any more recent changes that may not be described here. +Changes in version 10.3.6 +------------------------- + + The fix applied in `isigclose()' in 10.3.5 was incomplete but is now +(really!) fixed. Applications that use `sample()' should call +`wfdbquit()' to be certain that `sample''s buffer is freed before +exiting. + + Some long-standing problems in the code (in `lib/wfdbio.c') that +handles http range requests for NETFILES-enabled versions of the +library have been partially addressed. The underlying issue is that +http servers do not always return the range of bytes requested; when +this happens, it is not difficult to determine that there is a problem, +but it is tricky to figure out what to do about it. Based on +experiments with several different http servers, the strategy for +handling such problems within the WFDB NETFILES code has been improved +substantially, but there may be further room for improvement. + +Changes in version 10.3.5 +------------------------- + + Fixed a bug in WFDB library function `isigclose()' (in +`lib/signal.c') that had caused `sample()''s buffer to be freed +inappropriately when switching segments in a multi-segment record. +Thanks to Dave Schaffer for the bug report and for a test case that +illustrated the bug. + + (WFDB library versions 10.3.3 and 10.3.4 were identical to 10.3.2.) + +Changes in version 10.3.2 +------------------------- + + Fixed a WFDB library bug that caused annotation sorting to fail if a +new header file had been written. Thanks to Winton Baker for reporting +this problem and for providing an example that illustrated the bug. + + (WFDB library version 10.3.1 was identical to 10.3.0.) + Changes in version 10.3.0 ------------------------- - Fixed bugs in `lib/sample.c' that caused improper accounting of + Fixed bugs in `lib/signal.c' that caused improper accounting of signal group numbers when reading from two or more records at the same time (as in `nst'), a bug that caused a segfault in `nst', and a bug that referenced uninitialized memory in `newheader' if `nsig' = 0. diff -Naur wfdb-10.3.6/doc/wpg/info/wpg-2 wfdb-10.3.7/doc/wpg/info/wpg-2 --- wfdb-10.3.6/doc/wpg/info/wpg-2 Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg-2 Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -1151,6 +1151,10 @@ the returned value is that of the last valid sample of the specified signal. For an example of the use of `sample' and `sample_valid', *note Example 7::. + + Be sure to call `wfdbquit' before exiting from any program that uses +`sample', to be certain that dynamically allocated memory used by +`sample' is freed.  File: wpg, Node: conversion, Next: calibration, Prev: non-sequential, Up: Functions diff -Naur wfdb-10.3.6/doc/wpg/info/wpg-3 wfdb-10.3.7/doc/wpg/info/wpg-3 --- wfdb-10.3.6/doc/wpg/info/wpg-3 Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg-3 Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY diff -Naur wfdb-10.3.6/doc/wpg/info/wpg-4 wfdb-10.3.7/doc/wpg/info/wpg-4 --- wfdb-10.3.6/doc/wpg/info/wpg-4 Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg-4 Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY diff -Naur wfdb-10.3.6/doc/wpg/info/wpg-5 wfdb-10.3.7/doc/wpg/info/wpg-5 --- wfdb-10.3.6/doc/wpg/info/wpg-5 Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg-5 Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY diff -Naur wfdb-10.3.6/doc/wpg/info/wpg-6 wfdb-10.3.7/doc/wpg/info/wpg-6 --- wfdb-10.3.6/doc/wpg/info/wpg-6 Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg-6 Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY diff -Naur wfdb-10.3.6/doc/wpg/info/wpg-7 wfdb-10.3.7/doc/wpg/info/wpg-7 --- wfdb-10.3.6/doc/wpg/info/wpg-7 Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg-7 Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY diff -Naur wfdb-10.3.6/doc/wpg/info/wpg-8 wfdb-10.3.7/doc/wpg/info/wpg-8 --- wfdb-10.3.6/doc/wpg/info/wpg-8 Tue Nov 26 02:06:55 2002 +++ wfdb-10.3.7/doc/wpg/info/wpg-8 Mon Apr 7 15:14:25 2003 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0b from wpg.tex. +This is wpg, produced by makeinfo version 4.0 from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -653,7 +653,7 @@ WFDB Programmer's Guide Tenth Edition (revised and with additions for WFDB library version -10.3.0) 26 November 2002 +10.3.6) 7 April 2003 George B. Moody diff -Naur wfdb-10.3.6/doc/wpg-src/Makefile wfdb-10.3.7/doc/wpg-src/Makefile --- wfdb-10.3.6/doc/wpg-src/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/doc/wpg-src/Makefile Tue May 6 16:39:36 2003 @@ -65,12 +65,12 @@ # wpg.info' again. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -87,10 +87,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/doc/wug-src/Makefile wfdb-10.3.7/doc/wug-src/Makefile --- wfdb-10.3.6/doc/wug-src/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/doc/wug-src/Makefile Tue May 6 16:39:36 2003 @@ -55,12 +55,12 @@ # PostScript 'make wug.ps' (requires latex and dvips) # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -77,10 +77,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/examples/Makefile wfdb-10.3.7/examples/Makefile --- wfdb-10.3.6/examples/Makefile Mon Apr 7 14:34:37 2003 +++ wfdb-10.3.7/examples/Makefile Tue May 6 16:39:36 2003 @@ -34,12 +34,12 @@ # `make clean' to remove them. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -56,10 +56,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/fortran/Makefile wfdb-10.3.7/fortran/Makefile --- wfdb-10.3.6/fortran/Makefile Tue Oct 9 00:14:17 2001 +++ wfdb-10.3.7/fortran/Makefile Tue May 6 16:39:36 2003 @@ -30,6 +30,194 @@ # for installing it. To compile the example, just type `make' (from within # this directory); the executable file will be left in this directory. Type # `make clean' to remove it. +# file: version.def G. Moody 24 May 2000 +# Last revised: 9 April 2003 +# Each release of the WFDB Software Package is identified by a three-part +# version number, defined here: +MAJOR = 10 +MINOR = 3 +RELEASE = 7 +VERSION = $(MAJOR).$(MINOR).$(RELEASE) + +# RPMRELEASE can be incremented if changes are made between official +# releases. It should be reset to 1 whenever the VERSION is changed. +RPMRELEASE = 1 + +# VDEFS is the set of C compiler options needed to set version number variables +# while compiling the WFDB Software Package. +VDEFS = -DWFDB_MAJOR=$(MAJOR) -DWFDB_MINOR=$(MINOR) -DWFDB_RELEASE=$(RELEASE) + +# WAVEVERSION is the WAVE version number. +WAVEVERSION = 6.6 +# _____________________________________________________________________________ + +# Definitions generated by 'configure' + +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 +# _____________________________________________________________________________ + +# file: linux.def G. Moody 31 May 2000 +# Last revised: 4 March 2003 +# 'make' definitions for compiling the WFDB Software Package under Linux + +# Choose a value for WFDBROOT to determine where the WFDB Software Package will +# be installed. One of the following is usually a reasonable choice. +# Installing in /usr generally requires root permissions, but will be easiest +# for future software development (no special -I or -L options will be needed +# to compile software with the WFDB library, since the *.h files and the +# library will be installed in the standard directories). +WFDBROOT = /usr +# Installing in /usr/local usually requires root permissions. On a multi-user +# system where it is desirable to keep the OS vendor's software separate from +# other software, this is a good choice. Another common choice in such cases +# is /opt . +# WFDBROOT = /usr/local +# To install without root permissions, a good choice is to set WFDBROOT to the +# name of your home directory, as in the example below (change as needed). +# WFDBROOT = /home/frodo + +# If the W3C's libwww library of HTTP and FTP client code is available, and +# you wish to compile a WFDB library with NETFILES support, set LWC to +# 'libwww-config' (a utility supplied with libwww). Otherwise set LWC to ':' +# (a program that does nothing, successfully). +LWC = libwww-config + +# LDLIBWWW, which is appended to LDFLAGS below, is the set of options needed +# to link with libwww. If libwww is not installed, or if libwfdb is a shared +# library, LDLIBWWW can be empty (if there is a '#' immediately after the '=' +# below, the remainder of the line is ignored, so LDLIBWWW is empty in this +# case). Otherwise, it is generated from the output of LWC. Note that up to +# three passes through the option list are necessary to satisfy all +# dependencies when linking to the static libwww libraries. +LDLIBWWW = # `$(LWC) --libs` `$(LWC) --libs` `$(LWC) --libs` + +# BINDIR specifies the directory in which the applications will be installed; +# it should be a directory in the PATH of those who will use the applications. +BINDIR = $(WFDBROOT)/bin + +# DBDIR specifies the name of a directory in which to install the contents +# of the `data' directory. +DBDIR = $(WFDBROOT)/database + +# INCDIR specifies the name of a directory in which to install the WFDB +# library's #include <...> files. +INCDIR = $(WFDBROOT)/include + +# INFODIR is the GNU info directory (optional, needed to `make info'). +INFODIR = $(WFDBROOT)/share/info + +# LIBDIR specifies the name of a directory in which to install the WFDB +# library. +LIBDIR = $(WFDBROOT)/lib + +# MANDIR is the root of the man page directory tree. On most systems, this is +# something like /usr/man or /usr/local/man (type 'man man' to find out). +MANDIR = $(WFDBROOT)/share/man + +# PSPDIR specifies the name of a directory in which to install the PostScript +# prolog (*.pro) files from the 'app' directory. +PSPDIR = $(WFDBROOT)/lib/ps + +# CC is the name of your C compiler. +CC = gcc + +# CCDEFS is the set of C compiler options needed to set preprocessor variables +# while compiling the WFDB Software Package. CCDEFS should always include +# VDEFS. +CCDEFS = $(VDEFS) + +# CFLAGS is the set of C compiler options. CFLAGS should always include +# CCDEFS. +CFLAGS = -g -O $(CCDEFS) `$(LWC) --cflags` -I$(INCDIR) + +# LDFLAGS is appended to the C compiler command line to specify loading the +# WFDB library. +LDFLAGS = -L$(LIBDIR) -lwfdb $(LDLIBWWW) + +# WFDBLIB is the name of the standard WFDB library. In order to access it via +# `-lwfdb', WFDBLIB should be `libwfdb.a'. +WFDBLIB = libwfdb.a + +# BUILDLIB is the command that creates the static WFDB library once its +# components have been compiled separately; the list of *.o files that +# make up the library will be appended to BUILDLIB. +BUILDLIB = $(AR) $(ARFLAGS) $(WFDBLIB) + +# PRINT is the name of the program used to produce listings (including any +# options for the desired formatting). +PRINT = lpr + +# SETPERMISSIONS is the command needed to make the installed files accessible +# to those who will use them. The value given below makes them readable by +# everyone, and writeable by the owner only. (If you perform the installation +# as `root', `root' is the owner of the installed files.) +SETPERMISSIONS = chmod 644 + +# SETDPERMISSIONS is similarly used to make directories created during the +# installation accessible. +SETDPERMISSIONS = chmod 755 + +# SETLPERMISSIONS is the command needed to make the WFDB library usable by +# programs linked to it. +SETLPERMISSIONS = chmod 644 + +# SETXPERMISSIONS is the command needed to make the applications accessible. +SETXPERMISSIONS = chmod 755 + +# STRIP is the command used to compact the compiled binaries by removing their +# symbol tables. +STRIP = strip +# To retain the symbol tables for debugging, comment out the previous line, and +# uncomment the next line. +# STRIP = : + +# ........................................................................... +# This section of definitions is used only when compiling WAVE, which is +# possible only if the XView and Xlib libraries and include files have been +# installed. + +# OPENWINHOME specifies the root directory of the OpenWindows hierarchy. +# This is usually /usr/openwin. +OPENWINHOME = /usr/openwin + +# OWINCDIR is the directory in which the `xview' directory containing XView +# *.h files is found. +OWINCDIR = $(OPENWINHOME)/include + +# OWLIBDIR is the directory in which the XView library is found. +OWLIBDIR = $(OPENWINHOME)/lib + +# WCFLAGS is the set of C compiler options to use when compiling WAVE. +WCFLAGS = $(CFLAGS) -I$(OWINCDIR) + +# HELPOBJ can be set to "help.o" if you wish to recompile the XView spot help +# functions in "wave/help.c" (recommended under Linux). +HELPOBJ = help.o +# Otherwise, use the version in libxview by uncommenting the next line: +# HELPOBJ = + +# WLDFLAGS is the set of loader options appended to the C compiler command line +# to specify loading the WFDB, XView, and Xlib libraries. +WLDFLAGS = $(LDFLAGS) -L$(OWLIBDIR) -L/usr/X11R6/lib -lxview -lolgx -lX11 +# Users of Red Hat Linux 5.0 or 5.1 (not later versions), use this instead: +# WLDFLAGS = $(LDFLAGS) -L/usr/X11R6/lib $(OWLIBDIR)/libxview.a \ +# $(OWLIBDIR)/libolgx.a -lX11 +# This setting avoids incompatibilities with the shared (dynamic) libraries. +# ........................................................................... + +# `make' (with no target specified) will be equivalent to `make all'. +make-all: all + +# `make lib-post-install' should be run after installing the WFDB library. +lib-post-install: + ranlib $(LIBDIR)/$(WFDBLIB) + +lib-post-uninstall: + echo "Nothing to be done for lib-post-uninstall" +# _____________________________________________________________________________ example: example.f wfdbf.c f77 -o example -fwritable-strings example.f wfdbf.c -lwfdb @@ -37,7 +225,7 @@ # If you have `f2c', but not `f77', use `make example-alt' instead of `make'. example-alt: example.f wfdbf.c f2c example.f - cc -o example example.c wfdbf.c -lf2c -lm -lwfdb + $(CC) -o example example.c wfdbf.c -lf2c -lm -lwfdb clean: rm -f example example.c *.o *~ diff -Naur wfdb-10.3.6/fortran/Makefile.top wfdb-10.3.7/fortran/Makefile.top --- wfdb-10.3.6/fortran/Makefile.top Wed Dec 31 19:00:00 1969 +++ wfdb-10.3.7/fortran/Makefile.top Tue May 6 16:37:21 2003 @@ -0,0 +1,32 @@ +# file: Makefile G. Moody 23 August 1995 +# Last revised: 8 October 2001 +# +# ----------------------------------------------------------------------------- +# UNIX 'make' description file for compiling the Fortran example program +# Copyright (C) 2001 George B. Moody +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA. +# +# You may contact the author by e-mail (george@mit.edu) or postal mail +# (MIT Room E25-505A, Cambridge, MA 02139 USA). For updates to this software, +# please visit PhysioNet (http://www.physionet.org/). +# _____________________________________________________________________________ + +# This file is used with the UNIX `make' command to compile the example +# program in this directory. Since this program is intended for instruction +# rather than `production' use, this `makefile' does not include a procedure +# for installing it. To compile the example, just type `make' (from within +# this directory); the executable file will be left in this directory. Type +# `make clean' to remove it. diff -Naur wfdb-10.3.6/fortran/Makefile.tpl wfdb-10.3.7/fortran/Makefile.tpl --- wfdb-10.3.6/fortran/Makefile.tpl Wed Dec 31 19:00:00 1969 +++ wfdb-10.3.7/fortran/Makefile.tpl Tue May 6 16:38:35 2003 @@ -0,0 +1,11 @@ + +example: example.f wfdbf.c + f77 -o example -fwritable-strings example.f wfdbf.c -lwfdb + +# If you have `f2c', but not `f77', use `make example-alt' instead of `make'. +example-alt: example.f wfdbf.c + f2c example.f + $(CC) -o example example.c wfdbf.c -lf2c -lm -lwfdb + +clean: + rm -f example example.c *.o *~ diff -Naur wfdb-10.3.6/lib/Makefile wfdb-10.3.7/lib/Makefile --- wfdb-10.3.6/lib/Makefile Mon Apr 7 14:34:36 2003 +++ wfdb-10.3.7/lib/Makefile Tue May 6 16:39:36 2003 @@ -33,12 +33,12 @@ # type `make slib'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,10 +55,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux-slib.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/lib/wfdb.h0 wfdb-10.3.7/lib/wfdb.h0 --- wfdb-10.3.6/lib/wfdb.h0 Mon Apr 7 10:07:18 2003 +++ wfdb-10.3.7/lib/wfdb.h0 Wed Apr 9 12:19:10 2003 @@ -1,5 +1,5 @@ /* file: wfdb.h G. Moody 13 June 1983 - Last revised: 7 April 2003 wfdblib 10.3.6 + Last revised: 9 April 2003 wfdblib 10.3.7 WFDB library type, constant, structure, and function interface definitions _______________________________________________________________________________ @@ -33,7 +33,7 @@ /* WFDB library version. */ #define WFDB_MAJOR 10 #define WFDB_MINOR 3 -#define WFDB_RELEASE 6 +#define WFDB_RELEASE 7 #define WFDB_NETFILES 1 /* if 1, library includes code for HTTP, FTP clients */ /* Determine what type of compiler is being used. */ diff -Naur wfdb-10.3.6/psd/Makefile wfdb-10.3.7/psd/Makefile --- wfdb-10.3.6/psd/Makefile Mon Apr 7 14:34:37 2003 +++ wfdb-10.3.7/psd/Makefile Tue May 6 16:39:36 2003 @@ -32,12 +32,12 @@ # directory). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -54,10 +54,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/wave/Makefile wfdb-10.3.7/wave/Makefile --- wfdb-10.3.6/wave/Makefile Mon Apr 7 14:34:37 2003 +++ wfdb-10.3.7/wave/Makefile Tue May 6 16:39:36 2003 @@ -45,12 +45,12 @@ # just type `make' (from within this directory). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -67,10 +67,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000 diff -Naur wfdb-10.3.6/waverc/Makefile wfdb-10.3.7/waverc/Makefile --- wfdb-10.3.6/waverc/Makefile Mon Apr 7 14:34:37 2003 +++ wfdb-10.3.7/waverc/Makefile Tue May 6 16:39:36 2003 @@ -25,12 +25,12 @@ # please visit PhysioNet (http://www.physionet.org/). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 7 April 2003 +# Last revised: 9 April 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 6 +RELEASE = 7 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -47,10 +47,10 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.6 -SRCDIR = /home/george/wfdb-10.3.6 -LONGDATE = 7 April 2003 -SHORTDATE = APRIL 2003 +PACKAGE = wfdb-10.3.7 +SRCDIR = /home/george/wfdb-10.3.7 +LONGDATE = 6 May 2003 +SHORTDATE = MAY 2003 # _____________________________________________________________________________ # file: linux.def G. Moody 31 May 2000