summaryrefslogtreecommitdiff
path: root/static/v10/man9/movie.9
blob: 44735e11457e60a5761781bed2c38c395a39560d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
.TH MOVIE 9.1
.CT 1 graphics  writing_troff
.SH NAME
movie, stills \- algorithm animation
.SH SYNOPSIS
.B movie
[
.B -t
.I termprog
]
[
.B -m
.I memory
]
[
.I file
]
.PP
.B stills
[
.I files ...
]
.SH DESCRIPTION
.I Movie
converts a `movie script'
into an internal representation, then displays it in a window on a
Teletype 5620, AT&T630, or X-11 system (depending on which version has been compiled).
If the filename is of the form
.IB file .s ,
.I movie
creates the intermediate form in
.IB file .i ,
which will be used in subsequent calls if it is more recent than
.IB file .s ,
The options are:
.TP \w'\f5-t\ \fItermprog\ 'u
.BI -t " termprog
Load
.I termprog
instead of the default terminal program.
.br
.ns
.TP
.BI -m mem
Use
.I mem
bytes of terminal memory instead of the default.
.PP
In the terminal, button 1 stops and starts the movie;
button 2 adjusts view sizes and selects clicks;
button 3 sets various parameters.
.SS Movie scripts
A movie consists of multiple independent views,
each presented as a rectangular sub-window.
If no 
.B view
statements appear, there is a single implicit view
.BR def.view .
Any text or geometrical object may be labeled with a name and colon.
Labels and coordinates are local to views.
A recurring label erases the previous
object with that label.
.PP
Comments follow #; blank lines are ignored.
.HP
.B text
.I options x y string
.br
Text is centered and medium size by default;  options: one of
.B "center
.B ljust
.B rjust
.B above
.BR below ,
and one of
.BR "small
.B medium
.B big
.BR bigbig .
A leading quote is stripped from
.IR string ,
as is a trailing quote if a leading one is present.
.PD 0
.HP
.BI line
.I "options x1 y1 x2 y2
.br
Lines are solid by default;  options: one of
.B "fat
.B fatfat
.B dotted
.B dashed
and one of
.B "->
.B <-
.BR <-> .
.HP
.BI box
.I "options xmin ymin xmax ymax
.br
A box may be
.BR fill ed.
.HP
.BI circle 
.I "options x1 y1 radius
.br
Radius is measured in the
.I x
dimension.
A circle may be
.BR fill ed.
.TP
.BI erase " label
Erase an object explicitly.
.TP
.B clear
Erase all objects currently in the current view.
.TP
.BI click " optional-name
Place a mark in the intermediate with this name;
clicks are used to control stepping in a movie or to define frames
for a set of stills.
.TP
.BI view " name
.br
Associate subsequent objects with this view,
until changed again.
.PD
.PP
.I Stills
converts selected frames of a movie into
commands for
.IR pic (1).
Commands for
.I stills
begin with
.B .begin stills
and end with
.B .end
.BR stills .
.SH FILES
All files are in
.BR /usr/lib/movie .
.TF stills.awk
.TP
.F develop
Shell script to control conversion from script language to internal form.
.TP
.F fdevelop
C program that does the work.
.TP
.F stills.awk
Awk program to process stills language into
.IR pic (1).
.TP
.F anim
Host end of the animation system.
.TP
.F animterm
terminal end.
.TP
.F newer
Test whether one file is newer than another.
.SH "SEE ALSO"
.IR flicks (9.1),
.IR pic (1)
.br
J. L. Bentley and B. W. Kernighan,
`A System for Algorithm Animation',
this manual, Volume 2
.SH BUGS
The 630 can only handle 65000 bytes of memory.