Linux X11 Discussion Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jiri Hladky" <hladky.jiri@seznam.cz>
To: linux-x11@vger.kernel.org
Subject: Configuring mouse for XTerm
Date: Fri, 22 Nov 2002 12:43:53 -0000	[thread overview]
Message-ID: <NJENKOEGKMPDEHAMPCBBAEOACAAA.hladky.jiri@seznam.cz> (raw)

Hello!

Perhaps can somebody help me with the following problem:

I would like to change the behaviour of third button mouse in the xterm. It
should execute My_shell_script and as the argument of this command the text
selected in xterm should be used. The idea is to select the
name_of_the_file, third button click, and the application, which can work
with file, will be started.

I think that the syntax should be like:
<Btn3Down> : string ("My_shell_script") insert-selection(PRIMARY,
CUT-BUFFER0)
string(0x0d) \n\\

However, I don't know where to add this definition. I have tried to edit the
files
/root/.Xdefaults
/usr/lib/X11/app_defaults/XTerm
/usr/lib/X11/app_defaults/XTerm-Color

No succes, the behaviour of the third mouse button didn't change. I'm also
not sure which string should precede <Btn3Down>...
Something like *VT100* or *VT102* or perhaps xterm_color*VT100.Translations?

I would appreciate any help. If you know how to define this behaviour for
KDE konsole, it would be even better than for xterm.

Many thanks!
Jiri




                 reply	other threads:[~2002-11-22 12:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NJENKOEGKMPDEHAMPCBBAEOACAAA.hladky.jiri@seznam.cz \
    --to=hladky.jiri@seznam.cz \
    --cc=linux-x11@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).