vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] How can I run xvile like "gvim -f"?


From: Chris Green
Subject: Re: [vile] How can I run xvile like "gvim -f"?
Date: Tue, 12 Dec 2017 13:39:04 +0000
User-agent: Mutt/1.6.1 (2016-04-27)

On Mon, Dec 11, 2017 at 06:24:08PM -0500, Thomas Dickey wrote:
> > > Perhaps the extension sends xvile a SIGHUP or something like that, and
> > > gvim ignores it.
> > > 
> > It doesn't give up, the xvile window opens and stays open but it never
> > has control.  No text appears in the window, no menus, nothing.  ...
> > and you can't exit either, you have to kill it.
> 
> hmm - I probably don't have a similar configuration to compare
> (I'm only using Firefox on MacOS, which has its own problems),
> but strace would still be the place to start.  I took a look at
> the output from starting xvile and gvim (athena) on my Debian 8
> machine, and the traces are rather long.  Also, I overlooked the
> "-f" option (since the X11 library does its own fork, following
> subprocesses is needed).
> 
> So... what type of system are you using (in case I can reproduce it)?
> 
I'm running xubuntu, same issue on both 16.04 and 17.10 (both have
Firefox 57 which is what opened this can of worms).


> > Running xvile from an xterm (using a wrapper script) works OK.
> 
> oh - firefox -> add-on -> script -> xterm -> xvile
> 
Yes, I've actually got a workaround using rxvt which means I can hide
the terminal window:-

    rxvt -iconic -e xvile <file>

Works beautifully.

I suspect that much of the problem may be down to xfce4-terminal (my
default terminal) running multiple terminal windows as one process.
Though why 'gvim -f' is different from 'xvile +fork' is still the
question.

Anyway, I have a reasonable workaround now.

-- 
Chris Green



reply via email to

[Prev in Thread] Current Thread [Next in Thread]