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

From: Anonymous <[email protected]>
To: David BERARD <[email protected]>
Cc: Ed Schouten <[email protected]>, [email protected]
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to