Keith Owens <[EMAIL PROTECTED]>:
> 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

_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to