On Mon, 9 Dec 2002 17:54:59 +1100, Andrew Bennetts
<[EMAIL PROTECTED]> wrote:
>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.

I'm using an application that controls that colors of the terminal
using escape sequences such as ESC [ 1 m. The default colours are hard
to read. Although I change all of gnome-terminal's 16 color palette
entries, which palette entry does ESC [ 1 m correspond to?

>-Andrew.


Chris




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

Reply via email to