bts reassign 447789 libcommandline-ruby1.8 0.7.10-7 bts retitle 447789 libcommandline-ruby1.8: compares ENV["COLUMNS"] to 10 thanks
Esteban Manchado Velázquez <[EMAIL PROTECTED]> writes: > I'll add some debugging/verbose mode to dhelp_parse in the next version :-D Do > you mind if I send you a modified version of dhelp_parse to test? Feel free (though I see you already did anyway :-). Anyway, further investigation revealed that the problem had nothing to do with any actual .dhelp files and everything to do with whether I had the environment value COLUMNS set -- when I do (either dpkg or debconf evidently reintroduces it into the minimal environment sudo sets up), application.rb proceeds to compare its (string) value to the integer 10: DEFAULT_CONSOLE_WIDTH = 70 MIN_CONSOLE_WIDTH = 10 [...] console_width = ENV["COLUMNS"] @columns = if console_width.nil? DEFAULT_CONSOLE_WIDTH elsif console_width < MIN_CONSOLE_WIDTH # line 342, offending call console_width else console_width - DEFAULT_BODY_INDENT end I'm reassigning this bug accordingly. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/[EMAIL PROTECTED]