[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#637001: allow xterm to run a user-specified command on some event (e.g. to open a URL)



On Mon, 8 Aug 2011, Vincent Lefevre wrote:

On 2011-08-07 13:11:50 -0400, Thomas Dickey wrote:
On Sun, 7 Aug 2011, Vincent Lefevre wrote:
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).

That's off in that gray area where (disregarding the double standards
applied to gnome-terminal, konsole, etc), the security team is likely to
limit or suppress the feature.  Lacking some discussion with those people,
yes it's a simple feature, but not certain you'd get it in Debian.

I don't see what security problem there could be. Note that the
command would be specified by the user, so that everything in under
his control. Only its argument or standard input would come from
the terminal, but it's up to the command to check its input, as
usual.

It falls into the same category as the other "allow" items - something where there's a potential for outsiders (e.g., send-events) to manipulate it.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



Reply to: