Re: tput failing on 10 and 12 systems?

2016-11-21 Thread Julian Elischer
On 22/11/2016 12:49 AM, Adrian Chadd wrote: Hiya, Just to follow through - part of tput is to decode command args, but it then just requests it from the ncurses tputs() call. So it could be tput, but it could also be the BSD ncurses work. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=2147

Re: tput failing on 10 and 12 systems?

2016-11-21 Thread Julian Elischer
On 22/11/2016 12:49 AM, Adrian Chadd wrote: Hiya, Just to follow through - part of tput is to decode command args, but it then just requests it from the ncurses tputs() call. So it could be tput, but it could also be the BSD ncurses work. but the ncurses stuff works for things like vim -adr

Re: tput failing on 10 and 12 systems?

2016-11-21 Thread Adrian Chadd
Hiya, Just to follow through - part of tput is to decode command args, but it then just requests it from the ncurses tputs() call. So it could be tput, but it could also be the BSD ncurses work. -adrian On 21 November 2016 at 07:54, Julian Elischer wrote: > example on freefall (FreeBSD 1

tput failing on 10 and 12 systems?

2016-11-21 Thread Julian Elischer
example on freefall (FreeBSD 12.0-CURRENT #0 r306376) julian@freefall:tput setaf 4|od -c 000 033 [ m 003 so nothing happens, and tput returns 1. but on a FreeBSD 8 system: [jelischer@alpha ~]$ tput setaf 4|od -c 000 033 [ 3 4 m 005 which make the text change