startup time ("reboot" of cron, not the system), so okay_to_go() must
always say they are good to go. Otherwise they never will. All other
meta-timetags pertain to regular times, so they are (or were)
unaffected.
Problem noted by tron and successfully assigned to me by perry.
wrappers for err, errx, warn and warnx respectively when running in foreground
and call syslog functions when running in daemon mode.
Also add and use an extra log_info function for other types of information.
button events. This mode needs to be explicitly enabled at runtime, and
does nothing if not configured.
As there are now two different modes available, adjust the manpages
accordingly, describing what they do and how they work separatedly.
While here, remove a bunch of unused stuff (event syntax) from config file
parsing. This was initially added with this new mode in mind, but it has
not been used to make it a lot simpler.
described by a structure with pointers to functions.
- Clearly separate the "selection" mode (which provides copy and paste support
in console) from wsmoused's main program.
- Added the "modes" property to the configuration file and the "-m" command
line option to specify which modes should be activated. (this is mostly
useless for now, as only the "selection" mode exists; a new mode will
be added soon, hopefully).
- While here, several style fixes according to share/misc/style.
and more) and use a little sig_header() helper.
- in selectdrives() make sure we don't overwrite some arrays. this makes
"iostat 1" work again on my really wide screens where defdrives (number that
can fit) was > ndrives (number of drives), rather than dump core trying to
print (char *)1...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".