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 :-).
-
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/