summaryrefslogtreecommitdiff
path: root/news/xmitbin/files/patch-ac
diff options
context:
space:
mode:
authorDonald Burr <dburr@FreeBSD.org>1998-05-16 03:30:43 +0000
committerDonald Burr <dburr@FreeBSD.org>1998-05-16 03:30:43 +0000
commit0ecccd54b8d73a793b4d0047410effcd8b3375a7 (patch)
tree4dd3d78845da8f7460ab8de9303ac38b91c24ca6 /news/xmitbin/files/patch-ac
parentupdated with RESTRICTED status of x11/sharefonts. (diff)
New port news/xmitbin, a binary file e-mailer &/or poster.
Notes
Notes: svn path=/head/; revision=11005
Diffstat (limited to 'news/xmitbin/files/patch-ac')
-rw-r--r--news/xmitbin/files/patch-ac28
1 files changed, 28 insertions, 0 deletions
diff --git a/news/xmitbin/files/patch-ac b/news/xmitbin/files/patch-ac
new file mode 100644
index 000000000000..c1aac6ef64a2
--- /dev/null
+++ b/news/xmitbin/files/patch-ac
@@ -0,0 +1,28 @@
+diff -ruN mailbin.old mailbin
+--- mailbin.old Wed Dec 31 16:00:00 1969
++++ mailbin Sat Nov 29 04:15:38 1997
+@@ -0,0 +1,24 @@
++#!/bin/sh
++MAILER="Mail"
++DSCDIR=${HOME}/.xmitBin
++if [ ! -d ${DSCDIR} ]
++then
++ echo creating ${DSCDIR}
++ mkdir ${DSCDIR}
++fi
++export MAILER DSCDIR
++
++if [ $# -ne 3 ]
++then
++ echo "usage: ${0} email filename title"
++ echo "NOTE: title must be all one argument, so enclose it in quotes!"
++ exit 1
++fi
++
++ADDR=${1}
++FILE=${2}
++TITLE=${3}
++
++exec xmitBin -mail -d ${ADDR} -f ${FILE} -verbose "${TITLE}"
++# -l label to put in titlebar
++# consider -noscript