Annotation of 43BSD/contrib/X/xgedit/gedit.doc, revision 1.1

1.1     ! root        1: XGEDIT -- simple graphic editor for the X window system
        !             2: 
        !             3: XGEDIT allows one to create and edit .def compatible files.  To run type
        !             4: 
        !             5:        gedit filename
        !             6: 
        !             7: which will load filename.def for editing.  In its quiescent state XGEDIT
        !             8: displays an x-shaped graphics cursor at the current position.
        !             9: XGEDIT commands are single letters; the commands fall into various categories:
        !            10: 
        !            11:        graphic cursor control
        !            12:        object manipulation (rotation, editing, creation, deletion)
        !            13:        miscellaneous commands
        !            14: 
        !            15: Some commands prompt the user for text input.  When this happens a prompt
        !            16: appears at the bottom of the screen and an underscore text
        !            17: cursor is displayed.  Printing chars typed by the user will be returned
        !            18: to the command for processing; in addition, certain control chars facilitate
        !            19: editing of text input:
        !            20: 
        !            21:        ^A      move to beginning of text line
        !            22:        ^B      move backward n chars (also ^H and right-arrow key)
        !            23:        ^C      abort input returning abort status to requestor (also ^G, ^Q)
        !            24:        ^D      delete n chars above and to right of cursor
        !            25:        ^E      move to end of text line
        !            26:        ^F      move forward n chars (also left-arrow key)
        !            27:        ^K      delete from cursor position to end of line
        !            28:        ^L      redisplay
        !            29:        ^U      n = n*4; after a command, n is reset to 1
        !            30:        RUBOUT  delete n chars before cursor
        !            31:        CR      editing complete, return to command (also NL, ESC)
        !            32: 
        !            33: If the cursor is somewhere in the middle of the line, printing chars
        !            34: typed at the keyboard will be inserted at the current cursor position.
        !            35: Some commands provide some initial text to be edited by the user --
        !            36: if this default text is satisfactory, the user only need type a CR.
        !            37: 
        !            38: GRAPHIC CURSOR CONTROL
        !            39: 
        !            40: The graphic cursor is an x.  The size of the x (which can be
        !            41: changed) determines the area under the cursor.  Some commands affect
        !            42: objects which are under the cursor, others move the cursor to the
        !            43: edge of this area (i.e., a big cursor moves faster than a small one).
        !            44: The cursor will never move beyond the edge of the screen.
        !            45: 
        !            46: F, f, ^F                       move graphic cursor to the right
        !            47: H, h, ^H, B, b, ^B             move graphic cursor to the left
        !            48: P, p, ^P                       move graphic cursor up
        !            49: N, n, ^N               move graphic cursor down
        !            50: W, w, ^W                       recenter window at current cursor position
        !            51: +                              make cursor twice as large
        !            52: -                              make cursor half as large
        !            53: @                              move graphic cursor to origin of picture
        !            54: !                              snap cursor to grid
        !            55:                                  (large cursor -> coarse grid)
        !            56: U, u, ^U                       multiplier *= 4
        !            57:                                  (^U^F moves 4 times as far as ^F)
        !            58: 
        !            59: OBJECT MANIPULATION
        !            60: 
        !            61: There are three types of objects: lines, labels, and subpictures (other
        !            62: .def files treated as a single graphic object).
        !            63: 
        !            64: L, l, left button                      start a new line at current position
        !            65: a, A, ^A                       specify new angle subtended by line segment
        !            66: C, c                           create new label (prompts for text)
        !            67: I, i                           insert a new subpicture (prompts for name)
        !            68: S, s, ^S, right button         select object (cycles among possibilites)
        !            69: Z, z, ^Z, SPACE, middle button release selection at current position
        !            70: ^G                             release selection, don't update old position
        !            71: M, m                           release selection after same relative motion
        !            72:                                  as previously released selection
        !            73: 
        !            74: E, e, ^E                       edit selection
        !            75:                                 labels: edit exisiting text
        !            76:                                 subpics: recursive edit of source file
        !            77: 
        !            78: ^                              edit last
        !            79: 
        !            80: R, r, ^R                       rotate, reflect selection
        !            81:                                 labels: changes position wrt ref. point
        !            82:                                 subpics: one of 8 possible rots&reflects
        !            83:                                 segments: if angle<>0 reflect arc about line
        !            84: 
        !            85: *                              scale selected subpicture
        !            86: 
        !            87: Selected objects follow cursor motion (lines act like rubber
        !            88: bands with only the selected end following the cursor) until they are
        !            89: released.  
        !            90: 
        !            91: 
        !            92: MISCELLANEOUS
        !            93: 
        !            94: ^L                             redisplay
        !            95: X, x, ^X                       change display scale (screen:def)
        !            96: ^C, ^Q                         exit XGEDIT, updating files if top level
        !            97: ^O                             move picture origin to cursor position
        !            98: G, g                           turn/on off grid points

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.