Matthew Woehlke wrote:

> Matthew Woehlke wrote:
> > Mikolaj Machowski wrote:
> >> Is it possible to recognize if window or tab of Konsole lost focus
> >> through termcap/terminfo sequence?
> >>
> >> Or is it at least possible with dcop or any other way?
> >>
> >> I am investigating ways to support Vim FocusGain/FocusLost autoevents.
> > 
> > [snip long answer]
> > [...and short answer, too]
> 
> Robert Knight says we should be able to add escape sequences to Konsole 
> to support this. I might be able to help with the patching (although it 
> is KDE4 that will really get the fix, anything for KDE3 does not seem 
> likely to be accepted, so you would be patching your own local version), 
> but someone Vim-side needs to tell us what Konsole needs to provide...
> 
> Does Vim already support notifications for some terminal emulators? If 
> so, how do we go about adding Konsole to that list?

Vim does check for some events, such as the xterm version response.  We
need to add termcap/terminfo codes for this internally (won't work
anywhere else).  Thus if you follow what's there in Vim it should not be
too complicated.

-- 
To define recursion, we must first define recursion.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to