godot-xterm/docs/_static/images/diagram_pty.svg

487 lines
20 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This file was generated by dvisvgm 1.14 -->
<svg
height="725.84851"
version="1.1"
viewBox="-71 -68 306.27861 241.9495"
width="918.83582"
id="svg802"
sodipodi:docname="pty_diagram.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
inkscape:export-filename="pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs806" />
<sodipodi:namedview
id="namedview804"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="0.75243414"
inkscape:cx="606.69762"
inkscape:cy="394.71893"
inkscape:window-width="1600"
inkscape:window-height="900"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg802"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1" />
<style
type="text/css"
id="style668"><![CDATA[ text.f1 {fill:black;font-family:times;font-size:8;font-style:italic} text.f3 {fill:black;font-family:times;font-size:8} text.f5 {fill:black;font-family:courier;font-size:9} text.f7 {fill:black;font-family:times;font-size:9;font-style:italic} text.f9 {fill:black;font-family:times;font-size:9} ]]></style>
<rect
style="fill:#333f67;fill-opacity:1;stroke-width:0;paint-order:markers stroke fill"
id="rect15503"
width="85.316261"
height="97.62043"
x="-70.400002"
y="23.624069"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<rect
style="fill:#333f67;fill-opacity:1;stroke-width:0;paint-order:markers stroke fill"
id="rect15377"
width="137.86372"
height="93.743095"
x="-70.511597"
y="-66.960007"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<text
class="f7"
x="-6.9957995"
y="-22.62919"
id="text670"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:times;-inkscape-font-specification:times;fill:#e6e1e8;fill-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">PTY</text>
<text
class="f7"
x="164.4722"
y="-21.73703"
id="text672"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">bash</text>
<text
class="f9"
x="-41.1707"
y="91.650208"
id="text674"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">Terminal</text>
<text
class="f9"
x="37.457401"
y="86.170212"
id="text678"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">Pseudo ter-<tspan
x="34.973701"
y="97.12912"
id="tspan676"
style="fill:#e6e1e8;fill-opacity:1">minal master</tspan></text>
<text
class="f9"
x="150.84489"
y="80.052208"
id="text682"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">Pseudo ter-<tspan
x="151.7998"
y="91.011124"
id="tspan680"
style="fill:#e6e1e8;fill-opacity:1">minal slave</tspan></text>
<text
class="f5"
x="136.60744"
y="101.97"
id="text684"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">(/dev/pts/...)</text>
<text
class="f9"
x="-19.4522"
y="162.47621"
id="text686"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">User</text>
<text
class="f1"
x="81.129288"
y="-16.03142"
id="text690"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">fork()</text>
<text
class="f1"
x="184.27449"
y="35.80901"
id="text692"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">Kernel space</text>
<text
class="f7"
x="186.45639"
y="21.374477"
id="text694"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">User space</text>
<text
class="f3"
x="-38.39201"
y="4.7725101"
id="text696"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">stdin</text>
<text
class="f1"
x="-0.25396016"
y="16.79611"
id="text698"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">read()</text>
<text
class="f3"
x="-21.21701"
y="59.758808"
id="text702"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">stdout<tspan
x="-21.21701"
y="67.72892"
id="tspan700"
style="fill:#e6e1e8;fill-opacity:1">stderr</tspan></text>
<text
class="f1"
x="44.240791"
y="50.493011"
id="text704"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">write()</text>
<text
class="f3"
x="128.64949"
y="15.59881"
id="text706"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">stdin()</text>
<text
class="f3"
x="164.6825"
y="56.366508"
id="text710"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">stdout<tspan
x="164.6825"
y="64.336617"
id="tspan708"
style="fill:#e6e1e8;fill-opacity:1">stderr</tspan></text>
<text
class="f3"
x="-14.075388"
y="128.31775"
id="text712"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">keyboard input</text>
<text
class="f3"
x="-65.419708"
y="134.05421"
id="text714"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">terminal output</text>
<path
d="M -34.568,-10.70469 H 42.9399 V -39.0524 H -34.568 Z"
id="path716"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 135.5146,-10.70469 c 29.85653,-0.510294 51.83826,-0.02119 77.507,0 V -39.0524 h -77.507 z"
id="path718"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
sodipodi:nodetypes="ccccc" />
<path
d="M -55.8297,102.6825 H 7.50626 V 74.3343 H -55.8297 Z"
id="path720"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="M 22.1235,102.6825 H 99.6316 V 74.3343 H 22.1235 Z"
id="path722"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 128.4246,106.6705 h 91.683 V 70.3421 h -91.683 z"
id="path724"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 34.7953,159.3735 c 0,-7.828 -20.0508,-14.172 -44.78511,-14.172 -24.73049,0 -44.78129,6.344 -44.78129,14.172 0,7.828 20.0508,14.176 44.78129,14.176 24.73431,0 44.78511,-6.348 44.78511,-14.176 z"
id="path726"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="M -70.4,121.2445 H 234.6786 V -67.4 H -70.4 Z"
stroke-width="1.2"
id="path728"
style="fill:none;stroke:#e6e1e8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 43.3383,-24.8805 h 86.3903"
stroke-dasharray="3, 3"
id="path730"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 133.8536,-24.8805 -5.851,-1.96094 1.925,1.96094 -1.925,1.96484 z"
id="path732"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;fill-opacity:1;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="M 14.916264,26.9203 H 235.2756"
stroke-dasharray="3, 3"
stroke-width="0.863383"
id="path734"
style="fill:none;stroke:#e6e1e8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 105.4166,88.5065 h 17.226"
id="path736"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 101.2916,88.5065 5.851,1.965 -1.926,-1.965 1.926,-1.961 z"
id="path738"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1;fill-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 126.7676,88.5065 -5.855,-1.961 1.929,1.961 -1.929,1.965 z"
id="path740"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;fill-opacity:1;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="M -38.7359,73.9359 -17.9937,-5.0993"
id="path746"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m -16.9468,-9.08749 -3.3868,5.16409 2.3907,-1.3672 1.4062,2.3672 z"
id="path748"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1;fill-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m -31.2047,68.725 20.81639,-79.03129"
id="path750"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m -32.2554,72.7172 3.3945,-5.1641 -2.3945,1.3672 -1.4063,-2.3672 z"
id="path752"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;fill-opacity:1;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="M 40.0649,73.9359 15.9594,-5.1539"
id="path754"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 14.7563,-9.09923 -0.1719,6.17583 1.3164,-2.418 2.4453,1.2734 z"
id="path756"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1;fill-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="M 47.0024,68.807 21.5531,-10.30629"
id="path758"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 48.2641,72.7367 0.0781,-6.1758 -1.2773,2.4375 -2.461,-1.2344 z"
id="path760"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;fill-opacity:1;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 147.7526,69.9437 5.32,-74.8828"
id="path762"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 153.3616,-9.05241 -2.371,5.69921 2.093,-1.7851 1.821,2.0664 z"
id="path764"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1;fill-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 156.1276,64.5765 5.91,-74.88279"
id="path766"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 155.7996,68.6859 2.422,-5.6836 -2.11,1.7695 -1.808,-2.0781 z"
id="path768"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1;fill-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m -20.189,108.3695 6.2343,31.172"
id="path770"
style="fill:none;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m -21.0015,104.3185 -0.7774,6.133 1.5508,-2.282 2.3086,1.512 z"
id="path772"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;stroke-opacity:1;fill-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m -13.1421,143.5925 0.7773,-6.137 -1.5508,2.281 -2.3047,-1.511 z"
id="path774"
style="fill:#e6e1e8;stroke:#e6e1e8;stroke-width:0.8;stroke-miterlimit:10.0375;fill-opacity:1;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
d="m 48.2641,72.7367 c -79.5094,-93.824467 -39.7547,-46.912233 0,0 z"
id="path791"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
sodipodi:nodetypes="cc" />
<path
d="m -21.0015,104.3185 -0.7774,6.133 1.5508,-2.282 2.3086,1.512 z"
id="path797"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="stroke:none;stroke-opacity:1;fill:none;fill-opacity:1" />
<path
d="m -13.1421,143.5925 0.7773,-6.137 -1.5508,2.281 -2.3047,-1.511 z"
id="path799"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1;stroke:none;stroke-opacity:1" />
<text
class="f7"
x="-66.659271"
y="-56.897106"
id="text15698"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
style="fill:#e6e1e8;fill-opacity:1">Godot</text>
<path
d="m 14.91626,26.9203 v 94.65039"
stroke-dasharray="3, 3"
stroke-width="0.565847"
id="path17110"
style="fill:none;stroke:#e6e1e8;stroke-miterlimit:10.0375;stroke-opacity:1"
inkscape:export-filename="/home/leroy/projects/godot-xterm/docs/wiki/media/pty_diagram.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
</svg>