The following reply was made to PR conf/147992; it has been noted by GNATS.

From: Anonymous <swel...@gmail.com>
To: David BERARD <cont...@davidberard.fr>
Cc: Ed Schouten <e...@freebsd.org>, bug-follo...@freebsd.org
Subject: Re: conf/147992: xterm-256color is a 8 colors terminal
Date: Sun, 27 Jun 2010 13:33:36 +0400

 I don't think your patch is going to work because AB=\E[4%dm:AF=\E[3%dm
 are not what xterm uses in order to display 256 colors. Try smth like
 
   $ test_256_colors() { local i; while [ $((i+=1)) -le 256 ]; do tput AF $i; 
echo -n "$*"; done; tput me; }
   $ test_256_colors '&&&'
 
 then
 
   $ export TERMCAP="$TERM:AB=\E[48;5;%dm:AF=\E[38;5;%dm:$TERM"
   $ test_256_colors '&&&'
 
 Perhaps, r200369 will be MFC'd to /stable/8 when there is looming 8.1-RELEASE.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to