Re: xterm and clipboard

2014-06-22 Thread Oleg Sadov
Look at man xterm -- for example, by this way:

xterm -xrm '*VT100*translations: #override \n Shift Ctrl KeyC:
select-end(CLIPBOARD, CUT_BUFFER0) \n Shift Ctrl KeyV:
insert-selection(PRIMARY, CUT_BUFFER0)'

Shift Ctrl KeyC actually is not need -- mouse selection placed to
clipboard atomatcally. Cutting by shiftCtrlX 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 toddandma...@zoho.com wrote:
 On 06/21/2014 01:28 PM, Tom H wrote:

 On Fri, Jun 20, 2014 at 8:30 PM, ToddAndMargo toddandma...@zoho.com
 wrote:


 Anyone know if there is a way to get copy shiftCtrlC,
 past shiftCtrlV, and cut shiftCtrlX 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


Re: xterm and clipboard

2014-06-21 Thread Tom H
On Fri, Jun 20, 2014 at 8:30 PM, ToddAndMargo toddandma...@zoho.com wrote:

 Anyone know if there is a way to get copy shiftCtrlC,
 past shiftCtrlV, and cut shiftCtrlX keystrokes
 into an xterm?

Define copy-selection(CLIPBOARD) and insert-selection(CLIPBOARD)
in XTerm*VT100.translations in .Xresources.


Re: xterm and clipboard

2014-06-21 Thread ToddAndMargo

On 06/21/2014 01:28 PM, Tom H wrote:

On Fri, Jun 20, 2014 at 8:30 PM, ToddAndMargo toddandma...@zoho.com wrote:


Anyone know if there is a way to get copy shiftCtrlC,
past shiftCtrlV, and cut shiftCtrlX keystrokes
into an xterm?


Define copy-selection(CLIPBOARD) and insert-selection(CLIPBOARD)
in XTerm*VT100.translations in .Xresources.



Hi Tom,

Thank you.

Can you show me an example?

-T


Re: xterm and clipboard

2014-06-21 Thread ToddAndMargo

On 06/21/2014 01:28 PM, Tom H wrote:

On Fri, Jun 20, 2014 at 8:30 PM, ToddAndMargo toddandma...@zoho.com wrote:


Anyone know if there is a way to get copy shiftCtrlC,
past shiftCtrlV, and cut shiftCtrlX 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