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

Ctrl + Shift keys and Paste (drop down menu and V)

Discussion in 'Support' started by cgunhouse, Dec 7, 2015.

  1. cgunhouse

    Joined:
    Dec 2, 2008
    Messages:
    209
    Likes Received:
    2
    This is in reference to the new functionality in V19:

    "Edit / Paste will check to see if the Ctrl + Shift keys are down, and if so it will insert a " & " between lines of a multiline paste"
    and "Ctrl+Shift+V will insert a " & " between lines of a multiline paste"

    In an editor I copied the following to the clipboard:

    dir /s
    dir /b /s
    dir /Q /T


    Now if I do a Ctrl + Shift and Paste from the Edit menu or pop-menu from right click on the mouse, I get:

    dir /s & dir /b /s & dir /Q /T

    If I do a Ctrl + V, I get:

    dir /s

    Then if I do Ctrl + Shift + V, I get:

    dir /sdir /b /sdir /Q /T & &

    -----

    Another strange thing is if I do a Ctrl + Paste + V into the "Command Input" Window I get:

    Command-Input-Window.png


    OS: Windows 7 x64 Enterprise SP1
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,935
    Likes Received:
    30
    After "echos dir /s^ndir /b /s^ndir /Q /T", Ctrl-Shift-V gives that (above) in a console.

    And, still in the console, if I Ctrl-Shift-SystemMenu\Edit\Paste, I get a trailing newline, and the three commands are executed.

    In TCMD, it's diggerent. Crl-Shift-V executes the first two and leaves the third ion the command line, while Ctrl-Shift-CintextMenu\Paste gets it right.
     
  3. cgunhouse

    Joined:
    Dec 2, 2008
    Messages:
    209
    Likes Received:
    2
    On my Windows 10 x64 PC, i get:

    dir /sdir /b /sdir /Q /T & &

    when I do a Ctrl + Shift + V
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    WAD - the editor in Command Input is completely different from the command line editor in TCC. (For one thing, it's not a line editor.) The Ctrl+Shift+V key is not supported in Command Input.
     
  5. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    That's CONHOST, not TCC.
     

Share This Page