rev |
line source |
meillo@255
|
1 .PS
|
meillo@255
|
2 # masqmail-typical-usage
|
meillo@255
|
3 scale = 1.2
|
meillo@255
|
4
|
meillo@255
|
5 [
|
meillo@255
|
6 moveht = 0.3
|
meillo@255
|
7 lineht = 0.3
|
meillo@255
|
8
|
meillo@255
|
9
|
meillo@255
|
10 down
|
meillo@258
|
11 line <->
|
meillo@255
|
12 ISP: ellipse "ISP"
|
meillo@255
|
13 line <-
|
meillo@255
|
14 R: box invis "router" ht .2
|
meillo@255
|
15 S1: box dashed wid 3.6 ht 1.95
|
meillo@255
|
16 " Internet" at S1.nw above ljust
|
meillo@255
|
17 " Local network" at S1.nw below ljust
|
meillo@255
|
18 move to S1.n
|
meillo@255
|
19 move 2*moveht+boxht
|
meillo@255
|
20
|
meillo@255
|
21 [
|
meillo@255
|
22 right
|
meillo@255
|
23 W1: box "workstation" "(masqmail)"
|
meillo@255
|
24 line <-> 0.3
|
meillo@255
|
25 W2: box "workstation" "(masqmail)"
|
meillo@255
|
26 line <-> 0.3
|
meillo@255
|
27 W3: box "workstation" "(masqmail)"
|
meillo@255
|
28 ]
|
meillo@255
|
29
|
meillo@255
|
30 line from last [].W1.n to R.s-(0.05,lineht) then to R.s-(0.05,0)
|
meillo@255
|
31 line from last [].W2.n to R.s-(0,lineht) then to R.s
|
meillo@255
|
32 line from last [].W3.n to R.s+(0.05,-lineht) then to R.s+(0.05,0)
|
meillo@255
|
33
|
meillo@255
|
34 arrow from R.n-(0.05,0) to ISP.s-(0.05,0)
|
meillo@255
|
35 arrow from R.n+(0.05,0) to ISP.s+(0.05,0)
|
meillo@255
|
36
|
meillo@255
|
37 #spline -> from last [].W1.n to R.s-(0.05,0) then to ISP.s-(0.05,0)
|
meillo@255
|
38 #spline -> from last [].W2.n to R.s then to ISP.s
|
meillo@255
|
39 #spline -> from last [].W3.n to R.s+(0.05,0) then to ISP.s+(0.05,0)
|
meillo@255
|
40
|
meillo@255
|
41 #circle "mail" "box" with .w at ISP.e
|
meillo@255
|
42
|
meillo@255
|
43 ]
|
meillo@258
|
44 "Scenario 1" with .nw at last [].nw +(0.4,-0.1)
|
meillo@255
|
45
|
meillo@258
|
46 move to last [].e
|
meillo@255
|
47
|
meillo@255
|
48 move
|
meillo@255
|
49
|
meillo@255
|
50
|
meillo@255
|
51 [
|
meillo@255
|
52
|
meillo@255
|
53 moveht = 0.3
|
meillo@255
|
54 lineht = 0.3
|
meillo@255
|
55
|
meillo@255
|
56 down
|
meillo@258
|
57 line <->
|
meillo@255
|
58 ISP: ellipse "ISP"
|
meillo@255
|
59 line <-
|
meillo@255
|
60 R: box invis "router" ht .2
|
meillo@255
|
61 S1: box dashed wid 3.6 ht 1.95
|
meillo@255
|
62 " Internet" at S1.nw above ljust
|
meillo@255
|
63 " Local network" at S1.nw below ljust
|
meillo@255
|
64 move to S1.n
|
meillo@255
|
65 line
|
meillo@255
|
66 S: box "server" "(masqmail)"
|
meillo@255
|
67 move
|
meillo@255
|
68
|
meillo@255
|
69 [
|
meillo@255
|
70 right
|
meillo@255
|
71 W1: box "workstation" "(forwarder)"
|
meillo@255
|
72 move 0.3
|
meillo@255
|
73 W2: box "workstation" "(forwarder)"
|
meillo@255
|
74 move 0.3
|
meillo@255
|
75 W3: box "workstation" "(forwarder)"
|
meillo@255
|
76 ]
|
meillo@255
|
77
|
meillo@255
|
78 arrow from last [].W1.n to S.s-(0.05,0)
|
meillo@255
|
79 arrow from last [].W2.n to S.s
|
meillo@255
|
80 arrow from last [].W3.n to S.s+(0.05,0)
|
meillo@255
|
81
|
meillo@255
|
82 #circle "mail" "box" with .w at ISP.e
|
meillo@255
|
83 #circle "mail" "box" with .w at S.e
|
meillo@255
|
84
|
meillo@255
|
85 ]
|
meillo@258
|
86 "Scenario 2" with .nw at last [].nw +(0.4,-0.1)
|
meillo@255
|
87
|
meillo@255
|
88 .PE
|