Ben Spencer <dangerous....@gmail.com> writes: > On Tue, Aug 10, 2010 at 06:15:45PM +0400, Anonymous wrote: >> While porting the script to FreeBSD I've made a few changes. >> Can someone test them on non-ancient Linux? > > b...@arctor:~$ stumpish > tput: unknown terminfo capability 'AF' > Welcome to the STUMPwm Interactive SHell. > tput: unknown terminfo capability 'me' > Type tput: unknown terminfo capability 'AF' > commandstput: unknown terminfo capability 'me' > for a list of commands. >> echo test > tput: unknown terminfo capability 'md' > tput: unknown terminfo capability 'AF' > test > tput: unknown terminfo capability 'me' > > This is on debian sid, ncurses 5.7+20100313-2, using urxvt with $TERM > set to 'rxvt-unicode'.
Below diff should silence warnings from tput(1) in ncurses tarball. %% diff --git a/contrib/stumpish b/contrib/stumpish index 51b0689..d7221a9 100755 --- a/contrib/stumpish +++ b/contrib/stumpish @@ -120,8 +120,8 @@ tput () local cap1=$1 cap2=$2 shift 2 - command tput $cap1 $@ || - command tput $cap2 $@ + command tput $cap1 $@ 2>/dev/null || + command tput $cap2 $@ 2>/dev/null } READLINE=yes %% _______________________________________________ Stumpwm-devel mailing list Stumpwm-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/stumpwm-devel