Copy/Paste in Xterm?

Discussion in 'Linux' started by aclinml, Jan 9, 2009.

  1. aclinml

    aclinml

    Joined:
    Dec 30, 2008
    Messages:
    18
    Likes Received:
    0
    Just a quick newbie question,

    Is there a way to Copy/Paste when using Xterm terminal???
     
    aclinml, Jan 9, 2009
    #1
  2. aclinml

    woodland

    Joined:
    Dec 14, 2008
    Messages:
    118
    Likes Received:
    0
    Location:
    Malta (but Dutch)
    quick answer: yeah No prob.

    select text, right click and choose copy, go to xterm right click choose paste
    Ctrl-C and Ctrl-V usually work

    works like in windows depending on the programs you're using
     
    woodland, Jan 9, 2009
    #2
  3. aclinml

    noobeeJF

    Joined:
    Dec 14, 2008
    Messages:
    35
    Likes Received:
    0
    Location:
    Liverpool UK
    i had trouble with ctrl+V to paste in the terminal....but i think, not sure, ctrl+alt+V works... i may be wrong tho... :roll:
    you can use the 'paste' icon just above the part where you type in tho
     
    noobeeJF, Jan 9, 2009
    #3
  4. aclinml

    markh

    Joined:
    Oct 6, 2008
    Messages:
    299
    Likes Received:
    0
    I don't believe copy/paste work in xterm. If you use terminal instead, it's ctrl+shift+v etc
     
    markh, Jan 9, 2009
    #4
  5. aclinml

    woodland

    Joined:
    Dec 14, 2008
    Messages:
    118
    Likes Received:
    0
    Location:
    Malta (but Dutch)
    Yep you're right,,, got confused with terminal

    aclinml, try starting terminal instead of xterm

    Alt-F2
    type: terminal
    click run

    you can copy paste in terminal like you do in windows i.e.
    right clicking to open the context menu and choosing copy etc...
    or through the Edit menu in the menu bar (top screen)

    i'm sorry for that aclinml i rather use terminal. Xterm is to much like ms-dos for me (ancient history)
     
    woodland, Jan 10, 2009
    #5
  6. aclinml

    whyay

    Joined:
    Dec 10, 2008
    Messages:
    28
    Likes Received:
    0
    Ctrl Ins and Shift Ins works. When you press Alt F2 the command is copied to clipboard. The window from where you want to copy should be open until you paste.
     
    whyay, Jan 10, 2009
    #6
  7. aclinml

    daldred

    Joined:
    Aug 25, 2008
    Messages:
    887
    Likes Received:
    0
    Even in terminal it's shift-ctrl-C and shift-ctrl-V. In a Linux console, CTRL-C and CTRL-V already have sepcial meanings:

    • CTRL-C on its own is the key combination to stop a running program; so start (say) mousepad from the console, then go back to the console and press CTRL-C, and mousepad will exit;[/*:m:3qrswkd3]
    • CTRL-V leads to the next character being taken as text input rather than having its usual meaning (so CTRL-V followed by 'enter' will make the 'enter' put a control-M character into the line you're typing, rather than ending the line). Try it - the terminal will show "^M". You can even do CTRL-V CTRL-V to get a ^V character. Characters like ^M and ^V have meanings in some contexts, especially network communications.[/*:m:3qrswkd3]

    Since these were standard uses long before they started being used in graphical applications for copy and paste, the console has to respect the original meanings and so adds a 'shift' to the shortcut to copy / paste.
     
    daldred, Jan 10, 2009
    #7
  8. aclinml

    woodland

    Joined:
    Dec 14, 2008
    Messages:
    118
    Likes Received:
    0
    Location:
    Malta (but Dutch)
    ?

    i never mentioned hotkey for use in terminal.... in my second post .

    Maybe someone could make a finishing post with all the copy/paste tips and tricks for and especially the differences between xterm and terminal?
     
    woodland, Jan 10, 2009
    #8
  9. aclinml

    daldred

    Joined:
    Aug 25, 2008
    Messages:
    887
    Likes Received:
    0
    No - but you said you'd got confused with terminal, and taken alongside your first post I thought that meant you had described what you thought to be the shortcuts for terminal in that first post.
     
    daldred, Jan 10, 2009
    #9
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.