Re: can ups be operated from the keyboard?

From: Russell Browne (russ_at_amc.com)
Date: Fri Oct 12 2001 - 19:35:28 BST

  • Next message: Chris Siebenmann: "Re: can ups be operated from the keyboard?"
    Callum Gibson wrote:
    
    > 
    > }As to the typing line shortcuts, I suggest using some initial character
    > }other than '%', to avoid conflict with the existing %d and to
    > }provide greater flexibility in extending the % short cuts.
    > 
    > As Rod mentioned (did that go to the list?) it's still not a single
    > keystroke and it is cumbersome to change to a different command (delete and
    > reinsert then RET).
    
    Actually, it would be
    
       three keystokes to get into the mode, actually more since you would
       usually have to clear out the typing line first.
    
       one keystroke to repeat the previous command
    
       two keystrokes to change to a different command
    
    The last feature was the part of my proposal that I thought might be too 
    wierd:  that the ! commands would only look at the last character
    typed and would edit the typing line to remove all but the first
    and last characters.
    
    My proposal again:
    
    > I'm thinking of using '!', which has some mnemonic value as meaning
    > "escape", and doesn't conflict with anything (I think); with the following
    > rules:
    > 
    >    !s    step
    >    !n    next
    >    !r    run
    >    !u    up
    >    !d    down
    >    !c    continue
    >    !h    print these options to the output window
    > 	   Also for any other unrecognized commands
    > 
    >    All the !commands just look at the last character of the input string,
    >    and all stuff the typing line to contain just the first and last
    >    characters.  Thus, if you type
    > 
    >        !n<RET>
    >    
    >    it does a next, and repeats the next every time you type <RET>.
    >    Then if you type s<RET>, so that the typing line reads
    > 
    >        !ns
    > 
    >    it does a step and edits the typing line to read
    >    
    >        !s
    > 
    >    It would be desirable if the !commands removed the input from the
    >    edit history, so that the history buffer doesn't fill up with
    >    ! commands with more usefull stuff falling off the end.
    > 
    >   
    > Does this sound desirable, or just wierd?
    
    Russ Browne
    Applied MicroSystems
    


    This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:58:22 GMT