xterm: how to copy text with Ctrl+C under FreeBSD?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I've got this XTerm file:



XTerm*Background: black
XTerm*Foreground: white
XTerm*SaveLines: 2000
XTerm*faceName: "Font Awesome 5 Brands-Regular-400"
XTerm*faceSize: 8
XTerm*rightScrollBar: true
XTerm*ScrollBar: true
XTerm*scrollTtyOutput: true
XTerm*VT100.Translations: #override
Ctrl<Key>V: insert-selection(CLIPBOARD) n
Ctrl<Key>V: insert-selection(PRIMARY) n
Shift<Btn1Down>: select-start() n
Shift<Btn1Motion>: select-extend() n
Shift<Btn1Up>: select-end(CLIPBOARD) n
Ctrl <Key>C: copy-selection(CLIPBOARD) n
Ctrl <Key>V: insert-selection(CLIPBOARD)


under FreeBSD 11.2, with i3 4.15 and X.Org 1.18.4, I find using Ctrl+C doesn't copy selected text to clipboard from XTerm, although Ctrl+V does paste text. Other applications are having no problem with copying text to clipboard. Is there some magic trick to get this to work under FreeBSD that isn't necessary under Linux (as under Linux copying with Ctrl+C goes fine with this XTerm file)?










share|improve this question





















  • xterm instatly copies text to clipboard(primary) after selection. no need to press a key.
    – Ipor Sircer
    Sep 17 at 3:02










  • OK, well that isn't working either then. When I select the text it isn't copied, as I've tried pasting it into Leafpad. I know that middle-clicking a selection does it, but I'd like to with Ctrl+C.
    – Brenton Horne
    Sep 17 at 3:03











  • then read the fine manual of xterm: " selectToClipboard (class SelectToClipboard) Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism. The set-select action can change this at runtime, allowing the user to work with programs that handle only one of these mechanisms. The default is “false”, which tells it to use PRIMARY."
    – Ipor Sircer
    Sep 17 at 3:16











  • May be you have to try "Ctrl+Shift+c" to copy and "Ctrl+Shift+v" to paste. My answer is based on debian, but this may work for you too.
    – koleygr
    Sep 17 at 3:22










  • @IporSircer Thanks, although must admit I'm not sure I really understand what that means for me. Like how do I get the behaviour I want? Unfortunately, sometimes man pages are worded in a difficult way for me to follow.
    – Brenton Horne
    Sep 17 at 3:27














up vote
0
down vote

favorite












I've got this XTerm file:



XTerm*Background: black
XTerm*Foreground: white
XTerm*SaveLines: 2000
XTerm*faceName: "Font Awesome 5 Brands-Regular-400"
XTerm*faceSize: 8
XTerm*rightScrollBar: true
XTerm*ScrollBar: true
XTerm*scrollTtyOutput: true
XTerm*VT100.Translations: #override
Ctrl<Key>V: insert-selection(CLIPBOARD) n
Ctrl<Key>V: insert-selection(PRIMARY) n
Shift<Btn1Down>: select-start() n
Shift<Btn1Motion>: select-extend() n
Shift<Btn1Up>: select-end(CLIPBOARD) n
Ctrl <Key>C: copy-selection(CLIPBOARD) n
Ctrl <Key>V: insert-selection(CLIPBOARD)


under FreeBSD 11.2, with i3 4.15 and X.Org 1.18.4, I find using Ctrl+C doesn't copy selected text to clipboard from XTerm, although Ctrl+V does paste text. Other applications are having no problem with copying text to clipboard. Is there some magic trick to get this to work under FreeBSD that isn't necessary under Linux (as under Linux copying with Ctrl+C goes fine with this XTerm file)?










