On Thu, 2 Aug 2007 15:22:04 +0200 Cyril Brulebois <[EMAIL PROTECTED]> wrote:
> Hi. > > Andrea Bolognani <[EMAIL PROTECTED]> (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.
pgpFzNawXdXCB.pgp
Description: PGP signature