Welcome, Guest. Please login or register.

Author Topic: Change background colour in Shell/Cli and in file lister windows  (Read 1377 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigazTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2004
  • Posts: 1959
  • Country: se
  • Gender: Male
    • Show only replies by Amigaz
I would like to change the dull/boring grey background colour in Shell/Cli and in the standard file lister windows in OS3.9..I know I can change the colour in shell with Shell-startup but don't know the parameters..would like white or cream colour  :-P  same in the file windows (when files are shown as names not icons)
-------------------------------------------------------------------
Amiga 4000T - A3640 '040
Amiga 4000 - CS MKIII
Amiga 1200 - Blizzard 1230 MKIV
Amiga 1200 - Stock
Amiga CD32 - TF360
A bunch of ol' A500's
 

Offline oddmario

  • Jr. Member
  • **
  • Join Date: Jan 2006
  • Posts: 96
    • Show only replies by oddmario
Re: Change background colour in Shell/Cli and in file lister windows
« Reply #1 on: June 12, 2006, 09:59:51 PM »
Try VINCEed.
Don't use it myself at the moment, but after an article in AmigaActive i tried it.
Worth a try.
Adults with imaginary friends are stupid
 

Offline blobrana

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 4743
    • Show only replies by blobrana
    • http://mysite.wanadoo-members.co.uk/blobrana/home.html
Re: Change background colour in Shell/Cli and in file lister windows
« Reply #2 on: June 14, 2006, 09:00:50 PM »
Hum,
Amiga OS3.9 comes with ViNCEEd, although it isn`t the default shell in AmiDock. To launch ViNCEd drag the `ShellAmiDock. You can configure the tooltypes to set the position, size and various other options. On the actual window, at the top, a `settings` button can be accessed. This will open the SetVNC GUI where a whole host of other options can be set.
Other changes can be made, by editing the `shell-startup` file, found in the S: drawer. Information is available on using different ANSI colouring codes in the ViNCEd guide (press HELP button). Try this example out. you need to first customise the ViNCED window by un-ticking the `ANSI colours by default` and ticking `inverse ANSI colouring`. Then edit the shell-startup;


delete the Prompt "%N.%S>" line ,and add;
Prompt "*E[36m%N*E[33m.*E[33m%S*E[37m> *E[31m"
Echo " "
Echo "*E[31Hum."
Echo "*E[32m-----------------------------------"

Save the modified file and reopen the shell window...

Another more complex example:

echo "*e[>1m*e[31;41m*e[0;0H*e[J"
prompt "*n*e[>1m*e[33;41m*e[1m%N/%R.*e[30;41m%S>*e[0m*e[31;41m "
alias CLS "echo *"*E[0;0H*E[J*""
echo "AmigaOS $OS. Workbench $Workbench, Kickstart $Kickstart*n"
date
echo "*nMemory*n"
avail

 
( X is a number from 0-7 that correspond to the first eight palette colours).
Try different numbers:
*e[>Xm - sets the console background colour to X
*e[3Xm - sets the text colour to X
*e[4Xm - sets the text background colour to X
"*e[32;41m", which sets the text/text background colours at the same time.
( numbers 0-3 e are grey, black, white and light blue ).

prompt "*n*e[>1m*e[3X;41m*e[1m%N/%R.*e[30;41m%S>*e[0m*e[32;41m "