[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gcmd-dev] gcmd-block and terminal invocation
From: |
Micha |
Subject: |
[gcmd-dev] gcmd-block and terminal invocation |
Date: |
Fri, 22 Sep 2006 15:00:19 +0200 |
User-agent: |
Alpenglühn 7.2 |
Since I changed the 'programs' setting to xterm, long ago,
i didn't notice that sh <shift+enter> does not work with gnome-terminal.
The problem is with the 'execute' option.
xterm -e reads the whole remaining commandline,
where gnome-terminal -e expects a single argument.
This can be overcome by quoting the %s placeholder in the settings like:
gnome-terminal -e "%s"
but then gcmd adds the gcmd-block command as ''extra junk' ;-)
[GG] running: gnome-terminal -e 'sh; /usr/bin/gcmd-block'
It doesn't work with the -x option either because gcmd does it's own
quoting, which causes -x to run the gcmd-block command inside
the terminal (i think):
[GG] running: gnome-terminal -x 'sh; /usr/bin/gcmd-block'
Look at this....I can do:
gnome-terminal -e "less /tmp/test"
but any of these will fail:
gnome-terminal -e less /tmp/test; read a
gnome-terminal -e "less /tmp/test; read a"
What works is:
gnome-terminal -e "less /tmp/test"; less /tmp/test
but there's no way to set it up in gcmd options, AFAICS...
Suggestion: Don't include /usr/bin/gcmd-block into the quoted commandline ?
By the way, what's this gcmd-block all about ?
m°
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gcmd-dev] gcmd-block and terminal invocation,
Micha <=