don't patch file into existence; pointed out by Vladimir Popov <pva48@mail.ru>

This commit is contained in:
naddy 2001-12-22 15:15:54 +00:00
parent de16e7586e
commit 83bac39e1d
3 changed files with 107 additions and 171 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2001/12/20 21:18:02 naddy Exp $
# $OpenBSD: Makefile,v 1.5 2001/12/22 15:15:54 naddy Exp $
COMMENT= "premier dockable radio tuner"
@ -30,4 +30,7 @@ ONLY_FOR_ARCHS= i386
WRKDIST= ${WRKDIR}/wmtune-1.0.1-combined/
post-extract:
@cp files/wmtune.1 ${WRKDIST}
.include <bsd.port.mk>

View File

@ -1,63 +1,109 @@
.\" $OpenBSD: wmtune.1,v 1.1.1.1 2001/03/16 15:30:47 wilfried Exp $
.\" $OpenBSD: wmtune.1,v 1.2 2001/12/22 15:15:54 naddy Exp $
.\"
.TH WMTune 1 "28 January 2001"
.SH NAME
.PP
\fBwmtune\fP \- premier dockable radio tuner
.SH SYNOPSIS
.PP
.B wmtune
[\fB-n\fP] [\fB-t\fP \fI<##:##>\fP] [\fB-p\fP \fI<##>\fP] [\fB-d\fP \fIdisplay\fP] [\fB-h\fP]
.br
.SH DESCRIPTION
.PP
\fBWMTune\fP is a WindowMaker dock.app that controls AIMS Lab Radio-Track, Zoltrix and Aztech/PackardBell FM radio tuner cards.
.PP
The + and - buttons are for FINE tuning.
.PP
.Dd December 8, 2001
.Dt WMTUNE 1
.Sh NAME
.Nm wmtune
.Nd premier dockable radio tuner
.Sh SYNOPSIS
.Nm wmtune
.Op Fl n
.Op Fl f Ar filename
.Op Fl t Ar hh:mm
.Op Fl p Ar ##
.Op Fl h
.Sh DESCRIPTION
The
.Nm
is a WindowMaker dock.app that controls AIMS Lab RadioTrack, Zoltrix,
Aztech/PackardBell FM radio tuner cards and cards supported by OpenBSD (native
mode).
.Pp
The
.Ql +
and
.Ql \-
buttons are for FINE tuning.
.Pp
The 2 buttons to the right of the FINE tuning buttons are the SCAN buttons.
.PP
The 2 SCAN buttons also double as VOLUME UP/DOWN when using the RIGHT mouse button.
.PP
In the bottom left there is a small two digit box in which the currently selected preset will be shown. The < and > arrow buttons to the left of the box allow to switch between presets easily and quickly.
.PP
To the right of the above described things there is yet another button with a miniature ON/OFF logo. This is used to turn your radio card on/off.
.PP
The button with the inscribed letter "A" allows you to control the internal alarm clock/delay timer. Upon pressing the "A" button you will be allowed to set the timer/delay to a time you wish the radio to turn on / off (depending on the current state of
the radio) automatically.
.PP
After pressing the "A" button the first time you may set the now displayed clock type panel to the desired setting using the SCAN buttons to set your timer in the 24hour format. (be aware in this state other buttons cease to work) You must press the A
button again at which point the indicator light will turn on and the alarm will be set. Lastly, pressing the "A" button once more, will disengance the timer.
.SH OPTIONS
.B
.IP "\-n"
.Pp
The 2 SCAN buttons also double as VOLUME UP/DOWN when using the RIGHT mouse
button.
.Pp
In the bottom left there is a small two digit box in which the currently
selected preset will be shown.
The
.Ql <
and
.Ql >
arrow buttons to the left of the box allow to switch between
presets easily and quickly.
.Pp
To the right of the above described things there is yet another button with
a miniature ON/OFF logo.
This is used to turn your radio card on/off.
.Pp
The button with the inscribed letter
.Ql A
allows you to control the internal alarm clock/delay timer.
Upon pressing the
.Ql A
button you will be allowed to set the timer/delay to a time you wish the radio
to turn on/off (depending on the current state of the radio) automatically.
.Pp
After pressing the
.Ql A
button the first time you may set the now displayed clock type panel to
the desired setting using the SCAN buttons to set your timer in the 24 hour
format (be aware in this state other buttons cease to work).
You must press the
.Ql A
button again at which point the indicator light will turn on and the alarm
will be set.
Lastly, pressing the
.Ql A
button once more, will disengance the timer.
.Sh OPTIONS
.Bl -tag -width filename
.It Fl f Ar filename
Use
.Ar filename
as a radio device file (only for wmtune which uses native OpenBSD drivers).
.It Fl n
Turn radio on initially on startup.
.B
.IP "\-t \fI<##:##>\fP"
.It Fl t Ar hh:mm
Set timer on startup, military time.
.B
.IP "-p \fI<##>\fP"
.It Fl p Ar ##
Set startup preset # listed in wmtunerc file.
.B
.IP "\-d \fIdisplay\fP"
Selects target display.
.B
.IP "\-h"
.It Fl h
Display help screen.
.SH EXAMPLES
.PP
wmtune -n -p 5
.br
wmtune -p 2 -t 14:35
.br
wmtune -n -t 00:00
.SH FILES
.PP
/etc/wmtunerc global configuration file
.br
~/.wmtunerc
.SH AUTHORS
.PP
WMTune written by soren <soren@leiden.org>
.br
The manpage written by Vladimir Popov <pva48@mail.ru>
.Sh EXAMPLES
.Dl wmtune -n -p 5
.Dl wmtune -p 2 -t 14:35
.Dl wmtune -n -t 00:00
.Sh ENVIRONMENT
The following environment variable affects the execution of
.Nm wmtune
in the OpenBSD native mode:
.Bl -tag -width RADIODEVICE
.It Ev RADIODEVICE
The radio tuner device to use.
.El
.Sh FILES
.Bl -tag -width /dev/wmtunerc
.It /etc/wmtunerc
global configuration file
.It ~/.wmtunerc
user configuration file
.It /dev/radio
default radio device in the native mode
.El
.Sh SEE ALSO
.Xr radioctl 1 ,
.Xr radio 4
.Sh AUTHORS
.Nm
written by
.An soren Aq soren@leiden.org ,
the manpage written by
.An Vladimir Popov Aq pva48@mail.ru

View File

@ -1,113 +0,0 @@
$OpenBSD: patch-wmtune_1,v 1.1 2001/12/20 21:18:02 naddy Exp $
--- wmtune.1.orig Sat Dec 8 14:44:12 2001
+++ wmtune.1 Sat Dec 8 14:44:03 2001
@@ -0,0 +1,109 @@
+.\" $OpenBSD: patch-wmtune_1,v 1.1 2001/12/20 21:18:02 naddy Exp $
+.\"
+.Dd December 8, 2001
+.Dt WMTUNE 1
+.Sh NAME
+.Nm wmtune
+.Nd premier dockable radio tuner
+.Sh SYNOPSIS
+.Nm wmtune
+.Op Fl n
+.Op Fl f Ar filename
+.Op Fl t Ar hh:mm
+.Op Fl p Ar ##
+.Op Fl h
+.Sh DESCRIPTION
+The
+.Nm
+is a WindowMaker dock.app that controls AIMS Lab RadioTrack, Zoltrix,
+Aztech/PackardBell FM radio tuner cards and cards supported by OpenBSD (native
+mode).
+.Pp
+The
+.Ql +
+and
+.Ql \-
+buttons are for FINE tuning.
+.Pp
+The 2 buttons to the right of the FINE tuning buttons are the SCAN buttons.
+.Pp
+The 2 SCAN buttons also double as VOLUME UP/DOWN when using the RIGHT mouse
+button.
+.Pp
+In the bottom left there is a small two digit box in which the currently
+selected preset will be shown.
+The
+.Ql <
+and
+.Ql >
+arrow buttons to the left of the box allow to switch between
+presets easily and quickly.
+.Pp
+To the right of the above described things there is yet another button with
+a miniature ON/OFF logo.
+This is used to turn your radio card on/off.
+.Pp
+The button with the inscribed letter
+.Ql A
+allows you to control the internal alarm clock/delay timer.
+Upon pressing the
+.Ql A
+button you will be allowed to set the timer/delay to a time you wish the radio
+to turn on/off (depending on the current state of the radio) automatically.
+.Pp
+After pressing the
+.Ql A
+button the first time you may set the now displayed clock type panel to
+the desired setting using the SCAN buttons to set your timer in the 24 hour
+format (be aware in this state other buttons cease to work).
+You must press the
+.Ql A
+button again at which point the indicator light will turn on and the alarm
+will be set.
+Lastly, pressing the
+.Ql A
+button once more, will disengance the timer.
+.Sh OPTIONS
+.Bl -tag -width filename
+.It Fl f Ar filename
+Use
+.Ar filename
+as a radio device file (only for wmtune which uses native OpenBSD drivers).
+.It Fl n
+Turn radio on initially on startup.
+.It Fl t Ar hh:mm
+Set timer on startup, military time.
+.It Fl p Ar ##
+Set startup preset # listed in wmtunerc file.
+.It Fl h
+Display help screen.
+.Sh EXAMPLES
+.Dl wmtune -n -p 5
+.Dl wmtune -p 2 -t 14:35
+.Dl wmtune -n -t 00:00
+.Sh ENVIRONMENT
+The following environment variable affects the execution of
+.Nm wmtune
+in the OpenBSD native mode:
+.Bl -tag -width RADIODEVICE
+.It Ev RADIODEVICE
+The radio tuner device to use.
+.El
+.Sh FILES
+.Bl -tag -width /dev/wmtunerc
+.It /etc/wmtunerc
+global configuration file
+.It ~/.wmtunerc
+user configuration file
+.It /dev/radio
+default radio device in the native mode
+.El
+.Sh SEE ALSO
+.Xr radioctl 1 ,
+.Xr radio 4
+.Sh AUTHORS
+.Nm
+written by
+.An soren Aq soren@leiden.org ,
+the manpage written by
+.An Vladimir Popov Aq pva48@mail.ru