summaryrefslogtreecommitdiff
path: root/static/unix-v10/man9/ped.9
blob: becd4d41a725e0c31aad532666c318d04bee335d (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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
.TH PED 9.1
.CT 1 editor writing_troff graphics
.SH NAME
ped, tped \- picture editor
.SH SYNOPSIS
.B ped
[
.B -f
]
[
.I file ...
]
.PP
.B tped
[
.I option ...
]
[
.I file ...
]
.SH DESCRIPTION
.I Ped
is an interactive drawing program for
5620 terminals.
A
.I file
argument is equivalent to
an 
.L e
command as described below.
Most features of
.I ped
are menu-controlled and self-explanatory; further details
are in the reference.
.PP
Button 1 selects actions
from a permanent menu and to draw or pick up an object.
Button 3 terminates drawing actions or changes
the permanent menu.
Button 2 causes the permanent menu to revert to
.LR basic .
.PP
The operation of
.I ped
is split between host and terminal.
When a file is first read, it is kept on
the host;
.L bring in
gets it to the 5620.
.PP
Option
.B -f
causes
.I ped
to display all text in one size to save time and space.
.PP
Some of the actions on permanent menus (switched by button 3)
are described below.
The last action is usually remembered and may be
executed repeatedly
until another is selected.
Thus, for example, one can fill many polygons with
one button click per polygon.
Actions marked
.L (t)
in the menu toggle on and off.
.PP
.B basic
menu
.RS
.TF rotate
.TP
.B blitblt
Copy part of the screen to file
.FR BLITBLT ,
see
.IR blitblt (9.1).
.TP
.B exit
Leave
.IR ped ,
requires a confirming push of button 3.
.TP
.B markers
Make visible the defining points of objects;
these are the only points sensitive to selection by button 1.
.RE
.TP
.B type comm
Take input from the keyboard.
.RS
.TF rotate
.TP
.BI e " file"
Begin editing
.IR file,
remember its name, as in
.IR ed (1).
Commands
.B f
(file name),
.B r
(read),
.B w
(write),
behave similarly.
.TP
.B qq
Same as
.B exit
in
.B basic
menu; altered files will be saved in
.FR ped.save .
.TP
.B cd
Change working directory.
.TP
.B pwd
Print working directory.
.TP
newline
Reactivate mouse.
.TP
.BI u " string"
Remember
.I string
as a shell command for the selection
.L user oper
in menu
.LR refine.
.PD
.RE
.TP
.B ch size
.PD0
.RS
.TF rotate
.TP
.B rotate
displays a vector from the center (of the bounding box) of an object to the
selected point.
The object is rotated and scaled to bring that point to
a second selected position.
.TP
.B h-elong
Change aspect ratio.
The inverse is
.BR v-elong .
.RE
.PD
.TP
.B move
Button 3 cancels a move or copy.
To help untangle overlapping objects, the cancellation
does not take place until returning to the basic menu.
.RS
.PD0
.TF rotate
.TP
.B attach
Move an open polygon (a broken line)
and hook it to the end of another.
.TP
.B join
Connect the ends of two polygons with a new line.
.TP
.B link
Cause multiple polygons to move and be filled as one
(useful for making holes).
Linked polygons must all be open or all be closed.
.TP
.B match
Move objects to bring selected points together.
.TP
.B center
Move objects to bring their centers together.
.TP
.B family/pt
Select objects to be moved or deleted together.
.RE
.PD
.TP
.B draw
Button 1 fixes a point;
button 3 terminates an object.
.PD0
.RS
.TF rotate
.TP
.B text
Type one or more lines terminated by an empty line.
.TP
.B grid
Snap points to locations on
a grid, which indexes through settings FMC (fine, medium, coarse, none).
.TP
.B fix sz
Set option
.BR -f .
.TP
.B family/bx
Sweep a box around objects to be moved or deleted together.
.RE
.PD
.TP
.B reshape
.RS
.TF rotate
.TP
.B formal
Adjust nearly rectangular lines to be perfectly so.
.TP
.B spline
A piecewise parabolic fit tangent to the midpoints of
a broken line.
.TP
.B corner
Make a guiding point of a spline to be multiple \- a corner
in an otherwise smooth curve.
.PD
.RE
.TP
.B refine
.RS
.TF rotate
.TP
.B adj t
Left-justify, right-justify, or center text.
.TP
.B edit text
Display text at the top, where button 1 selects a
position for inserting by typing or deleting by backspacing.
Button 3 concludes the editing.
.RE
.PD
.TP
.B shade
Assign textures for filling polygons, circles, or spline-bounded regions.
Curves are filled schematically on the 5620, but accurately on
the host.
.TP
.B color
Assign colors for display on other devices.
.TP
.B remote
Perform all editing on the host using the terminal
as a display device only.
.PP
.I Tped
converts files of graphic information produced by
.I ped
into typesetting requests for
.IR troff (1).
The options are:
.TP
.BI -T dev
Prepare output for particular devices known to
.IR troff :
.B -Taps
or
.BR -T202 .
.PD 0
.TP
.B -b
Place a box around each picture.
.PD
.PP
The input may be straight
.I ped
output or may be arbitrary text files with
.I ped
output embedded between
pairs of delimiting lines:
.PD0
.IP
.BI .GS " \fR[\fI size \fR]\fI"
ped file
\&. . .
.B .GE
.LP
or in another file:
.IP
.BI .GS " \fR[\fI size \fR]\fI pedfilename"
.PD
.PP
The optional size gives width or height:
.BI w= inches
or
.BI h= inches.
.SH FILES
.F .pederr
.br
.F ped.save
.SH SEE ALSO
.IR cip (9.1),
.IR paint (9.1),
.IR brush (9.1), 
.IR graphdraw (9.1),
.IR pic (1), 
.IR ideal (1),
.IR blitblt (9.1)
.br
T. Pavlidis,
`PED Users Manual',
this manual, Volume 2
.SH DIAGNOSTICS
Error messages from the host
are placed in file
.BR .pederr .
.SH BUGS
Pictures may spill into the menu or message areas.
.br
Some experimentation with
.I tped
printout parameters
may be needed to
obtain satisfactory results.