Plan 9 from Bell Labs’s /usr/web/sources/contrib/maht/limbo/appl/cmd/vncgrab.sbl

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


limbo .sbl 2.1
vncgrab
7
vncgrab.b
sys.m
draw.m
bufio.m
arg.m
ppm.m
vnc.m
138
31.12,19 0
6,26 0
6,26 1
6,26 0
33.5,10 2
35.4,42 3
4,5 3
31,32 3
34,41 3
4,42 3
36.4,20 4
37.37,55 5
11,33 5
11,55 5
11,55 6
40.4,42 7
4,5 7
31,32 7
34,41 7
4,42 7
41.4,20 8
42.37,55 9
11,33 9
11,55 9
44.9,10 10
2,10 10
46.8,9 11
1,9 11
51.1,25 12
52.1,31 13
53.1,25 14
54.1,20 15
11,14 15
16,19 15
1,20 15
55.1,34 16
56.1,23 17
14,17 17
19,22 17
1,23 17
57.1,25 18
58.1,16 19
11,15 19
1,16 19
59.1,38 20
15,37 20
1,38 20
61.1,15 21
63.7,24 22
7,24 22
7,24 22
7,24 22
7,29 22
64.7,8 23
65.9,31 24
9,31 24
9,31 24
9,31 23
9,31 23
68.4,18 25
69.2,14 26
2,14 26
71.1,56 27
22,42 27
44,46 27
48,49 27
51,52 27
54,55 27
1,56 27
1,56 27
73.29,42 28
29,30 28
29,42 28
29,42 28
1,43 28
12,27 28
12,27 28
12,27 29
1,43 28
1,43 28
75.12,19 30
6,26 30
6,26 31
6,26 30
77.9,74 32
30,31 32
33,38 32
40,43 32
45,46 32
48,73 32
57,60 32
62,64 32
66,68 32
70,72 32
48,73 32
48,73 33
9,74 32
9,74 32
9,74 32
80.5,61 34
5,6 34
32,33 34
35,60 34
44,45 34
47,48 34
50,54 34
56,59 34
35,60 34
35,60 35
5,61 34
81.5,21 36
82.12,20 37
24,32 37
36,47 37
51,61 37
83.4,41 38
23,30 38
32,40 38
4,41 38
84.4,69 39
25,26 39
28,33 39
35,38 39
40,41 39
43,68 39
52,55 39
57,59 39
61,63 39
65,67 39
43,68 39
43,68 40
4,69 39
4,69 39
4,69 41
4,69 41
87.3,36 42
90.1,11 43
92.0,1 44
19
aSys->Dir 1:26.1,39.2 64
11
0:name:28.2,6 s
4:uid:29.2,5 s
8:gid:30.2,5 s
12:muid:31.2,6 s
16:qid:32.2,5 @1

32:mode:33.2,6 i
36:atime:34.2,7 i
40:mtime:35.2,7 i
48:length:36.2,8 B
56:dtype:37.2,7 i
60:dev:38.2,5 i
aSys->Qid 11.1,16.2 16
3
0:path:13.2,6 B
8:vers:14.2,6 i
12:qtype:15.2,7 i
aDraw->Chans 2:70.1,82.2 4
1
0:desc:72.2,6 i
aVnc->Server 6:31.1,63.2 68
17
0:io:32.2,4 R@4

4:protocol:33.2,10 i
8:width:34.2,7 i
12:height:35.2,8 i
16:bpp:36.2,5 i
20:depth:37.2,7 i
24:big_endian:38.2,12 i
28:truecolour:39.2,12 i
32:redmax:40.2,8 i
36:greenmax:41.2,10 i
40:bluemax:42.2,9 i
44:redshift:43.2,10 i
48:greenshift:44.2,12 i
52:blueshift:45.2,11 i
56:name:46.2,6 s
60:image:48.2,7 R@8

64:updates:49.2,9 CR@10

pVnc->ServerIO 12.1,29.2 0
2
4:in:13.2,4 R@5

8:out:6,9 R@5

2
cmd:15.3,6 20
2
12:clone:16.4,9 R@6

16:ctl:17.4,7 R@6

conn:18.3,7 24
1
12:connection:19.4,14 @7

