Re: CML2 1.9.6 is available
Eric S. Raymond (esr@thyrsus.com)
Wed, 12 Dec 2001 01:28:46 -0500
Keith Owens <kaos@ocs.com.au>:
> This works for me.
>
> --- cml2-1.9.6/cmlconfigure.py Sun Dec 9 19:27:31 2001
> +++ 2.4.16-kbuild-2.5/scripts/cmlconfigure.py Wed Dec 12 17:23:01 2001
> @@ -1009,7 +1009,7 @@
>
> def query_popup(self, prompt, initval=None):
> "Pop up a window to accept a string."
> - maxsymwidth = 30 # Constant
> + maxsymwidth = self.columns - len(prompt) - 2
> if initval and len(initval) > maxsymwidth:
> self.help_popup("PRESSANY", (lang["TOOLONG"],), beep=1)
> return initval
>
> Warning, that is my first bit of Python code (Oh no, now I'm
> contaminated too :-).
And a very nice bit it is too :-).
I actually ended up making a similar change shortly after I wrote you.
Right now I'm testing Jan Harknes's CML1 backport patch.
--
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
I do not find in orthodox Christianity one redeeming feature.
-- Thomas Jefferson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/