xfterm4 script recursivity bug?

Benedikt Meurer meurer at informatik.uni-siegen.de
Thu Nov 16 12:56:34 CET 2006


Xavier Otazu wrote:
> 	Hi:
> 
> 	I have defined TERMCMD as rxvt. Hacking a bit, I've found.
> 
> 	I have defined exo TerminalEmulator as rxvt "%s"
> 
> 	When excuting
> 
> xfterm4 -e ssh xavier at mimachine.com
> 
> I receive:
> 
> rxvt: bad option "ssh xavier at mimachine.com"
> 
> which means that it ignores the "-e" flag.
> 
> 	Looking at the xfterm4 script, I've seen that a EXEC variable
> is used. I've defined EXEC="-e ". This way I execute it again but
> receive
> 
> rxvt: bad option "-e ssh xavier at mimachine.com"
> 
> 	Then, defining TerminalEmulator as rxvt %s (without the quotes)
> I may execute it without problems.
> 
> 	But when I execute 
> 
> xfterm4 -e ssh xavier at mimachine.com -T mimachine -n mimachine
> 
> rxvt dissapears just after introducing the password, because it
> cannot execute "-T mimachine" in the remote machine.
> 
> 	If I execute
> 
> xfterm4 -T mimachine -e ssh xavier at mimachine.com
> 
> it just do not execute the ssh command.
> 
> 
> 	Therefore, I guess there is some problem parsing the options I
> use with the xfterm4 script. Also I need to use a (non-documented)
> variable EXEC in order to execute it.
> 
> 	With the old script, everything works fine.
> 
> Some ideas?

Just forget about xfterm4, it's just a deprecated wrapper for exo-open.
You should use exo-open directly instead.

> cheers
> Xavier

Benedikt



More information about the Xfce4-dev mailing list