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 could use
> > it locally, and of course submit it for porting to KDE4.
> 
> On kde-devel R. Knight said he can accept it to 3.5.7 release and later
> maintain it for KDE 4.
> 
> Now, some start. I don't know much about term internals. I read
> something yesterday and today so forgive me if I wrote something stupid.
> Just seed for further discussion:
> 
> Base info according to man terminfo:
> 
> Variable String: focus_lost
> Cap name:        flo
> TCapcode:        fL
> Description:     terminal lost focus
> 
> Escape sequence: \E[1fl
> 
> Variable String: focus_gained
> Cap name:        fga
> TCapcode:        fG
> Description:     terminal gained focus
> 
> Escape sequence: \E[1fg
> 
> These sequences and names don't conflict with any other entry defined in
> my /etc/termcap or /usr/share/terminfo/** .

There are some rules about escape sequences, I think ending in "fl" or
"fg" is not good.  Try asking Thomas Dickey, he has a good overview of
the codes.

Note that we also need one to enable/disable getting these events.  A
program should only get the events when asked for.

-- 
hundred-and-one symptoms of being an internet addict:
38. You wake up at 3 a.m. to go to the bathroom and stop and check your e-mail
    on the way back to bed.

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