On Sat, 11 Oct 2014 15:23:34 -0400 (EDT), Mirko Parthey wrote:
> 
> In your current article, you suggest rebuilding ncurses to add a
> custom terminal type. I find it much easier to just install a terminal
> definition locally as a configuration file.
> 
> This can be achieved with the following command:
>   tic -x terminaldef.src
> where terminaldef.src contains just the single entry from your patch.
> 
> The output is written to /etc/terminfo/ or $HOME/.terminfo/,
> depending on the privileges of the user the tic command runs as.
> The ncurses library searches for terminal definitions in several places,
> including these two directories.

Thanks for the suggestion, Mirko.  I may incorporate this in a future
edition of my web page.  A source package modification to coreutils
will still be necessary, though, so that dircolors recognizes the new
terminal definition as one that supports color.  The only exception
would be if you were creating a new terminal definition for a terminal
that does *not* support color.

Actually, I think this is poor design.  In my opinion, dircolors should
make an ncurses call to determine if the terminal supports color, rather
than using an independent internal database of terminals which support
color.  There's too much chance of these two independent databases
getting out of sync, as we see has already happened with xterm-utf8.

-- 
  .''`.     Stephen Powell    <zlinux...@wowway.com>
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/11359349.4274949.1413058531316.javamail.zim...@wowway.com

Reply via email to