Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Oliver Pinter
On 3/16/17, Bruce Evans wrote: > On Thu, 16 Mar 2017, Oliver Pinter wrote: > >> On 3/16/17, Bruce Evans wrote: >>> On Thu, 16 Mar 2017, Bruce Evans wrote: >>> Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bri

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
On Thu, 16 Mar 2017, Oliver Pinter wrote: On 3/16/17, Bruce Evans wrote: On Thu, 16 Mar 2017, Bruce Evans wrote: Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table ins

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Oliver Pinter
On 3/16/17, Bruce Evans wrote: > On Thu, 16 Mar 2017, Bruce Evans wrote: > >> Log: >> Add teken_256to16() to convert xterm-256 256-color codes to xterm >> 16-color >> codes. This will be used to fix bright colors. >> >> Improve teken_256to8(). Use a lookup table instead of calculations. >> Th

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
On Thu, 16 Mar 2017, Bruce Evans wrote: Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table instead of calculations. The ... A shell script for printing some text color

svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
Author: bde Date: Thu Mar 16 16:40:54 2017 New Revision: 315418 URL: https://svnweb.freebsd.org/changeset/base/315418 Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table