[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] stumpish changes for non-GNU systems
From: |
Anonymous |
Subject: |
Re: [STUMP] stumpish changes for non-GNU systems |
Date: |
Tue, 14 Sep 2010 01:24:04 +0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) |
Ben Spencer <address@hidden> 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?
>
> address@hidden:~$ 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
%%