Subject: Re: Sending colour codes to an xterm/rxvt
To: Ian Goldby <Ian.Goldby@mail.com>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-help
Date: 03/25/2001 02:10:17
Ian Goldby wrote:

> Anyway, on an IRIX box at work, I use 'tput bold' to print my shell
> prompt in bold, and 'tput sgr0' to reset back to normal. Since bold
> text is rendered in yellow, this is a nice arrangement.

The NetBSD tput understands termcap attributes and not terminfo
attributes as the IRIX one does.  Try something like

	tput md ; echo foo bar ; tput me

for bold under NetBSD.  Use man 5 termcap for a list of attributes.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/