share|improve this question





















  • xterm instatly copies text to clipboard(primary) after selection. no need to press a key.
    – Ipor Sircer
    Sep 17 at 3:02










  • OK, well that isn't working either then. When I select the text it isn't copied, as I've tried pasting it into Leafpad. I know that middle-clicking a selection does it, but I'd like to with Ctrl+C.
    – Brenton Horne
    Sep 17 at 3:03











  • then read the fine manual of xterm: " selectToClipboard (class SelectToClipboard) Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism. The set-select action can change this at runtime, allowing the user to work with programs that handle only one of these mechanisms. The default is “false”, which tells it to use PRIMARY."
    – Ipor Sircer
    Sep 17 at 3:16











  • May be you have to try "Ctrl+Shift+c" to copy and "Ctrl+Shift+v" to paste. My answer is based on debian, but this may work for you too.
    – koleygr
    Sep 17 at 3:22










  • @IporSircer Thanks, although must admit I'm not sure I really understand what that means for me. Like how do I get the behaviour I want? Unfortunately, sometimes man pages are worded in a difficult way for me to follow.
    – Brenton Horne
    Sep 17 at 3:27












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I've got this XTerm file:



XTerm*Background: black
XTerm*Foreground: white
XTerm*SaveLines: 2000
XTerm*faceName: "Font Awesome 5 Brands-Regular-400"
XTerm*faceSize: 8
XTerm*rightScrollBar: true
XTerm*ScrollBar: true
XTerm*scrollTtyOutput: true
XTerm*VT100.Translations: #override
Ctrl<Key>V: insert-selection(CLIPBOARD) n
Ctrl<Key>V: insert-selection(PRIMARY) n
Shift<Btn1Down>: select-start() n
Shift<Btn1Motion>: select-extend() n
Shift<Btn1Up>: select-end(CLIPBOARD) n
Ctrl <Key>C: copy-selection(CLIPBOARD) n
Ctrl <Key>V: insert-selection(CLIPBOARD)


under FreeBSD 11.2, with i3 4.15 and X.Org 1.18.4, I find using Ctrl+C doesn't copy selected text to clipboard from XTerm, although Ctrl+V does paste text. Other applications are having no problem with copying text to clipboard. Is there some magic trick to get this to work under FreeBSD that isn't necessary under Linux (as under Linux copying with Ctrl+C goes fine with this XTerm file)?










share|improve this question













I've got this XTerm file:



XTerm*Background: black
XTerm*Foreground: white
XTerm*SaveLines: 2000
XTerm*faceName: "Font Awesome 5 Brands-Regular-400"
XTerm*faceSize: 8
XTerm*rightScrollBar: true
XTerm*ScrollBar: true
XTerm*scrollTtyOutput: true
XTerm*VT100.Translations: #override
Ctrl<Key>V: insert-selection(CLIPBOARD) n
Ctrl<Key>V: insert-selection(PRIMARY) n
Shift<Btn1Down>: select-start() n
Shift<Btn1Motion>: select-extend() n
Shift<Btn1Up>: select-end(CLIPBOARD) n
Ctrl <Key>C: copy-selection(CLIPBOARD) n
Ctrl <Key>V: insert-selection(CLIPBOARD)


under FreeBSD 11.2, with i3 4.15 and X.Org 1.18.4, I find using Ctrl+C doesn't copy selected text to clipboard from XTerm, although Ctrl+V does paste text. Other applications are having no problem with copying text to clipboard. Is there some magic trick to get this to work under FreeBSD that isn't necessary under Linux (as under Linux copying with Ctrl+C goes fine with this XTerm file)?







freebsd xterm i3 clipboard






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 17 at 2:59









Brenton Horne

1,38932145




