Quoth Brian Cuttler on Tuesday, 31 August 2010:
> >From Chip Camden
> 
> > Try this at a shell prompt:
> > 
> > echo "`tput AF 1`hello`tput me`" 
> > 
> > "hello" should be in red.
> 
> Chip - B/W only, plus the errors. I'm guessing that the
> errors tell us where the root of the problem is.
> 
> Ok, I'm guessing that the errors will tells someone who
> is not me where the error lies.
> 
> 
> [curie] ~ 212> printenv | grep TER
> TERM=xterm
> COLORTERM=1
> 
> [curie] ~ 213> echo "`tput AF 1`hello`tput me`"
> tput: unknown terminfo capability 'AF'
> tput: unknown terminfo capability 'me'
> hello
> 
> 
> 
> On Tue, Aug 31, 2010 at 11:46:57AM -0700, Chip Camden wrote:
> > Quoth Brian Cuttler on Tuesday, 31 August 2010:
> > > Chip,
> > > 
> > > No, mutt is not producing any errors, its just failing, not only
> > > to set colors but even to highlight (or is it simply reverse)
> > > the black and white header and footer or provide inverse for the
> > > message I'm currently pointing to in the index.
> > > 
> > > With mutt not complaining I'm guessing it is a terminal/display
> > > issue rather than a mutt issue, just hadn't realized that the new
> > > server (since nothing changed on my desktop) had, ya know, issues.
> > > 
> > > I don't think its mutt, I think mutt is just a symptom, had
> > > hoped that everything would work out of the box.
> > > 
> > > Trying to download newer sunfreeware mutt build but the download
> > > keeps stalling out on me.
> > > 
> > >                                           thanks,
> > > 
> > >                                           Brian
> > > 
> > > On Tue, Aug 31, 2010 at 11:19:59AM -0700, Chip Camden wrote:
> > > > Quoth Brian Cuttler on Tuesday, 31 August 2010:
> > > > > Hate ask, but I think I've tried the obvious...
> > > > > 
> > > > > Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i (2003-03-19)
> > > > > to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm finding that
> > > > > my colors and highlighting don't work at all.
> > > > > 
> > > > > Checked terminal type, the same, didn't make any config changes,
> > > > > just # ssh'd into a different server. My desktop is Solaris 10x86
> > > > > and that hasn't changed either. Its something with the server or
> > > > > with the specific build of mutt, I believe both from sunfreeware.
> > > > > 
> > > > > Sorry to ask such a rudimenary question.
> > > > > 
> > > > >                                               Thanks for your help,
> > > > > 
> > > > >                                               Brian
> > > > > 
> > > > > ---
> > > > >    Brian R Cuttler                 [email protected]
> > > > >    Computer Systems Support        (v) 518 486-1697
> > > > >    Wadsworth Center                (f) 518 473-6384
> > > > >    NYS Department of Health        Help Desk 518 473-0773
> > > > > 
> > > > > 
> > > > > 
> > > > > IMPORTANT NOTICE: This e-mail and any attachments may contain
> > > > > confidential or sensitive information which is, or may be, legally
> > > > > privileged or otherwise protected by law from further disclosure.  It
> > > > > is intended only for the addressee.  If you received this in error or
> > > > > from someone who was not authorized to send it to you, please do not
> > > > > distribute, copy or use it or any attachments.  Please notify the
> > > > > sender immediately by reply e-mail and delete this from your
> > > > > system. Thank you for your cooperation.
> > > > > 
> > > > 
> > > > Rudimentary, yes.  Easy, no.  I probably don't know enough about Solaris
> > > > to help you, but I can tell you that on FreeBSD I ran into several
> > > > issues:
> > > > 
> > > > 1. I had to build mutt with slang instead of ncurses.
> > > > 
> > > > 2. The terminal definition I use has to be set up correctly in *both*
> > > > termcap and terminfo.  Specifically, it needs to have the correct number
> > > > of colors specified (Co# in termcap) and the correct sequences for
> > > > setting foreground/background color.
> > > > 
> > > > 3. The terminal in which you are running mutt (urxvt in my case) has to
> > > > be built with the same color options (256 color support, in my case).
> > > > 
> > > > So, what kind of problem are you seeing?  Is mutt complaining, or is it
> > > > just silently not changing the colors?
> > > > 
> > > > -- 
> > > > Sterling (Chip) Camden    | [email protected] | 2048D/3A978E4F
> > > > http://camdensoftware.com | http://chipstips.com        | 
> > > > http://chipsquips.com
> > > 
> > > 
> > > ---
> > >    Brian R Cuttler                 [email protected]
> > >    Computer Systems Support        (v) 518 486-1697
> > >    Wadsworth Center                (f) 518 473-6384
> > >    NYS Department of Health        Help Desk 518 473-0773
> > > 
> > > 
> > > 
> > > IMPORTANT NOTICE: This e-mail and any attachments may contain
> > > confidential or sensitive information which is, or may be, legally
> > > privileged or otherwise protected by law from further disclosure.  It
> > > is intended only for the addressee.  If you received this in error or
> > > from someone who was not authorized to send it to you, please do not
> > > distribute, copy or use it or any attachments.  Please notify the
> > > sender immediately by reply e-mail and delete this from your
> > > system. Thank you for your cooperation.
> > > 
> > 
> > Try this at a shell prompt:
> > 
> > echo "`tput AF 1`hello`tput me`" 
> > 
> > "hello" should be in red.
> > 
> > -- 
> > Sterling (Chip) Camden    | [email protected] | 2048D/3A978E4F
> > http://camdensoftware.com | http://chipstips.com        | 
> > http://chipsquips.com
> 
> 
> ---
>    Brian R Cuttler                 [email protected]
>    Computer Systems Support        (v) 518 486-1697
>    Wadsworth Center                (f) 518 473-6384
>    NYS Department of Health        Help Desk 518 473-0773
> 
> 
> 
> IMPORTANT NOTICE: This e-mail and any attachments may contain
> confidential or sensitive information which is, or may be, legally
> privileged or otherwise protected by law from further disclosure.  It
> is intended only for the addressee.  If you received this in error or
> from someone who was not authorized to send it to you, please do not
> distribute, copy or use it or any attachments.  Please notify the
> sender immediately by reply e-mail and delete this from your
> system. Thank you for your cooperation.
> 

No, it just means that tput uses terminfo instead of termcap.  Hang on,
I'll get you the proper command.

-- 
Sterling (Chip) Camden    | [email protected] | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com        | http://chipsquips.com

Attachment: pgpYO9fScj6ux.pgp
Description: PGP signature

Reply via email to