On 06/22/2014 03:17 AM, Oleg Sadov wrote:
Look at man xterm -- for example, by this way:
xterm -xrm '*VT100*translations: #override \n Shift Ctrl <Key>C:
select-end(CLIPBOARD, CUT_BUFFER0) \n Shift Ctrl <Key>V:
insert-selection(PRIMARY, CUT_BUFFER0)'
Shift Ctrl <Key>C actually is not need -- mouse selection placed to
clipboard atomatcally. Cutting by <shift><Ctrl><X> seems irrealizable
-- we don't have direct access to terminal buffer and you need realize
complex text editors logic for such things. Most simple way for
realizing of such functionality -- emacs shell mode with customized
keys binding.
--Oleg
On Sun, Jun 22, 2014 at 8:07 AM, ToddAndMargo <[email protected]> wrote:
On 06/21/2014 01:28 PM, Tom H wrote:
On Fri, Jun 20, 2014 at 8:30 PM, ToddAndMargo <[email protected]>
wrote:
Anyone know if there is a way to get copy <shift><Ctrl><C>,
past <shift><Ctrl><V>, and cut <shift><Ctrl><X> keystrokes
into an xterm?
Define "copy-selection(CLIPBOARD)" and "insert-selection(CLIPBOARD)"
in "XTerm*VT100.translations" in ".Xresources".
Hi Tom,
Is there a way to put it into the command line that calls
the xterm?
Many thanks,
-T
Hi Oleg,
I can paste <ctrl><shift><V> from Leaf Pad (a text editor) to
xterm. But it will only paste what is highlighted in Leaf Pad,
not what I copied into the clipboard.
I can not highlight in xterm, press <ctrl><shift><C>, then
paste into Lead Pad.
What am I doing wrong?
Does this mean anything:
$ echo $TERM
xterm
It is not VT100
Many thanks,
-T
xterm -fn 8x16 -fg darkgreen -bg white -bdc -cc
"33:48,37:48,45-47:48,38:48" -geometry 140x25 -xrm
'*VT100*translations: #override \n Shift Ctrl
<Key>C:select-end(CLIPBOARD, CUT_BUFFER0) \n Shift Ctrl
<Key>V:insert-selection(PRIMARY, CUT_BUFFER0)'