Bug#637001: allow xterm to run a user-specified command on some event (e.g. to open a URL)
Package: xterm
Version: 271-1
Severity: wishlist
xterm should have a way to run a user-specified shell command
on some event. For instance, xterm could define a new action
run-command(command [, ...?]). The command would get context
information, either as an argument or in standard input, such
as what is under the mouse pointer (so that the user doesn't
need to make a selection first).
The context could be some string (possibly including newline
characters) matching a user-specified regexp; that would be
sufficient for URL's. But getting color/attribute information
too might also be useful.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xterm depends on:
ii libc6 2.13-14 Embedded GNU C Library: Shared lib
ii libfontconfig1 2.8.0-3 generic font configuration library
ii libice6 2:1.0.7-2 X11 Inter-Client Exchange library
ii libncurses5 5.9-1 shared libraries for terminal hand
ii libutempter0 1.1.5-4 A privileged helper for utmp/wtmp
ii libx11-6 2:1.4.4-1 X11 client-side library
ii libxaw7 2:1.0.9-2 X11 Athena Widget library
ii libxft2 2.2.0-3 FreeType-based font drawing librar
ii libxmu6 2:1.1.0-2 X11 miscellaneous utility library
ii libxt6 1:1.1.1-2 X11 toolkit intrinsics library
ii xbitmaps 1.1.1-1 Base X bitmaps
Versions of packages xterm recommends:
ii x11-utils 7.6+3 X11 utilities
Versions of packages xterm suggests:
pn xfonts-cyrillic <none> (no description available)
-- no debconf information
Reply to: