lkml.org 
[lkml]   [2001]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CML2 1.9.6 is available
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/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.075 / U:1.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site