docs/diploma

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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thesis/img/Makefile	Thu Jan 01 21:32:19 2009 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +# generate clipped EPS pictures of PIC files
     1.5 +#
     1.6 +# requires: pic, troff (with font Palatino), grops, ps2eps
     1.7 +
     1.8 +#IMG=`ls *.pic | sed 's/\.pic$$/.eps/'`
     1.9 +IMG=comm-classification.eps masqmail-arch-new.eps
    1.10 +
    1.11 +
    1.12 +.PHONY: all
    1.13 +all: info $(IMG)
    1.14 +
    1.15 +info:
    1.16 +	@echo "pictures to generate: $(IMG)"
    1.17 +
    1.18 +
    1.19 +
    1.20 +.SUFFIXES: .pic .eps
    1.21 +.pic.eps: *.pic
    1.22 +	@echo ">>>> processing: $*"
    1.23 +	pic $*.pic | troff -fP | grops | ps2eps -f > $*.eps
    1.24 +
    1.25 +
    1.26 +.PHONY: clean
    1.27 +clean:
    1.28 +	rm -f `ls *.pic | sed 's/\.pic$$/.eps/'`
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/thesis/img/comm-classification.pic	Thu Jan 01 21:32:19 2009 +0100
     2.3 @@ -0,0 +1,37 @@
     2.4 +.PS
     2.5 +
     2.6 +boxwid = 2
     2.7 +boxht = 1
     2.8 +colheaderh = 0.4
     2.9 +rowheaderw = 1.0
    2.10 +
    2.11 +
    2.12 +
    2.13 +define header {
    2.14 +	[
    2.15 +		right
    2.16 +		box invis "" ht colheaderh wid rowheaderw
    2.17 +		box dotted "\fI" $1 "\fR" ht colheaderh
    2.18 +		box dotted "\fI" $2 "\fR" ht colheaderh
    2.19 +	]
    2.20 +}
    2.21 +define row {
    2.22 +	[
    2.23 +		right
    2.24 +		box dotted "\fI" $1 "\fR" wid rowheaderw
    2.25 +		box $2
    2.26 +		box $3
    2.27 +	]
    2.28 +}
    2.29 +down
    2.30 +
    2.31 +
    2.32 +header("written",  "recorded")
    2.33 +row("asynchronous" "(messages)",  "email" "SMS",  "voice mail" "video messages")
    2.34 +row("synchronous" "(dialog)",  "IM" "chat",  "VoIP" "video conferencing")
    2.35 +
    2.36 +
    2.37 +
    2.38 +
    2.39 +
    2.40 +.PE
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/thesis/img/masqmail-arch-new.pic	Thu Jan 01 21:32:19 2009 +0100
     3.3 @@ -0,0 +1,59 @@
     3.4 +.PS
     3.5 +# the new architecture
     3.6 +
     3.7 +maxpswid = 6.0
     3.8 +linewid = 0.2
     3.9 +movewid = 0.3
    3.10 +
    3.11 +
    3.12 +I: [
    3.13 +down
    3.14 +I1: ellipse "sendmail"
    3.15 +move 0.2
    3.16 +I2: ellipse "smtpd"
    3.17 +move 0.2
    3.18 +I3: ellipse "..."
    3.19 +]
    3.20 +
    3.21 +move
    3.22 +
    3.23 +QI: ellipse "queue-in"
    3.24 +arrow up right
    3.25 +IQ: box dashed "incoming" "queue"
    3.26 +arrow
    3.27 +SC: ellipse "scanning"
    3.28 +arrow
    3.29 +OQ: box dashed "outgoing" "queue"
    3.30 +arrow down right
    3.31 +QO: ellipse "queue-out"
    3.32 +
    3.33 +move
    3.34 +
    3.35 +O: [
    3.36 +down
    3.37 +O1: ellipse "pipe"
    3.38 +move 0.2
    3.39 +O2: ellipse "smtp"
    3.40 +move 0.2
    3.41 +O3: ellipse "..."
    3.42 +]
    3.43 +
    3.44 +arrow from I.I1.e to QI.w
    3.45 +arrow from I.I2.e to QI.w
    3.46 +arrow from I.I3.e to QI.w
    3.47 +
    3.48 +arrow from QO.e to O.O1.w
    3.49 +arrow from QO.e to O.O2.w
    3.50 +arrow from QO.e to O.O3.w
    3.51 +
    3.52 +
    3.53 +line dotted up from SC.n
    3.54 +box invis "external mail scanners" ht 0.2
    3.55 +
    3.56 +line dotted down from SC.s
    3.57 +PL: box dashed "message" "pool"
    3.58 +line -> down right from QI.e then to PL.w
    3.59 +line <- down left from QO.w then to PL.e
    3.60 +
    3.61 +
    3.62 +.PE