spkrtest(8): Replace dialog with bsddialog
Replace (LGPL) dialog with (BSD-2-Clause) bsddialog and update manual. Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D34459
This commit is contained in:
parent
d7661890ef
commit
8cdecdecb4
@ -23,12 +23,14 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.Dd July 23, 1995
|
.Dd March 6, 2022
|
||||||
.Dt SPKRTEST 8
|
.Dt SPKRTEST 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm spkrtest
|
.Nm spkrtest
|
||||||
.Nd test script for the speaker driver
|
.Nd test script for the speaker driver
|
||||||
|
.Sh SYNOPSIS
|
||||||
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
@ -38,8 +40,10 @@ utility is an easy to use test script for the speaker driver.
|
|||||||
.It Pa /dev/speaker
|
.It Pa /dev/speaker
|
||||||
speaker device file
|
speaker device file
|
||||||
.El
|
.El
|
||||||
|
.Sh EXIT STATUS
|
||||||
|
.Ex -std
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr dialog 1 ,
|
.Xr bsddialog 1 ,
|
||||||
.Xr spkr 4
|
.Xr spkr 4
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
|
@ -53,21 +53,21 @@ then
|
|||||||
cleanExit 1
|
cleanExit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/bin/dialog --title "Speaker test" --checklist \
|
/usr/bin/bsddialog --title " Speaker test " --checklist \
|
||||||
"Please select the melodies you wish to play (space for select)" \
|
"Please select the melodies you wish to play (space for select)" \
|
||||||
0 0 0 \
|
0 0 0 \
|
||||||
reveille "Reveille" OFF \
|
reveille "Reveille" off \
|
||||||
contact "Contact theme from Close Encounters" OFF \
|
contact "Contact theme from Close Encounters" off \
|
||||||
dance "Lord of the Dance (aka Simple Gifts)" OFF \
|
dance "Lord of the Dance (aka Simple Gifts)" off \
|
||||||
loony "Loony Toons theme" OFF \
|
loony "Loony Toons theme" off \
|
||||||
sinister "Standard villain's entrance music" OFF \
|
sinister "Standard villain's entrance music" off \
|
||||||
rightstuff "A trope from 'The Right Stuff' score by Bill Conti" OFF \
|
rightstuff "A trope from 'The Right Stuff' score by Bill Conti" off \
|
||||||
toccata "Opening bars of Bach's Toccata and Fugue in D Minor" OFF \
|
toccata "Opening bars of Bach's Toccata and Fugue in D Minor" off \
|
||||||
startrek "Opening bars of the theme from Star Trek Classic" OFF \
|
startrek "Opening bars of the theme from Star Trek Classic" off \
|
||||||
2> ${choices} || cleanExit 0
|
2> ${choices} || cleanExit 0
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
tunes="`cat ${choices} | tr -d '\"'`"
|
tunes="`cat ${choices}`"
|
||||||
for tune in ${tunes:-DEFAULT}
|
for tune in ${tunes:-DEFAULT}
|
||||||
do
|
do
|
||||||
case ${tune:-NULL} in
|
case ${tune:-NULL} in
|
||||||
|
Loading…
Reference in New Issue
Block a user