The problem is in the sample .Xdefaults
file:
- select/paste from that shows that the original had trailing blanks (which interfere with the formatting into separate lines/separate actions)
- there's a missing backslash anyway.
- that "#" in the beginning is a comment which extends to the end of the line. A missing
\n\
made the first instance of controlV ignored.
My text editor (vi like emacs) shows me the problem, using syntax highlighting. Actually (double-checking), vim does not highlight the problem. But you can see the trailing blanks in any vi by turning on the list option:
XTerm*Background: black^J
XTerm*Foreground: white^J
XTerm*SaveLines: 2000^J
XTerm*faceName: "Font Awesome 5 Brands-Regular-400"^J
XTerm*faceSize: 8^J
XTerm*rightScrollBar: true^J
XTerm*ScrollBar: true^J
XTerm*scrollTtyOutput: true^J
XTerm*VT100.Translations: #override \^J
Ctrl<Key>V: insert-selection(CLIPBOARD) \n\ ^J
Ctrl<Key>V: insert-selection(PRIMARY) \n\ ^J
Shift<Btn1Down>: select-start() \n\ ^J
Shift<Btn1Motion>: select-extend() \n\ ^J
Shift<Btn1Up>: select-end(CLIPBOARD) \n\^J
Ctrl <Key>C: copy-selection(CLIPBOARD) \n^J
Ctrl <Key>V: insert-selection(CLIPBOARD)^J
Syntax highlighting helps with the missing \n\
, etc., by pointing out anomalies in the resource. Plain vi does not help with that.
After fixing:
XTerm*Background: black^J
XTerm*Foreground: white^J
XTerm*SaveLines: 2000^J
XTerm*faceName: "Font Awesome 5 Brands-Regular-400"^J
XTerm*faceSize: 8^J
XTerm*rightScrollBar: true^J
XTerm*ScrollBar: true^J
XTerm*scrollTtyOutput: true^J
XTerm*VT100.Translations: #override \n\^J
Ctrl<Key>V: insert-selection(CLIPBOARD) \n\^J
Ctrl<Key>V: insert-selection(PRIMARY) \n\^J
Shift<Btn1Down>: select-start() \n\^J
Shift<Btn1Motion>: select-extend() \n\^J
Shift<Btn1Up>: select-end(CLIPBOARD) \n\^J
Ctrl <Key>C: copy-selection(CLIPBOARD) \n\^J
Ctrl <Key>V: insert-selection(SELECT)^J
Here is (select/paste again) a text which works for me:
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 \n\
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(SELECT)