<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 4, 2010, at 7:41 PM, András Murányi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;"><div><blockquote type="cite"> <div><div class="h5"><br><div class="gmail_quote">2010/9/13 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">  <br> Hey András,<br> <br> Since we are in bug fixing mode for 0.43, now is a good time to test your GUI plugins, so we can make sure that they work in 0.43. &nbsp;Your plugins-plugin.tcl is a good example.<br> <br> .hc<br> </blockquote> <div>&nbsp;<br>OK, you'll find plugins-plugin rewritten and attached. Later i'll add it to the wiki too...<br><br>Now i'd rewrite my other plugins, and the first would be a simple one binding fullscreen to F11 - but it seems keypresses are already captured and i cannot get a hold of F11 any more from TCL. Is that right or am i just lost?<br>  <br>Andras<br> </div></div> </div></div><span>&lt;plugins-plugin.tcl&gt;</span></blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;"> Excellent! &nbsp;I just tried it out, and got a problem when I unchecked "set_custom_stored_histores". &nbsp;Here's the screenshot and error log:</div><div style="word-wrap: break-word;"><span>&lt;Picture 1.png&gt;</span></div> <div style="word-wrap: break-word;"><div style="word-wrap: break-word;">bad option "-index": must be -all, -ascii, -decreasing, -dictionary, -exact, -glob, -increasing, -inline, -integer, -not, -real, -regexp, -sorted, or -start</div> <div style="word-wrap: break-word;">bad option "-index": must be -all, -ascii, -decreasing, -dictionary, -exact, -glob, -increasing, -inline, -integer, -not, -real, -regexp, -sorted, or -start</div><div style="word-wrap: break-word;"> &nbsp;&nbsp; &nbsp;while executing</div><div style="word-wrap: break-word;">"lsearch -index 0 -exact $startup_plugins $shortname"</div><div style="word-wrap: break-word;">&nbsp;&nbsp;&nbsp; </div></div></span></div></div></blockquote><div style="word-wrap: break-word;"> &nbsp;<br>oops. "<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">lsearch -index</span>" turns out to be a 8.5 thing (and you probably have 8.4), so i'll need to require 8.5, as I cannot even work this around.<br> Thanks for pointing it out!<br></div></div></blockquote><div><br></div><div>Ah, yes, works fine with Tcl/Tk 8.5</div><div><br></div><blockquote type="cite"><div class="gmail_quote"><div style="word-wrap: break-word;">(can you, by any chance, give me a hint on bindings...?)<br>Andras<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;"><div><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"></span></div> </div></blockquote></div></blockquote><br></div><div>Sure, what help do you need with bindings?</div><div><br></div><div>.hc</div><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers.&nbsp; &nbsp;&nbsp; &nbsp;- General Smedley Butler</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>