Console background color / e.g. Okami-shell or file preview

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

Post Reply
twh
Atariator
Atariator
Posts: 26
Joined: Sun Aug 27, 2006 3:03 pm

Console background color / e.g. Okami-shell or file preview

Post by twh »

Hi there,

can I somehow configure the Atari ST / text mode colors in med-resolution ?

For instance I want to change the console background color for the Okami-shell. So instead white background, black text, I would prefer black background with light/blue text. (MS DOS like).

I know this color settings somehow relate to the desktop colors. But can I be independent, say desktop stay as it is, but just text mode is different?
(e.g. to show / display text files)

grüße,
\thomas
simonsunnyboy
Moderator
Moderator
Posts: 5309
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: Console background color / e.g. Okami-shell or file preview

Post by simonsunnyboy »

No as the ST has no text mode. You can only set the global colors on the desktop and any application may change them to their own liking.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
ThorstenOtto
Atari God
Atari God
Posts: 1322
Joined: Sun Aug 03, 2014 5:54 pm

Re: Console background color / e.g. Okami-shell or file preview

Post by ThorstenOtto »

simonsunnyboy wrote: Fri Jan 15, 2021 4:20 pm No as the ST has no text mode. You can only set the global colors on the desktop and any application may change them to their own liking.
What makes you think so? Every *.ttp/*.tos program is run in text mode (internally not the same as in msdos, but for the user it looks the same).

You can try to echo out the control sequences to set the fore/background colors of the VT52 terminal somewhere in your startup script.

Code: Select all

ESC b <c> 	Foreground color 	Set text color.
ESC c <c> 	Background color 	Set background color.
(see https://freemint.github.io/tos.hyp/en/V ... minal.html)

But dunno if that works. Sometimes the shell might reset that to defaults, when printing the prompt.
simonsunnyboy
Moderator
Moderator
Posts: 5309
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: Console background color / e.g. Okami-shell or file preview

Post by simonsunnyboy »

Well the actual display is always bitmapped, TOS output routines handle it as a pseudo text terminal, true.
With the VT52 sequences, from my experience, it may be necessary to clear the screen first.

And with changing colors I assumed the OP meant the RGB definition (as this is what the Control Panel does). IIRC the VT52 does not allow that.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
User avatar
mfro
Atari Super Hero
Atari Super Hero
Posts: 904
Joined: Thu Aug 02, 2012 10:33 am
Location: SW Germany

Re: Console background color / e.g. Okami-shell or file preview

Post by mfro »

... to my large astonishment, Wikipedia knows about the VT52 command set and about the TOS extensions/omissions: https://en.wikipedia.org/wiki/VT52#Escape_sequences
ThorstenOtto
Atari God
Atari God
Posts: 1322
Joined: Sun Aug 03, 2014 5:54 pm

Re: Console background color / e.g. Okami-shell or file preview

Post by ThorstenOtto »

simonsunnyboy wrote: Sat Jan 16, 2021 9:32 am And with changing colors I assumed the OP meant the RGB definition (as this is what the Control Panel does). IIRC the VT52 does not allow that.
No, VT52 does not allow that, but doing so would change the colors also in the desktop, not only the console/textmode. I think he just meant changing back/foreground colors that are used when printing text.
Post Reply

Return to “Applications”