PED(9.1) PED(9.1) NAME ped, tped - picture editor SYNOPSIS ped [ -f ] [ file ... ] tped [ option ... ] [ file ... ] DESCRIPTION Ped is an interactive drawing program for 5620 terminals. A file argument is equivalent to an `e' command as described below. Most features of ped are menu-controlled and self- explanatory; further details are in the reference. 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 perma- nent menu to revert to `basic'. The operation of ped is split between host and terminal. When a file is first read, it is kept on the host; `bring in' gets it to the 5620. Option -f causes ped to display all text in one size to save time and space. Some of the actions on permanent menus (switched by button 3) are described below. The last action is usually remem- bered 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 `(t)' in the menu toggle on and off. basic menu blitblt Copy part of the screen to file see blitblt(9.1). exit Leave ped, requires a confirming push of button 3. markers Make visible the defining points of objects; these are the only points sensitive to selec- tion by button 1. type comm Take input from the keyboard. e file Begin editing file, remember its name, as in ed(1). Commands f (file name), r (read), w (write), behave similarly. qq Same as exit in basic menu; altered files will be saved in cd Change working directory. PED(9.1) PED(9.1) pwd Print working directory. newline Reactivate mouse. u string Remember string as a shell command for the selection `user oper' in menu `refine.' ch size 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. h-elong Change aspect ratio. The inverse is v-elong. 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. attach Move an open polygon (a broken line) and hook it to the end of another. join Connect the ends of two polygons with a new line. link Cause multiple polygons to move and be filled as one (useful for making holes). Linked poly- gons must all be open or all be closed. match Move objects to bring selected points together. center Move objects to bring their centers together. family/pt Select objects to be moved or deleted together. draw Button 1 fixes a point; button 3 terminates an object. text Type one or more lines terminated by an empty line. grid Snap points to locations on a grid, which indexes through settings FMC (fine, medium, coarse, none). fix sz Set option -f. family/bx Sweep a box around objects to be moved or deleted together. reshape formal Adjust nearly rectangular lines to be perfectly so. spline A piecewise parabolic fit tangent to the mid- points of a broken line. corner Make a guiding point of a spline to be multiple - a corner in an otherwise smooth curve. refine adj t Left-justify, right-justify, or center text. edit text PED(9.1) PED(9.1) Display text at the top, where button 1 selects a position for inserting by typing or deleting by backspacing. Button 3 concludes the edit- ing. shade Assign textures for filling polygons, circles, or spline-bounded regions. Curves are filled schemati- cally on the 5620, but accurately on the host. color Assign colors for display on other devices. remote Perform all editing on the host using the terminal as a display device only. Tped converts files of graphic information produced by ped into typesetting requests for troff(1). The options are: -Tdev Prepare output for particular devices known to troff: -Taps or -T202. -b Place a box around each picture. The input may be straight ped output or may be arbitrary text files with ped output embedded between pairs of delim- iting lines: .GS [ size ] ped file . . . .GE or in another file: .GS [ size ] pedfilename The optional size gives width or height: w=inches or h=inches. FILES SEE ALSO cip(9.1), paint(9.1), brush(9.1), graphdraw(9.1), pic(1), ideal(1), blitblt(9.1) T. Pavlidis, `PED Users Manual', this manual, Volume 2 DIAGNOSTICS Error messages from the host are placed in file .pederr. BUGS Pictures may spill into the menu or message areas. Some experimentation with tped printout parameters may be needed to obtain satisfactory results.