btmdisp - generate messages
btmdisp options
Btmdisp generates messages as required by btsched(8)
in response to
the mail or write completion options of batch jobs.
By default, it uses the system basic mailer to dispose of mail
options, btwrite(8)
to send messages to users' terminals and
dosbtwrite(8)
to send messages to Windows PCs.
The messages are generated by btmdisp from the system message file, which by default is btint-config.
The program to be used in each case may be overridden by assignments
to the environment variables MAILER
, WRITER
and DOSWRITER
,
most conveniently in the master configuration file
gnubatch.conf. The program (or shell script) to be run in each
case should take data on standard input and the relevant user name as
the first argument, and will run under the identity batch
.
These variables may also be set on a per-user basis by assignment in a
.gnubatch
file located in a user's home directory. The user may also
specify an alternative message file by assignment to the variable
SYSMESG
. These programs or scripts will be run under the identity
of the user, typically the owner of the job to be run.
The interface (options etc) are internal to GNUbatch and are not documented here.
btint-config message file
~/.gnubatch user's home directory
alternative write to PC program or script.
alternative mail results program or script.
alternative write results program or script.
alternative location for help file directory, by default /usr/spool/progs.
alternative message file location (relative to user's home directory if need be).
Btmdisp is identical to GNUspool's spmdisp(8), apart from using different message and configuration files.
dosbtwrite(8), btsched(8), btwrite(8).
Copyright (c) 2009 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
John M Collins, Xi Software Ltd.