Date: Sun, 27 Jun 2010 09:40:03 GMT From: Anonymous <swell.k@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/147992: xterm-256color is a 8 colors terminal Message-ID: <201006270940.o5R9e3qt039661@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/147992; it has been noted by GNATS. From: Anonymous <swell.k@gmail.com> To: David BERARD <contact@davidberard.fr> Cc: Ed Schouten <ed@FreeBSD.org>, bug-followup@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006270940.o5R9e3qt039661>