6/12 What's the ANSI escape sequence for setting colors 8-15?
\_ colors 8-15 are just high-intensity versions of colors 0-7.
to set the high-intensity attribute, use {ESC}[1m
see also: http://perso.efrei.fr/~marnier/docs/ansi-esc.htm
--jameslin
\_ Hm... interesting. The reason behind this question is that
colors 0-7 in SSH Secure Shell are very dark. I'd like to
use termcap/terminfo to trick programs to using colors
8-15 (which look normal). I've tried using Esc[1m, but I
get the brighter color along with a bold typeface. I'd like
to get just the brighter color but not the bold typeface.
Ideas?
\_ don't use colorls?
\_ Unless you can change something in your terminal program's
options itself, you're fucked. Try another ssh client.
PuTTY is good. Teraterm is usable but doesn't do
ansi colors iirc.
\_ Teraterm actually does.
\_ Putty is nice when you need something fast for a one shot
but for daily use I prefer terateam which doesn't feel like
someone's HS project.
\_ I'm curious -- name one thing that teraterm does better
than the current stable version of putty. I've used all
3 (ssh.com client, tterm pro, putty) for quite a while
and now just use putty because it's acted up much less
often than the others.
\_ For starters, putty is the only ssh client that will
spontaneously drop my connection all day every day.
It's not an idle time issue, it'll do it in the
middle of typing. There were a few other personal
preference differences but I consider disconnects a
serious issue.
\_ Strange; I've never had that happen over several
months of using putty (unless the network went
out with it). Are you sure it's not a problem
with your server's sshd (which the other clients
may be more tolerant toward)? |