home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume30
/
sendopr
/
part01
/
README
< prev
next >
Wrap
Text File
|
1992-06-20
|
3KB
|
67 lines
This software has been tested on Sun3, Sun4, mips, and SGI.
It is currently in use here on these platforms.
The original author was Hyman Wong, and there have been significant
upgrades and modifications made by Reg Quinton and myself.
Sendopr allows users to send messages to the operator.
It is a queuing system which delivers messages to an operator's
Xterminal. Xmessage is used to display the information.
Multi-line messages can come from standard input if the user
is not a tty. The messages appear on the operator's console
which is assumed to be an Xterminal.
The geometry of the window should be defined in the operator's
.xdefaults file: see man page for more details.
To install:
1. make
2. Include a line in /etc/services similar to:
sendopr xxx/tcp
Where xxx is the port number to be used for the service
for sendoprd.
3. Include a line in /etc/inetd.conf similar to:
sendopr stream tcp nowait nobody /usr/ccs/lib/sendoprd sendoprd
4. Then execute the command:
kill -HUP "pid of inetd"
For kill: Arguments should be jobs or process id's.
This will reinitialize inetd.
README -- July 12, 1991
Sendopr was written by me, Hyman Wong, for the department of Computing
and Communications Services at the University of Western Ontario. I am
a student working here as a consultant and applications programmer.
Sendopr is a program utility that allows users to send a message to the
operator's terminal. Sendopr was written to reduce the clutter on the
operator's screen by opening up an xmessage window at the same place on
the operator's display.
Nov 18, 1991 (Reg Quinton)
Sendopr sends things to the daemon via E-mail. This requires an E-mail
pipe like
sendopr: "|/usr/ccs/lib/sendord"
in /usr/lib/aliases.
Brian Borowski:
Mar. 31, 1992, Revised sendoprd.c to use advisory locks on the .busy file.
This will let the program execute when it is supposed to.
Resolves the problem with .busy file lock up.
April 9, 1992 (Brian Borowski)
The shell script sendopr was rewritten in C and this implementation
has been done as a client using a host on the net when messages
are to be queued. In all other respects I have attempted to
duplicate the behaviour of the shell script version of sendopr.
April 16, 1992 (Brian Borowski)
Performed upgrade to fix the getuser problem which arose when the
program was being run with no tty (for example, from cron.)
Also modified interface so that the input for the message could come
from standard input, rather than just the command line.