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 and

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 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 emulater

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

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 console

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 FocusGain

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 FocusGain

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

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

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 support Vim FocusGain

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 investigating ways

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

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 but you