On 12-11-24 09:17 AM, Andrej N. Gritsenko wrote:
>> Unfortunately, since non-xterm terminals like LXTerminal only accept the
>> "all in one argument" approach, we can't all just use URxvt's syntax either.
>
>      False statement. Every terminal (including LXTerminal, yes) accepts
> the arguments after command. Just try it and you'll see. :)
>      But '-e' / '-x' dilemma cannot be resolved so easily.
>

I tested it with all the terminals I have installed immediately before I 
wrote that.

These work:

urxvt -e bash -c 'echo foo; read'
xterm -e bash -c 'echo foo; read'
xterm -e "bash -c 'echo foo; read'"
lxterminal -e "bash -c 'echo foo; read'"
konsole -e "bash -c 'echo foo; read'"

These don't:

urxvt -e "bash -c 'echo foo; read'"
lxterminal -e bash -c 'echo foo; read'
konsole -e bash -c 'echo foo; read'

I'm using the versions offered by Lubuntu 12.04.

rxvt-unicode (urxvt) v9.14 - released: 2011-12-21
XTerm(271)
0.1.11-2ubuntu1
Konsole: 2.8.5

(I asked apt-cache what version of lxterminal I'm running since it 
doesn't prefix -h with its version like urxvt, implement --version like 
Konsole, or implement -version like XTerm and I didn't feel like opening 
the about box)


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to