1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Key Strokes in TCMD 8 und TC 13

Discussion in 'Support' started by Rich, Dec 26, 2011.

  1. Rich

    Joined:
    Oct 11, 2011
    Messages:
    2
    Likes Received:
    0
    I am still using TCMD 8, but I intend to move to TC 13.

    Since I am used to the TCMD 8 key strokes, I would like to have them in TC 13. In particular:

    ctrl-up or shift-up: Recall the previous command from the history
    ctrl-down or shift-down: Recall the previous command from the history

    Can anybody help me how to achieve this?

    Thanks
    Richard
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,312
    Likes Received:
    39
    You can define your history keys by adding directives to the [4NT] section of your .INI file:

    Code:
    PrevHistory=Ctrl-Up
    NextHistory=Ctrl-Down
    HistWinOpen=Ctrl-PgUp
    HistWinOpen=Ctrl-PgDn
    
    I don't know about the scrolling part, though. Scrolling a console window is a different beast than the old, GUI Take Command, and I think Rex implemented it in a different way. I don't know whether he added any provision for remapping those keys.
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,870
    Likes Received:
    83
    I deliberately did not allow remapping the scrolling keys (Alt-Up / Alt-Down / Alt-PgUp / Alt-PgDn) in Take Command v9 & later (for internal structure reasons). You can still remap history commands to use the control or shift keys. (Though I'm not sure why this is easier than just using the default Up / Down / PgUp / PgDn keys.)
     
  4. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,312
    Likes Received:
    39
    Alt-Up, Alt-Down, Alt-PgUp, and Alt-PgDn, if I'm not mistaken.
     
  5. Rich

    Joined:
    Oct 11, 2011
    Messages:
    2
    Likes Received:
    0
    Thanks, that's what I wanted to know.

    Richard
     

Share This Page