Re: CML2 1.9.6 is available

From: Eric S. Raymond (esr@thyrsus.com)
Date: Wed Dec 12 2001 - 01:28:46 EST


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/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:22 EST