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