ANSI Color with Xterm and SecureCRT
Steve Phillips
steve at focb.co.nz
Wed Aug 11 01:24:48 UTC 2004
On Tue, 10 Aug 2004, Mike Vanecek wrote:
>
> I already own SecureCRT but may be forced to look at other options such as
> Anzio if I cannot find a workaround.
>
> Surely some method exists to tell the current xterm terminal session to
I think you are missing some key issues, this is _NOT_ an xterm session,
this is simply an emulation of an xterm session - this means that the way
the keyboard and display is handled is as per an xterm session, if you
press the "up" arrow then xyz string will be sent to the tty and the tty
will know how to interpret this. When a graphic depicting a corner of a
box is sent to your tty then your session will know how to display this on
your screen.
using systems such as setterm will allow you to change foreground and
background colours but what you are after is a way to override the ansi
sequences for certain screen attributes (foreground and background), this
is able to be setup by the xterm application, but you are not running the
application, you are running a seperate app that does not have these
facilities.
> change the foreground and background. Many applications have that capability.
> What would I need to put in a script that would send the appropriate codes to
> change the default fg and bg colors?
Yes, many applications have this ability, if you set the codes up in the
application and they honor colour changes on ansi compliant terminals then
you will have your new colours. If you are looking for an application that
allows you to override certain aspects of teh display then either write to
vandyke and ask them to add this feature in or find a new application.
SecureCRT does not offer this functionality
You may be interested to know that PuTTY _does_ offer this however under
the "colour" options.
--
Steve.
More information about the redhat-list
mailing list