On Mon, Dec 09, 2002 at 05:32:33PM +1100, Chris Velevitch wrote:
> Where can I find the relationship between the escape sequences that
> control what colors are displayed and the 16 color palette entries?
> The online help doesn't even have a section on programming the
> terminal. Where can one be found?

Generally you don't program the terminal directly; unix terminals are arcane
and generally slightly incompatible between terminal emulators.  Instead,
you'd use a library like ncurses.

Also, the exact colors depend somewhat on the terminal emulator (in your
case gnome-terminal) and the terminal's settings, so I'm not sure that there
is any useful reference of the available colours, beyond perhaps "red",
"blue", etc.

What are you trying to do?  The best answer for what you want depends on if
you're simply customising your bash prompt, or writing a full-blown terminal
app, or something in-between.

-Andrew.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to