File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / issues / figure2.pic
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

.PS 8i
.ps 20
boxwid	=	2*boxwid
define boxit @
	box "$1" with .n at ($2.s.x, $2.s.y-lineht/2)
	line from $2.s to last box.n
@
define peer @
	box "$1" with .n at ($3.s.x, $3.s.y-lineht/2)
	line    from $3.s to last box.n
	line $4 from $2.e to last box.w
@
## figure 2
B1:	box "\xx APPL-$\alpha$"
B2:	boxit(\xx PRESENTATION,B1)
B3:	boxit(\xx SESSION,B2)
B4:	box "\xx TRANSPORT" with .n at (B3.s.x, B3.s.y-lineht/2)
	line from B3.s to B4.n
##
P1:	box "\xx APPL-$\alpha$" with .w at (B1.e.x+2*linewid, B1.e.y)
	line dashed from B1.e to P1.w
P2:	peer(\xx PRESENTATION,B2,P1,dashed)
P3:	peer(\xx SESSION,B3,P2,dashed)
P4:	box "\xx TRANSPORT" with .n at (P3.s.x, P3.s.y-lineht/2)
	line from P3.s to P4.n
	line from B4.e to P4.w
##
C1:	box "\xx APPL-$\gamma$" with .w at (P1.e.x+linewid, P1.e.y)
C2:	box invis with .n at (C1.s.x, C1.s.y-lineht/2)
	line from C1.s to C2.n
C3:	box invis with .n at (C2.s.x, C2.s.y-lineht/2)
C4:	box invis with .n at (C3.s.x, C3.s.y-lineht/2)
##
Q1:	box "\xx APPL-$\gamma$" with .w at (C1.e.x+2*linewid, C1.e.y)
	line dashed from C1.e to Q1.w
Q2:	box invis with .n at (Q1.s.x, Q1.s.y-lineht/2)
	line from Q1.s to Q2.n
Q3:	box invis with .n at (Q2.s.x, Q2.s.y-lineht/2)
Q4:	box invis with .n at (Q3.s.x, Q3.s.y-lineht/2)
##
Z1:	box with .nw at C2.nw width (Q2.ne.x-C2.nw.x) \
		height (C2.nw.y-C4.sw.y) \
		"OTHER STACK"
##
G1:	box "APPLICATION" "" "GATEWAY" \
		with .sw at (P1.nw.x, P1.nw.y+lineht) \
		height 2*boxht width C1.ne.x-P1.nw.x
	line up from P1.n
	line up from C1.n
	line dashed from (G1.s.x, G1.s.y-lineht/2) \
		    to (G1.s.x, C4.s.y-lineht/2)
##
G2:	box with .nw at (P4.sw.x, P4.sw.y-lineht) \
		width C4.se.x-P4.sw.x height boxht/6 shaded
	move to (G2.s.x, G2.s.y-lineht/2); "GATEWAY HOST"
	move to ((B4.s.x+P4.s.x)/2, B4.s.y-lineht/2); "OSI"
	move to ((C4.s.x+Q4.s.x)/2, C4.s.y-lineht/2); "non-OSI"
##
.PE

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.