It is easy to reproduce: 'unset TERM' from the command line and then run 
svn-buildpackage in such a way that errors or warnings are produced.

tput will complain that TERM is not defined, making it difficult to read the 
messages that it is supposed to be bolding.

Upon further reflection (and perusal of the tput manpage), I'd suggest testing 
the existance of tput (since svn-buildpackage doesn't depend on ncurses-bin) 
and then the existance of TERM (since tput won't work without it) and then 
capturing the value of "tput smso" and "tput rmso" (as suggested by the tput 
manpage) to the $bold and $unbold variables respectively.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to