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@310
|
16 " \fIInternet\fR" at S1.nw above ljust
|
meillo@310
|
17 " \fILocal network\fR" 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 ]
|
meillo@258
|
38 "Scenario 1" with .nw at last [].nw +(0.4,-0.1)
|
meillo@255
|
39
|
meillo@258
|
40 move to last [].e
|
meillo@255
|
41
|
meillo@395
|
42 move 0.5
|
meillo@255
|
43
|
meillo@255
|
44
|
meillo@255
|
45 [
|
meillo@255
|
46
|
meillo@255
|
47 moveht = 0.3
|
meillo@255
|
48 lineht = 0.3
|
meillo@255
|
49
|
meillo@255
|
50 down
|
meillo@258
|
51 line <->
|
meillo@255
|
52 ISP: ellipse "ISP"
|
meillo@255
|
53 line <-
|
meillo@255
|
54 R: box invis "router" ht .2
|
meillo@255
|
55 S1: box dashed wid 3.6 ht 1.95
|
meillo@310
|
56 " \fIInternet\fR" at S1.nw above ljust
|
meillo@310
|
57 " \fILocal network\fR" at S1.nw below ljust
|
meillo@255
|
58 move to S1.n
|
meillo@255
|
59 line
|
meillo@255
|
60 S: box "server" "(masqmail)"
|
meillo@255
|
61 move
|
meillo@255
|
62
|
meillo@255
|
63 [
|
meillo@255
|
64 right
|
meillo@255
|
65 W1: box "workstation" "(forwarder)"
|
meillo@255
|
66 move 0.3
|
meillo@255
|
67 W2: box "workstation" "(forwarder)"
|
meillo@255
|
68 move 0.3
|
meillo@255
|
69 W3: box "workstation" "(forwarder)"
|
meillo@255
|
70 ]
|
meillo@255
|
71
|
meillo@255
|
72 arrow from last [].W1.n to S.s-(0.05,0)
|
meillo@255
|
73 arrow from last [].W2.n to S.s
|
meillo@255
|
74 arrow from last [].W3.n to S.s+(0.05,0)
|
meillo@255
|
75
|
meillo@255
|
76 ]
|
meillo@258
|
77 "Scenario 2" with .nw at last [].nw +(0.4,-0.1)
|
meillo@255
|
78
|
meillo@310
|
79
|
meillo@255
|
80 .PE
|