Bakcground and font coulor for AmbientShell
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    serge
    Posts: 725 from 2003/2/20
    Hi,

    In some screen grabs, we can see a variety of background coulors and
    fots diferent for AmbientShell.
    Which are the parameters to change them please?
  • »10.06.04 - 10:51
    Profile
  • Moderator
    hooligan
    Posts: 1948 from 2003/2/23
    From: Lahti, Finland
    AFAIK you can do it by placing standard ANSI-codes into Shell-Startup, for example.
    www.mikseri.net/hooligan <- Free music
  • »10.06.04 - 11:17
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    hiTCH-HiKER
    Posts: 169 from 2003/12/31
    Is there a way to prevent a black shell to become grey again when
    doing iconify/uniconify?
  • »10.06.04 - 11:23
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/14
    From: Naples - Italy
    No way. But the problem is already solved in MorphOS 1.5 shell.

    In February Nicolas Sallin suggested me (on the beta2 mailing list) to create and use some configuration files for CON:, but they don't work because they are tied to something new we don't have in MorphOS 1.4.2. We must be patient.

    In the meanwhile I've solved the problem with an alias. This was what I inserted in the shell-startup:

    Alias setsc Echo "*E[0;0;0;0V*E[1;220;220;220V*E[...*Ec" NoLine

    When the shell returns to the original colors, I type "setsc" and they are reset as I want. If you need the previous lines, scroll the history bar, or else remove the final *Ec part from the alias, and the display will not reset automatically.

    Regards.
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »10.06.04 - 14:42
    Profile Visit Website
  • MorphOS Developer
    Henes
    Posts: 507 from 2003/6/14
    What I told you also works in MorphOS1.4
  • »10.06.04 - 15:00
    Profile Visit Website
  • Cocoon
    Cocoon
    Posts: 43 from 2003/9/1
    This will turn your Ambient Shell into ANSI color mode. Simply cut/paste into s:color-startup and execute it whenever you want or add it to s:shell-startup.

    ;--- Begin s:color-startup ---
    echo "*E[0;000;000;000V" ; black
    echo "*E[1;255;255;255V" ; white
    echo "*E[2;000;255;000V" ; green
    echo "*E[3;255;255;000V" ; yellow
    echo "*E[4;000;000;255V" ; blue
    echo "*E[5;255;000;255V" ; magenta
    echo "*E[6;000;255;255V" ; cyan
    echo "*E[7;255;000;000V" ; red
    ;--- End s:color-startup ---
  • »10.06.04 - 15:17
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    jdryyz
    Posts: 127 from 2004/4/9
    From: Torrance, CA USA
    I have a related question-- how does one save the window location/size of the shell? I tried using shapsnot, I believe, but no go.

    At present, the New Shell command launches a window that fills my entire screen.
  • »10.06.04 - 16:32
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    cecilia
    Posts: 459 from 2003/8/30
    From: universe, milk...
    back about 100 years ago when i did something like this on my amiga shell, i added some stuff in the icon.
    now, this is from memory, but it looks something like this:

    WINDOW=CON:0/50//130/cecilia's Shell/CLOSE

    if it blows up, don't blame me! :-P
    "if you ever slam anyone, for anything, somehow you always end up eating shoe" Targhan
  • »10.06.04 - 16:39
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/14
    From: Naples - Italy
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »10.06.04 - 16:40
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    jdryyz
    Posts: 127 from 2004/4/9
    From: Torrance, CA USA
    Thanks, Cecilia. It is coming back to me now. I believe I modified a shell icon back in earlier days. I may not be able to make these settings stick in a global manner.

    Quote:

    WINDOW=CON:0/50//130/cecilia's Shell/CLOSE
  • »10.06.04 - 19:48
    Profile
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 419 from 2003/8/18
    To permantely change CON: colors, you may do:

    1. Create a file 'envarc:con.prefs' and add to it:

    //////INIT con.init

    (I guess you may also add default sizes, title, window gadgets,... much like when calling "newshell from con:150/200/200/300/MyTitle/CLOSE...")

    2. Create a file 'envarc:con.init' and add to it your color escape sequences

    Should be ok...

    Leo.
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »06.04.05 - 23:03
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Aaron
    Posts: 127 from 2003/6/14
    From: Tucson, AZ
    You could install MUIcon and set your colors in MUIprefs and get other great features too.

    --Aaron
    --Aaron Diezman
  • »07.04.05 - 01:44
    Profile