|
|
1.1 root 1: .TH PED 9.1
2: .CT 1 editor writing_troff graphics
3: .SH NAME
4: ped, tped \- picture editor
5: .SH SYNOPSIS
6: .B ped
7: [
8: .B -f
9: ]
10: [
11: .I file ...
12: ]
13: .PP
14: .B tped
15: [
16: .I option ...
17: ]
18: [
19: .I file ...
20: ]
21: .SH DESCRIPTION
22: .I Ped
23: is an interactive drawing program for
24: 5620 terminals.
25: A
26: .I file
27: argument is equivalent to
28: an
29: .L e
30: command as described below.
31: Most features of
32: .I ped
33: are menu-controlled and self-explanatory; further details
34: are in the reference.
35: .PP
36: Button 1 selects actions
37: from a permanent menu and to draw or pick up an object.
38: Button 3 terminates drawing actions or changes
39: the permanent menu.
40: Button 2 causes the permanent menu to revert to
41: .LR basic .
42: .PP
43: The operation of
44: .I ped
45: is split between host and terminal.
46: When a file is first read, it is kept on
47: the host;
48: .L bring in
49: gets it to the 5620.
50: .PP
51: Option
52: .B -f
53: causes
54: .I ped
55: to display all text in one size to save time and space.
56: .PP
57: Some of the actions on permanent menus (switched by button 3)
58: are described below.
59: The last action is usually remembered and may be
60: executed repeatedly
61: until another is selected.
62: Thus, for example, one can fill many polygons with
63: one button click per polygon.
64: Actions marked
65: .L (t)
66: in the menu toggle on and off.
67: .PP
68: .B basic
69: menu
70: .RS
71: .TF rotate
72: .TP
73: .B blitblt
74: Copy part of the screen to file
75: .FR BLITBLT ,
76: see
77: .IR blitblt (9.1).
78: .TP
79: .B exit
80: Leave
81: .IR ped ,
82: requires a confirming push of button 3.
83: .TP
84: .B markers
85: Make visible the defining points of objects;
86: these are the only points sensitive to selection by button 1.
87: .RE
88: .TP
89: .B type comm
90: Take input from the keyboard.
91: .RS
92: .TF rotate
93: .TP
94: .BI e " file"
95: Begin editing
96: .IR file,
97: remember its name, as in
98: .IR ed (1).
99: Commands
100: .B f
101: (file name),
102: .B r
103: (read),
104: .B w
105: (write),
106: behave similarly.
107: .TP
108: .B qq
109: Same as
110: .B exit
111: in
112: .B basic
113: menu; altered files will be saved in
114: .FR ped.save .
115: .TP
116: .B cd
117: Change working directory.
118: .TP
119: .B pwd
120: Print working directory.
121: .TP
122: newline
123: Reactivate mouse.
124: .TP
125: .BI u " string"
126: Remember
127: .I string
128: as a shell command for the selection
129: .L user oper
130: in menu
131: .LR refine.
132: .PD
133: .RE
134: .TP
135: .B ch size
136: .PD0
137: .RS
138: .TF rotate
139: .TP
140: .B rotate
141: displays a vector from the center (of the bounding box) of an object to the
142: selected point.
143: The object is rotated and scaled to bring that point to
144: a second selected position.
145: .TP
146: .B h-elong
147: Change aspect ratio.
148: The inverse is
149: .BR v-elong .
150: .RE
151: .PD
152: .TP
153: .B move
154: Button 3 cancels a move or copy.
155: To help untangle overlapping objects, the cancellation
156: does not take place until returning to the basic menu.
157: .RS
158: .PD0
159: .TF rotate
160: .TP
161: .B attach
162: Move an open polygon (a broken line)
163: and hook it to the end of another.
164: .TP
165: .B join
166: Connect the ends of two polygons with a new line.
167: .TP
168: .B link
169: Cause multiple polygons to move and be filled as one
170: (useful for making holes).
171: Linked polygons must all be open or all be closed.
172: .TP
173: .B match
174: Move objects to bring selected points together.
175: .TP
176: .B center
177: Move objects to bring their centers together.
178: .TP
179: .B family/pt
180: Select objects to be moved or deleted together.
181: .RE
182: .PD
183: .TP
184: .B draw
185: Button 1 fixes a point;
186: button 3 terminates an object.
187: .PD0
188: .RS
189: .TF rotate
190: .TP
191: .B text
192: Type one or more lines terminated by an empty line.
193: .TP
194: .B grid
195: Snap points to locations on
196: a grid, which indexes through settings FMC (fine, medium, coarse, none).
197: .TP
198: .B fix sz
199: Set option
200: .BR -f .
201: .TP
202: .B family/bx
203: Sweep a box around objects to be moved or deleted together.
204: .RE
205: .PD
206: .TP
207: .B reshape
208: .RS
209: .TF rotate
210: .TP
211: .B formal
212: Adjust nearly rectangular lines to be perfectly so.
213: .TP
214: .B spline
215: A piecewise parabolic fit tangent to the midpoints of
216: a broken line.
217: .TP
218: .B corner
219: Make a guiding point of a spline to be multiple \- a corner
220: in an otherwise smooth curve.
221: .PD
222: .RE
223: .TP
224: .B refine
225: .RS
226: .TF rotate
227: .TP
228: .B adj t
229: Left-justify, right-justify, or center text.
230: .TP
231: .B edit text
232: Display text at the top, where button 1 selects a
233: position for inserting by typing or deleting by backspacing.
234: Button 3 concludes the editing.
235: .RE
236: .PD
237: .TP
238: .B shade
239: Assign textures for filling polygons, circles, or spline-bounded regions.
240: Curves are filled schematically on the 5620, but accurately on
241: the host.
242: .TP
243: .B color
244: Assign colors for display on other devices.
245: .TP
246: .B remote
247: Perform all editing on the host using the terminal
248: as a display device only.
249: .PP
250: .I Tped
251: converts files of graphic information produced by
252: .I ped
253: into typesetting requests for
254: .IR troff (1).
255: The options are:
256: .TP
257: .BI -T dev
258: Prepare output for particular devices known to
259: .IR troff :
260: .B -Taps
261: or
262: .BR -T202 .
263: .PD 0
264: .TP
265: .B -b
266: Place a box around each picture.
267: .PD
268: .PP
269: The input may be straight
270: .I ped
271: output or may be arbitrary text files with
272: .I ped
273: output embedded between
274: pairs of delimiting lines:
275: .PD0
276: .IP
277: .BI .GS " \fR[\fI size \fR]\fI"
278: ped file
279: \&. . .
280: .B .GE
281: .LP
282: or in another file:
283: .IP
284: .BI .GS " \fR[\fI size \fR]\fI pedfilename"
285: .PD
286: .PP
287: The optional size gives width or height:
288: .BI w= inches
289: or
290: .BI h= inches.
291: .SH FILES
292: .F .pederr
293: .br
294: .F ped.save
295: .SH SEE ALSO
296: .IR cip (9.1),
297: .IR paint (9.1),
298: .IR brush (9.1),
299: .IR graphdraw (9.1),
300: .IR pic (1),
301: .IR ideal (1),
302: .IR blitblt (9.1)
303: .br
304: T. Pavlidis,
305: `PED Users Manual',
306: this manual, Volume 2
307: .SH DIAGNOSTICS
308: Error messages from the host
309: are placed in file
310: .BR .pederr .
311: .SH BUGS
312: Pictures may spill into the menu or message areas.
313: .br
314: Some experimentation with
315: .I tped
316: printout parameters
317: may be needed to
318: obtain satisfactory results.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.