1,38932145











  • xterm instatly copies text to clipboard(primary) after selection. no need to press a key.
    – Ipor Sircer
    Sep 17 at 3:02










  • OK, well that isn't working either then. When I select the text it isn't copied, as I've tried pasting it into Leafpad. I know that middle-clicking a selection does it, but I'd like to with Ctrl+C.
    – Brenton Horne
    Sep 17 at 3:03











  • then read the fine manual of xterm: " selectToClipboard (class SelectToClipboard) Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism. The set-select action can change this at runtime, allowing the user to work with programs that handle only one of these mechanisms. The default is “false”, which tells it to use PRIMARY."
    – Ipor Sircer
    Sep 17 at 3:16











  • May be you have to try "Ctrl+Shift+c" to copy and "Ctrl+Shift+v" to paste. My answer is based on debian, but this may work for you too.
    – koleygr
    Sep 17 at 3:22










  • @IporSircer Thanks, although must admit I'm not sure I really understand what that means for me. Like how do I get the behaviour I want? Unfortunately, sometimes man pages are worded in a difficult way for me to follow.
    – Brenton Horne
    Sep 17 at 3:27
















  • xterm instatly copies text to clipboard(primary) after selection. no need to press a key.
    – Ipor Sircer
    Sep 17 at 3:02










  • OK, well that isn't working either then. When I select the text it isn't copied, as I've tried pasting it into Leafpad. I know that middle-clicking a selection does it, but I'd like to with Ctrl+C.
    – Brenton Horne
    Sep 17 at 3:03











  • then read the fine manual of xterm: " selectToClipboard (class SelectToClipboard) Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism. The set-select action can change this at runtime, allowing the user to work with programs that handle only one of these mechanisms. The default is “false”, which tells it to use PRIMARY."
    – Ipor Sircer
    Sep 17 at 3:16











  • May be you have to try "Ctrl+Shift+c" to copy and "Ctrl+Shift+v" to paste. My answer is based on debian, but this may work for you too.
    – koleygr
    Sep 17 at 3:22










  • @IporSircer Thanks, although must admit I'm not sure I really understand what that means for me. Like how do I get the behaviour I want? Unfortunately, sometimes man pages are worded in a difficult way for me to follow.
    – Brenton Horne
    Sep 17 at 3:27















xterm instatly copies text to clipboard(primary) after selection. no need to press a key.
– Ipor Sircer
Sep 17 at 3:02




xterm instatly copies text to clipboard(primary) after selection. no need to press a key.
– Ipor Sircer
Sep 17 at 3:02












OK, well that isn't working either then. When I select the text it isn't copied, as I've tried pasting it into Leafpad. I know that middle-clicking a selection does it, but I'd like to with Ctrl+C.
– Brenton Horne
Sep 17 at 3:03





OK, well that isn't working either then. When I select the text it isn't copied, as I've tried pasting it into Leafpad. I know that middle-clicking a selection does it, but I'd like to with Ctrl+C.
– Brenton Horne
Sep 17 at 3:03













then read the fine manual of xterm: " selectToClipboard (class SelectToClipboard) Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism. The set-select action can change this at runtime, allowing the user to work with programs that handle only one of these mechanisms. The default is “false”, which tells it to use PRIMARY."
– Ipor Sircer
Sep 17 at 3:16





then read the fine manual of xterm: " selectToClipboard (class SelectToClipboard) Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism. The set-select action can change this at runtime, allowing the user to work with programs that handle only one of these mechanisms. The default is “false”, which tells it to use PRIMARY."
– Ipor Sircer
Sep 17 at 3:16













May be you have to try "Ctrl+Shift+c" to copy and "Ctrl+Shift+v" to paste. My answer is based on debian, but this may work for you too.
– koleygr
Sep 17 at 3:22




May be you have to try "Ctrl+Shift+c" to copy and "Ctrl+Shift+v" to paste. My answer is based on debian, but this may work for you too.
– koleygr
Sep 17 at 3:22












@IporSircer Thanks, although must admit I'm not sure I really understand what that means for me. Like how do I get the behaviour I want? Unfortunately, sometimes man pages are worded in a difficult way for me to follow.
– Brenton Horne
Sep 17 at 3:27




@IporSircer Thanks, although must admit I'm not sure I really understand what that means for me. Like how do I get the behaviour I want? Unfortunately, sometimes man pages are worded in a difficult way for me to follow.
– Brenton Horne
Sep 17 at 3:27















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f469470%2fxterm-how-to-copy-text-with-ctrlc-under-freebsd%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f469470%2fxterm-how-to-copy-text-with-ctrlc-under-freebsd%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?