Re: Konsole: lost focus of window or tab

2007-01-18 Thread Mikolaj Machowski
Dnia piątek 19 styczeń 2007, Matthew Woehlke napisał: > So, just to make sure I am following, Vim does or does not currently > understand any escape sequences for focus events? It sounds like "no", > but then what about A.J.'s comment about reacting to "[focus] events for > 'the GUI and a few conso

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Matthew Woehlke
Bram Moolenaar wrote: Mikolaj Machowski wrote: Dnia czwartek 18 styczeñ 2007, Bram Moolenaar napisa³: Note that we also need one to enable/disable getting these events. A program should only get the events when asked for. Are you talking here about Vim part or Konsole part? Both. The term

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Bram Moolenaar
Mikolaj Machowski wrote: > Dnia czwartek 18 styczeñ 2007, Bram Moolenaar napisa³: > > Note that we also need one to enable/disable getting these events. A > > program should only get the events when asked for. > > Are you talking here about Vim part or Konsole part? Both. The terminal emulate

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Mikolaj Machowski
Dnia czwartek 18 styczeń 2007, Bram Moolenaar napisał: > Note that we also need one to enable/disable getting these events. A > program should only get the events when asked for. Are you talking here about Vim part or Konsole part? m.

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Mikolaj Machowski
Dnia czwartek 18 styczeń 2007, Matthew Woehlke napisał: > ...I am not a Vim hacker, but if you can rig Vim to handle some escape > sequence, I may be able to help make Konsole understand/send them. A > start might be to write a simple application that sends the sequence to > turn on the function an

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Bram Moolenaar
Mikolaj Machowski wrote: > Dnia środa 17 styczeń 2007, Matthew Woehlke napisał: > > > > I'm willing to (try to, at least) help get this working in 3.5.x if you > > can dig up what the needed escapes are (it sounds like there are already > > existing examples?)... it probably won't be accepted

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Matthew Woehlke
Mikolaj Machowski wrote: Dnia ¶roda 17 styczeñ 2007, Matthew Woehlke napisa³: Matthew Woehlke wrote: 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

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Mikolaj Machowski
Dnia środa 17 styczeń 2007, Matthew Woehlke napisał: > > I'm willing to (try to, at least) help get this working in 3.5.x if you > can dig up what the needed escapes are (it sounds like there are already > existing examples?)... it probably won't be accepted but you could use > it locally, and of c

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Mikolaj Machowski
Dnia środa 17 styczeń 2007, Matthew Woehlke napisał: > 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

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Bram Moolenaar
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 suppor

Re: Konsole: lost focus of window or tab

2007-01-17 Thread A.J.Mechelynck
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 autoev

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Matthew Woehlke
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 answe

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Nikolai Weibull
On 1/17/07, Matthew Woehlke <[EMAIL PROTECTED]> wrote: Nikolai Weibull wrote: > On 1/17/07, 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

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Matthew Woehlke
Nikolai Weibull wrote: On 1/17/07, 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 Focus

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Nikolai Weibull
On 1/17/07, Matthew Woehlke <[EMAIL PROTECTED]> 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 Focus

Re: Konsole: lost focus of window or tab

2007-01-16 Thread Matthew Woehlke
(KDE folks should note that this is cross-posted to vim-devel and should remove that address unless you have a reason not to.) 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