changeset 202:3882f462d02d

added first PIC pictures plus Makefile
author meillo@marmaro.de
date Thu, 01 Jan 2009 21:32:19 +0100
parents 013a13ee0a5f
children 991400d3b861
files thesis/img/Makefile thesis/img/comm-classification.pic thesis/img/masqmail-arch-new.pic
diffstat 3 files changed, 121 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/thesis/img/Makefile	Thu Jan 01 21:32:19 2009 +0100
@@ -0,0 +1,25 @@
+# generate clipped EPS pictures of PIC files
+#
+# requires: pic, troff (with font Palatino), grops, ps2eps
+
+#IMG=`ls *.pic | sed 's/\.pic$$/.eps/'`
+IMG=comm-classification.eps masqmail-arch-new.eps
+
+
+.PHONY: all
+all: info $(IMG)
+
+info:
+	@echo "pictures to generate: $(IMG)"
+
+
+
+.SUFFIXES: .pic .eps
+.pic.eps: *.pic
+	@echo ">>>> processing: $*"
+	pic $*.pic | troff -fP | grops | ps2eps -f > $*.eps
+
+
+.PHONY: clean
+clean:
+	rm -f `ls *.pic | sed 's/\.pic$$/.eps/'`
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/thesis/img/comm-classification.pic	Thu Jan 01 21:32:19 2009 +0100
@@ -0,0 +1,37 @@
+.PS
+
+boxwid = 2
+boxht = 1
+colheaderh = 0.4
+rowheaderw = 1.0
+
+
+
+define header {
+	[
+		right
+		box invis "" ht colheaderh wid rowheaderw
+		box dotted "\fI" $1 "\fR" ht colheaderh
+		box dotted "\fI" $2 "\fR" ht colheaderh
+	]
+}
+define row {
+	[
+		right
+		box dotted "\fI" $1 "\fR" wid rowheaderw
+		box $2
+		box $3
+	]
+}
+down
+
+
+header("written",  "recorded")
+row("asynchronous" "(messages)",  "email" "SMS",  "voice mail" "video messages")
+row("synchronous" "(dialog)",  "IM" "chat",  "VoIP" "video conferencing")
+
+
+
+
+
+.PE
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/thesis/img/masqmail-arch-new.pic	Thu Jan 01 21:32:19 2009 +0100
@@ -0,0 +1,59 @@
+.PS
+# the new architecture
+
+maxpswid = 6.0
+linewid = 0.2
+movewid = 0.3
+
+
+I: [
+down
+I1: ellipse "sendmail"
+move 0.2
+I2: ellipse "smtpd"
+move 0.2
+I3: ellipse "..."
+]
+
+move
+
+QI: ellipse "queue-in"
+arrow up right
+IQ: box dashed "incoming" "queue"
+arrow
+SC: ellipse "scanning"
+arrow
+OQ: box dashed "outgoing" "queue"
+arrow down right
+QO: ellipse "queue-out"
+
+move
+
+O: [
+down
+O1: ellipse "pipe"
+move 0.2
+O2: ellipse "smtp"
+move 0.2
+O3: ellipse "..."
+]
+
+arrow from I.I1.e to QI.w
+arrow from I.I2.e to QI.w
+arrow from I.I3.e to QI.w
+
+arrow from QO.e to O.O1.w
+arrow from QO.e to O.O2.w
+arrow from QO.e to O.O3.w
+
+
+line dotted up from SC.n
+box invis "external mail scanners" ht 0.2
+
+line dotted down from SC.s
+PL: box dashed "message" "pool"
+line -> down right from QI.e then to PL.w
+line <- down left from QO.w then to PL.e
+
+
+.PE