meillo@255: .PS meillo@255: # masqmail-typical-usage meillo@255: scale = 1.2 meillo@255: meillo@255: [ meillo@255: moveht = 0.3 meillo@255: lineht = 0.3 meillo@255: meillo@255: meillo@255: down meillo@258: line <-> meillo@255: ISP: ellipse "ISP" meillo@255: line <- meillo@255: R: box invis "router" ht .2 meillo@255: S1: box dashed wid 3.6 ht 1.95 meillo@310: " \fIInternet\fR" at S1.nw above ljust meillo@310: " \fILocal network\fR" at S1.nw below ljust meillo@255: move to S1.n meillo@255: move 2*moveht+boxht meillo@255: meillo@255: [ meillo@255: right meillo@255: W1: box "workstation" "(masqmail)" meillo@255: line <-> 0.3 meillo@255: W2: box "workstation" "(masqmail)" meillo@255: line <-> 0.3 meillo@255: W3: box "workstation" "(masqmail)" meillo@255: ] meillo@255: meillo@255: line from last [].W1.n to R.s-(0.05,lineht) then to R.s-(0.05,0) meillo@255: line from last [].W2.n to R.s-(0,lineht) then to R.s meillo@255: line from last [].W3.n to R.s+(0.05,-lineht) then to R.s+(0.05,0) meillo@255: meillo@255: arrow from R.n-(0.05,0) to ISP.s-(0.05,0) meillo@255: arrow from R.n+(0.05,0) to ISP.s+(0.05,0) meillo@255: meillo@255: ] meillo@258: "Scenario 1" with .nw at last [].nw +(0.4,-0.1) meillo@255: meillo@258: move to last [].e meillo@255: meillo@395: move 0.5 meillo@255: meillo@255: meillo@255: [ meillo@255: meillo@255: moveht = 0.3 meillo@255: lineht = 0.3 meillo@255: meillo@255: down meillo@258: line <-> meillo@255: ISP: ellipse "ISP" meillo@255: line <- meillo@255: R: box invis "router" ht .2 meillo@255: S1: box dashed wid 3.6 ht 1.95 meillo@310: " \fIInternet\fR" at S1.nw above ljust meillo@310: " \fILocal network\fR" at S1.nw below ljust meillo@255: move to S1.n meillo@255: line meillo@255: S: box "server" "(masqmail)" meillo@255: move meillo@255: meillo@255: [ meillo@255: right meillo@255: W1: box "workstation" "(forwarder)" meillo@255: move 0.3 meillo@255: W2: box "workstation" "(forwarder)" meillo@255: move 0.3 meillo@255: W3: box "workstation" "(forwarder)" meillo@255: ] meillo@255: meillo@255: arrow from last [].W1.n to S.s-(0.05,0) meillo@255: arrow from last [].W2.n to S.s meillo@255: arrow from last [].W3.n to S.s+(0.05,0) meillo@255: meillo@255: ] meillo@258: "Scenario 2" with .nw at last [].nw +(0.4,-0.1) meillo@255: meillo@310: meillo@255: .PE