aBufio->Iobuf 3:16.1,50.2 48
9
0:fd:41.2,4 R@6

4:buffer:42.2,8 Ab
8:index:43.2,7 i
12:size:44.2,6 i
16:dirty:45.2,7 i
24:bufpos:46.2,8 B
32:filpos:47.2,8 B
40:lastop:48.2,8 i
44:mode:49.2,6 i
aSys->FD 1:45.1,48.2 4
1
0:fd:47.2,4 i
aSys->Connection 52.1,57.2 12
3
0:dfd:54.2,5 R@6

4:cfd:55.2,5 R@6

8:dir:56.2,5 s
aImages->Image 5:24.1,33.2 40
8
0:width:25.2,7 i
4:height:9,15 i
8:format:17,23 i
12:maxval:25,31 i
16:numchannels:33,44 i
20:bitmap:26.2,8 R@9

24:dataoffset:27.2,12 B
32:fd:28.2,4 R@6

pImages->Bitmap 12.1,22.2 0
2
4:width:13.2,7 i
8:height:9,15 i
3
bit8:15.2,6 16
1
12:pixels:16.3,9 Ab
bit16:17.2,7 16
1
12:pixels:18.3,9 Ai
rgba8:19.2,7 16
1
12:pixels:20.3,9 Ab
aVnc->Rect 6:7.1,10.2 16
4
0:x:8.2,3 i
4:y:5,6 i
8:w:8,9 i
12:h:11,12 i
aDraw->Context 2:274.1,279.2 12
3
0:display:276.2,9 R@12

4:screen:277.2,8 R@16

8:wm:278.2,4 Ct8.2
0:t0:15,21 s
4:t1:15,21 Ct8.2
0:t0:32,38 s
4:t1:32,38 R@17



aDraw->Display 201.1,230.2 20
5
0:image:203.2,7 R@13

4:white:204.2,7 R@13

8:black:205.2,7 R@13

12:opaque:206.2,8 R@13

16:transparent:207.2,13 R@13

aDraw->Image 142.1,198.2 56
8
0:r:146.2,3 @14

16:clipr:147.2,7 @14

32:depth:148.2,7 i
36:chans:149.2,7 @2

40:repl:150.2,6 i
44:display:151.2,9 R@12

48:screen:152.2,8 R@16

52:iname:153.2,7 s
aDraw->Rect 116.1,139.2 16
2
0:min:118.2,5 @15

8:max:119.2,5 @15

aDraw->Point 99.1,113.2 8
2
0:x:101.2,3 i
4:y:102.2,3 i
aDraw->Screen 249.1,263.2 16
4
0:id:251.2,4 i
4:image:252.2,7 R@13

8:fill:253.2,6 R@13

12:display:254.2,9 R@12

aDraw->Wmcontext 282.1,291.2 28
7
0:kbd:284.2,5 Ci
4:ptr:285.2,5 CR@18

8:ctl:286.2,5 Cs
12:wctl:287.2,6 Cs
16:images:288.2,8 CR@13

20:connfd:289.2,8 R@6

24:ctxt:290.2,6 R@11

aDraw->Pointer 266.1,271.2 16
3
0:buttons:268.2,9 i
4:xy:269.2,4 @15

12:msec:270.2,6 i
2
0:pixel_colour_trigger
5
32:s:0:28.21,22 R@3

36:pixel_index:37,48 i
40:trigger_value:50,63 i
44:until:65,70 i
48:hotspot:78,85 R@10

2
56:bm:31.6,8 R@9

60:r:30.1,2 R@10

i28:init
1
36:args:49.23,27 Ls
5
40:s:71.1,2 R@3

44:r:78.4,5 R@10

48:filename:61.1,9 s
52:bm:75.6,8 R@9

56:c:63.8,9 i
n5
84:arg:13.1,4 mArg
4:1.0,14.1 0

88:bufio:0:9.1,6 mBufio
3:1.0,57.1 0

96:images:0:16.1,7 mImages
5:3.0,38.1 0

104:sys:0:4.1,4 mSys
1:0,160.1 0

112:vnc:0:21.1,4 mVnc
6:2.0,176.1 0


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].