autoclosing windows
Alan Young <[email protected]> Thu, 15 Dec 2011 12:43:25 -0700
| Newsgroups | gmane.network.irc.irssi.user |
|---|---|
| Message-ID | <CAPAD24vuz6GY0m6RNguL+wspNeH6XY7MPHZ4_WCmZYBzLGdUsg@mail.gmail.com> |
I've asked on irc and gotten some partial resolution. But I will be too busy to spend a lot of time on irc for the next couple of days so I'll ask here. Also, email seems to allow for a more complete problem statement than trying to stuff things in one 79 character line at a time. I want unused windows to automatically close. I found 'autoclose_query' and 'autoclose_windows', which I have set to 300 and ON, respectively. I'm using Bitlbee for Twitter, Facebook, AIM and GTalk. I have things set so that each person or account I msg/query has a separate window, auto created if necessary. For the Twitter account, this means 'account twitter set mode many'. As far as I'm able to figure, the 'autoclose_query' is working fine. Each query window displays 'Irssi: Closing query with someuser' after the 5 minute time limit. But the window is not closed. This appears to happen with every query, regardless of the protocol being used. I have tried setting 'reused_unused_windows' to ON and OFF. If this setting is on, query windows used again as expected. I don't know if those two settings conflict with each other or not. I was asked in channel what the output of '/win' was. Before the query was closed: 2011-12-15 12:33:03 |CLIENTCRAP| Window : #109 2011-12-15 12:33:03 |CLIENTCRAP| Size : 279x71 2011-12-15 12:33:03 |CLIENTCRAP| Level : CRAP MSGS PUBLICS NOTICES SNOTES CTCPS ACTIONS KICKS MODES TOPICS WALLOPS INVITES NICKS DCC DCCMSGS CLIENTNOTICES CLIENTCRAP CLIENTERRORS HILIGHTS 2011-12-15 12:33:03 |CLIENTCRAP| Server : Bitlbee 2011-12-15 12:33:03 |CLIENTCRAP| Items : Name Server tag 2011-12-15 12:33:03 |CLIENTCRAP| QUERY : gnat Bitlbee After the query timeout, the output is: 2011-12-15 12:39:06 |CLIENTNOTICES| -!- Irssi: Closing query with gnat 2011-12-15 12:40:15 |CLIENTCRAP| Window : #109 2011-12-15 12:40:15 |CLIENTCRAP| Size : 279x71 2011-12-15 12:40:15 |CLIENTCRAP| Level : CRAP MSGS PUBLICS NOTICES SNOTES CTCPS ACTIONS KICKS MODES TOPICS WALLOPS INVITES NICKS DCC DCCMSGS CLIENTNOTICES CLIENTCRAP CLIENTERRORS HILIGHTS 2011-12-15 12:40:15 |CLIENTCRAP| Server : Bitlbee Any pointers on how to make this work? Do I need to write a script to cycle through the windows and close any that have closed a query? -- Alan Young