The big and user visible changes.
configure
script, though, as that is complex. The user
writing a local.mk
with some definitions covers everyone
wanting to use the same settings across make
invocations,
though.contrib/morse/*
scripts just like the
failure-beeps.CREDITS
to CREDITS.md
and
CHANGELOG
to NEWS.md
and reformatted them to
markdown.__VA_ARGS__
problems with some C language
compiler options.contrib/morse/
: Add both perl
and
tr
+sed
script options to have beep produce
morse code by converting the output of the morse
utility
from the BSD Games package to a beep
command line.beep
will now
complain and abort instead of silently (pun intended) just not
beeping.beep(1)
man page and
beep --help
output.issue-6-benchmark
report to help people with
solving issue #6
(evdev open/close is slooow).CFLAGS_*
at make
time
while internal appends still workva_copy()
macro in function with
va_list
parameter to avoid possible bugBEEP_LOG_LEVEL
environment variable for default log
leveludev/rules.d/
and modprobe.d/
example files to force packagers to re-read PACKAGING.md
and PERMISSIONS.md
PERMISSIONS.md
and INSTALL.md
,
adapting README.md
and PACKAGING.md
and
beep.1
for consistencySUDO_*
env
variables are presentbeep-usage.c
-g
instead of
-gstabs
CFLAGS_gcc
-fcf-protection
CFLAGS_gcc
if
actually supported on this platformbeep(1)
man page and --help
outputconsole
and
evdev
drivers)nanosleep(2)
instead of usleep(3)
safe_error_exit()
without global
variables).--device
option/dev/input/by-path/platform-pcspkr-event-spkr
the
default device to use as the system administrator can allow access to
that without needing any privilege escalation risks via setuid or
sudo
.--help
output, beep(1)
man page,
README.md
, INSTALL.md
to reflect the new
device use.\a
type beeps if that
\a
actually goes to a tty device which can actually
beepCREDITS
, too.gzip -9
for better compressionioctl()
errors, beep will now do a
printf("\a")
so that, at very least, you get a beep.
:)-n
/--new
support - so beep FINALLY
handles multiple beeps on a single command line.-f
now takes decimal frequencies, not just whole
numbers.-V
option, as companion to
-v
and --version
README
now addresses the question of multiple beeps,
and composing music with beep.SIGINT
handler, so Ctrl-C no longer leaves the
speaker wailing forever-v
/--version
and
-h
/--help
supportREADME
to explain ioctl
problems-D
option. Both -d
and
-D
set inter-repetition delay, but -D
instructs beep to delay even after the last beep, where -d
delays only between beeps, and terminates immediately after last
beep.-c
is annoying.getopt()
atoi()
calls into sscanf()
calls,
to get more meaningful error handling-f
, -l
,
-d
, -r