SCIENTIFIC-LINUX-USERS Archives

June 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Oleg Sadov <[log in to unmask]>
Reply To:
Oleg Sadov <[log in to unmask]>
Date:
Sun, 22 Jun 2014 14:17:18 +0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
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 <[log in to unmask]> wrote:
> On 06/21/2014 01:28 PM, Tom H wrote:
>>
>> On Fri, Jun 20, 2014 at 8:30 PM, ToddAndMargo <[log in to unmask]>
>> 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

ATOM RSS1 RSS2