1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
.\" Personal
.TH SENDMSG 1
.UC L
.SH NAME
sendmsg - send a message via Internet
.SH SYNOPSIS
.B sendmsg
[
.B \-46vVfrmMl
]
[
.B \-u 'from'
]
[
.B \-s 'message'
]
.I recipient
.SH DESCRIPTION
.B sendmsg
sends a one line text message to the terminal(s) of the specified recipient.
.PP
On the receiving site there must be a SAFT-server
(Simple Asynchronous File Transfer) installed, like the
.B sendfiled
and the recipients terminal must be writeable.
The
.BI recipient
address can be specified as:
.TP 4
.B user
a local user or a sendfile alias (see below), e.g.: framstag
.TP
.B user@host
an user on a remote host, e.g.: framstag@bofh.belwue.de
.TP
.B saft://host/user
like above, but in URL-syntax, e.g.: saft://bofh.belwue.de/framstag
.TP
.B saft://host:port/user
like above, but with alternate SAFT-port, e.g.: saft://bofh.belwue.de:4870/framstag
.SH OPTIONS
.TP 8
.B -4, -6
Explicitly force IPv4 or IPv6 connections. By default, the program will try to resolve the name given, and
choose the appropriate protocol automatically. If resolving a host name returns both IPv4 and IPv6 addresses,
sendmsg will try to use the adresses in the order they are returned by the resolver.
.TP
.B -v
Verbose mode: show SAFT protocol messages.
.TP
.B -V
Show version information and exit.
.TP
.B -f
Force sending of messages and ignore tty (re)settings.
.TP
.B -r
Reply to last received message.
.TP
.B -m
Receive messages only on this tty. This is the default.
.TP
.B -M
Allow receiving messages on other ttys.
.TP
.B -l
Allow sending of multiline messages messages.
.TP
.B -s 'message'
Send directly
.BR message .
.TP
.B -u 'from'
Set sender to
.B from
instead of
.BR $LOGNAME .
.TP
.B -q
Quiet mode: print no transfer messages.
.SH EXAMPLES
.B sendmsg neg@linux.rus.uni-stuttgart.de
.br
message:
.I how about lunch?
.SH FILES
.TP 6
.I /etc/sendfile.deny
Users which are not allowed to receive files or messages (set by root).
.TP
.I /var/spool/sendfile/$LOGNAME/config/restrictions
List of addresses from where you don't want messages or files. The format
is:
.ES
user@host [mfb]
.EE
m stands for messages, f for files and b for both. Wildcards * and ? are
allowed. Examples:
.ES
gates@microsoft.com b
*aol.com m
.EE
.TP
.I /var/spool/sendfile/$LOGNAME/config/aliases
The sendfile alias file. Format:
.ES
alias address
.EE
Example:
.ES
chief grmblfz@bigvax.somewhere.net
.EE
.SH SEE ALSO
.BR sendfile (1).
.SH AUTHOR
Ulli Horlacher - framstag@rus.uni-stuttgart.de
|