Annotation of researchv9/cmd/emacs/macros/blit.info, revision 1.1

1.1     ! root        1:        Information for blit owners on emacs related blit software
        !             2:                
        !             3:                
        !             4: There are two macro libraries for use with the blit and the etty
        !             5: terminal emulator.  Etty downloads into a layer and provides
        !             6: enhanced terminal functions that can be used by emacs, vi, and other
        !             7: screen tools.  When run with etty, the macro libraries blit
        !             8: or blit_dired can be loaded to allow the user to use the mouse for
        !             9: pointing and menu selection.  In general, button 1 on the mouse is
        !            10: used for pointing, and button two makes selections on the menu. 
        !            11: Some of the menu selections change the menu or cause positioning to
        !            12: be interpreted differently.  In general, a single push with the
        !            13: mouse standing still causes the cursor to move to that spot, while
        !            14: pushing button one and sweeping out a region before releasing the
        !            15: button causes some function (settable by a menu selection) to be
        !            16: performed on the selected region.
        !            17: 
        !            18: the blit library has the following functions:
        !            19: 
        !            20: M-O    Download the cursor and function keys for emacs (doesn't yet
        !            21:        work on the Super blit)
        !            22: 
        !            23: M-#    Sent by pushing button 1 of the mouse, this macro reads the
        !            24:        position information from the mouse push and positions the
        !            25:        cursor there.  It will cross windows when running in two
        !            26:        window mode.
        !            27:        
        !            28: 
        !            29: M-&    Sent at the end of a mouse push that selects a region.  This
        !            30:        Command is mapped to one of the following 3 commands
        !            31:        according to the mode selected by selecting mouse action
        !            32:        from the second menu.
        !            33:        
        !            34: ^X-A   Kill region - deletes region swept out by the mouse
        !            35: ^X-C   Pickup region - picks it up onto the kill stack
        !            36: ^X-D   Mark region - marks the selected region.
        !            37: 
        !            38: The following commands are bound to various menu selections.  There
        !            39: are two menues, the custom menu and standard menu.  The terminal
        !            40: file for etty loads the standard menu, while the macro bound to the
        !            41: custom menu selection loads it.
        !            42: 
        !            43: M-H    Go to top of the screen 
        !            44: M-L    Go to bottom of the screen
        !            45: M-M    Go to middle of the screen
        !            46: M-^N   Scroll back one line
        !            47: M-^P   Scroll up one line
        !            48: ^XM    Display the custom menu
        !            49: ^Xs    Display the standard menu
        !            50: ^X6    Set the action of the mouse on a region.  The next thing
        !            51:        done MUST be a menu selection (using button 2) from one of
        !            52:        the 3 alternatives.  Anything else will be ignored.
        !            53:        
        !            54: ^X5    Change buffers - this macro is bound to a menu item and
        !            55:        displays a list of active buffers.  The next thing done MUST
        !            56:        be selection of one of the lines with the mouse.  Anything
        !            57:        else will be interpreted as a mouse push and will likely
        !            58:        result in going into a new empty buffer with a very strange
        !            59:        name.
        !            60:        
        !            61: ^X4    Kill region - This command expects the next two actions to
        !            62:        be mouse pushes (button 1) and deletes the region between
        !            63:        them.
        !            64:        
        !            65: ^X3    Scroll bar - This command displays a scroll bar at the
        !            66:        botton of the screen.  The scroll bar is 50 characters long
        !            67:        and has  X's representing the part of the file that is
        !            68:        before the cursor and -'s for that part that is after.  The
        !            69:        next action MUST be a mouse selection of a character on the
        !            70:        line (actually, you can push anywhere, only the horizontal
        !            71:        position counts), and will cause a move to the appropriate
        !            72:        spot in the file.
        !            73:        
        !            74:        

unix.superglobalmegacorp.com

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