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

Andrea Bolognani eof at kiyuko.org
Fri Aug 3 08:51:52 UTC 2007


On Thu, 2 Aug 2007 15:22:04 +0200
Cyril Brulebois <cyril.brulebois at enst-bretagne.fr> wrote:

> Hi.
>
> Andrea Bolognani <eof at kiyuko.org> (02/08/2007):
> > What I can see, as a user, is that, if I run xterm (or rxvt, or
> > gnome-terminal, they behave the same) from a terminal window, the
> > shell is blocked because the new terminal process is in the
> > foreground, and the shell waits for it to complete before giving me
> > back the prompt.
>
> If I do the following from an xfce4-terminal window:
> | xfce4-terminal
> Or:
> | xfce4-terminal -x vim /foo/bar
> Or:
> | xfce4-terminal.wrapper -e vim /foo/bar
>
> Everything is alright: a new terminal window appears, the calling one is
> blocked, and waiting for the second to terminate. In the 2nd and the 3rd
> case, vim is spawned correctly.

This is not the case on my box. The calling terminal is not blockes, I just
immediately get the prompt back.

> > If I do the same with xfce4-terminal, I immediately get the prompt
> > back: this is because (my guess of course) xfce4-terminal forks on
> > startup, or does a similar trick to run in the background; this causes
> > the shell (or Sylpheed) to think the process terminated, and returns
> > to do its stuff.
>
> What if you `strace' it? (`-f' might help).

I'm attaching the complete output of `strace -f xfce4-terminal'.
Please tell me if I need to provide further info.

(PS: Should I CC: the pkg-xfce4-devel mailing list?)

--
KiyuKo <eof AT kiyuko DOT org>
Resistance is futile, you will be garbage collected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20070803/11c5a823/attachment.pgp 


More information about the Pkg-xfce-devel mailing list