ANSI Color with Xterm and SecureCRT

Mike Vanecek rh_list at mm-vanecek.cc
Mon Aug 9 21:08:08 UTC 2004


On Sun, 8 Aug 2004 03:17:58 -0500 (CDT), Steve Phillips wrote
> On Sun, 8 Aug 2004, Malcolm Kay wrote:
> 
> > On Sunday 08 August 2004 13:41, Mike Vanecek wrote:
> >> I am using SecureCRT 4.1.17 to ssh2 into a RH 9 system. SecureCRT is
> >> configured to connect using xterm terminal emulation with ansi color. The
> >> default color selection is fg=white and bg=black. I would like to reverse
> >> it to have black on white as the system default. I know about using
> >> geometry when starting an xterm session in a local session with GNOME.
> >> However, I am starting the session via ssh and SecureCRT and do not have
> >> the option to use geometry (at least not that I can find). How can I tell
> >> the running xterm session to change its fg/bg colors?
> 
> Under the "emulation" section you need to ensure that the ansi 
> colour option is ticked, if you do this then it will override the 
> appearence options to set the foreground and background. (I have 
> mine set to monochrome under the appearence options). Setting the 
> emulation to xterm is ok, but you may find setting it to "Linux" is 
> better unless you connect to other systems that are not linux based 
> (linux will emulate the linux console and so you will probably find 
> that things work a little better)

I guess the problem is really with the ANSI definition under any terminal 
emulation selection. It immediately defaults to black on white regardless of 
the color scheme selected (the ANSI setting ignores windows, appearance, 
color scheme). I have found that ANSI with Xterm seems to work best with the 
apps that I am running. I just need a RH 9 command that sends a color 
selection to use black on white as the default when in command mode. For 
example, when one runs slrn under RH 9 it has a full range of color settings 
including running its basic default windows as black on white. Or when I run 
MC it allows me to set my colors while running MC. Shouldn't a command exist 
that allows one to change the fg/bg while at the command prompt?

> 
> > You may do better with PUTTY which comes for free.
> 
> PuTTY is very good but if they have purchased SecureCRT then they 
> may find that it has more advanced features (passthrough printing 
> etc) that PuTTY doesnt do.

I use Putty some, but need some of the features that SecureCRT provides that 
Putty does not.





More information about the redhat-list mailing list