[Pkg-xfce-devel] Bug#434863: Bug#434863: xfce4-terminal: Wrapper script seems broken

Simon Huggins huggie at earth.li
Tue Jul 31 14:52:20 UTC 2007


On Fri, Jul 27, 2007 at 12:24:51PM +0200, Andrea Bolognani wrote:
> I'm using xfce4-terminal to run vim as external editor in Sylpheed.
> The command line I give is
> 	xfce4-terminal.wrapper -e vim %s
> but the terminal windows seems to be spawned before the temp file is
> ready, and as a result I can't edit the mail in vim.

What makes the file be ready?  Is this Sylpheed that does that?

> This works perfectly if I use gnome-terminal.wrapper (except for the
> fact it takes a looong time to start ;) and also if I make a copy of
> gnome-terminal.wrapper and edit the last line to make it run
> xfce4-terminal instead.

> I'm no Perl guru, so I can't help fixing the bug.

Well I understand Perl but looking at both the gnome-terminal (2.18.1)
and xfce4-terminal wrapper scripts they are functionally the same to my
eyes.

They both just translate some arguments from one format to another and
then replace perl with the terminal using an exec() call.

I think this is probably Sylpheed's bug if it doesn't create the file
until a little while after it spawns the editor but I'm not sure if that
is what you're describing.

What happens exactly in the case when the file isn't "ready" as you say?

-- 
----------(    "Ah! You'd like freshly *squeezed* orange     )----------
----------(  juice." - Basil "As against freshly unscrewed   )----------
Simon ----(         orange juice, yes" Fawlty Towers         )---- Nomis
                             Htag.pl 0.0.22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20070731/85fe8659/attachment.pgp 


More information about the Pkg-xfce-devel mailing list