*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: graw | Section: 10 | Source: UNIX v10 | File: graw.10
GRAW(1) General Commands Manual GRAW(1) NAME graw - gnot graphic editor SYNOPSIS graw [ -f fontfile ] [ -g ] [ file ... ] DESCRIPTION Graw is a multi-file graphic editing program specialized for schematic entry. Graw drawings consist of lines, boxes, text objects, and in- stantiations of previously defined drawings called masters. The graw user interface differs from that of most 5620/gnot programs in that button 1 controls all graphical entry. The -g flag invokes an experimental mode in which graw attempts to ren- der in grey scale. The -f flag allows the user to specify a font for displaying text objects. By default, pressing button 1 will create a line with one end fixed and the other end attached to the cursor as long as button 1 is held down. Objects other than lines can be drawn by prefacing a drawing operation with a button 2 onesies-> selection. Button 1 is also used for grab- bing objects. Grabbing takes precedence over drawing, and graw evalu- ates every button 1 hit to see if there is something to grab. Grabbing rules vary by object. For example, a box can be grabbed by pointing to its interior. A grabbed box will cause all objects inside or touching it to be grabbed also. Grabbing a box's corner will also grab objects touching the two sides of that corner. An object inside a box may be grabbed without grabbing the box. Graw's grabbing rules are meant to be intuitively obvious. The author apologizes for cases in which this is not true. Graw keeps a "text point" at the last location of a button 1 hit. Typ- ing to graw creates a text object at the current text point. A text object orients itself based on its surroundings each time it is typed at or moved. Typing a carriage return causes graw to move the current text point down one or two ticks, depending on the surroundings. Buttons 2 and 3 contain editing and file oriented menus, respectively. The button 2 menu entries are onesies-> (box, dots, macro), inst-> (master list), sweep, slash, cut, paste, and scroll. onesies-> selects a non-line object to be drawn with button 1. You get at most one non-line object per onesie. inst-> selects a master to be instantiated and attached to the cursor until any button is pressed. sweep uses a rectangle input with button 1 (N.B.) to grab a set of objects and drag them until any button is pressed. slash differs from sweep only in that rectilinear lines are first cut by the input rectangle. cut undraws and moves the object(s) last drawn or moved to the cut/paste buffer. paste attaches a copy of the cut/paste buffer to the cursor un- til any button is pressed. snarf is a cut without the undraw. scroll attaches the entire drawing to the cursor until any but- ton is pressed. The button 3 menu entries are edit, read, write, exit, and new, fol- lowed by the list of filenames currently being edited. edit prompts for a file name and reads in the file for edit- ing. Backspace and control-W may be used to edit the name; a null file name aborts the operation. read prompts for the name of a master file, reads it in, and plants a reference to it in the current file. The names of the masters in the file are added to those in the inst-> menu for the current file, overwriting older defi- nitions if necessary. write prompts for a file name (starting with the current file name). The non-null result becomes the new file name and the file is written. exit terminates the program. It may be necessary to type a character and/or move the mouse after graw exits to re- ally exit. new creates a new, unnamed drawing for editing. Selecting a file name selects the current file. Graw can read jraw format files. Conversion from jraw to graw begins with this step and is generally completed by removing library master instantiations from the resulting graw format file. Jraw -w produces ucds netlist format from graw format files. Jb produces postscript from graw format files. FILES /n/ross/lib/graw/gates.g the standard gate file /n/ross/sys/font/1/7/PA default font file SEE ALSO graw(5), cdmglob(1), jb(1), jraw(1), annotate(1) BUGS Loses its little mind when it can't parse input Crashes when it reads two jraw 'e' (end of master) lines in succession. UCDS GRAW(1)

Navigation Options