Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread sakura kinomoto
SOLUTION:
devload nansi.sys
set prompt=$p$g$e[1;37;40m
for white/black

or 

set prompt=$p$g$e[1;33;44m
(yellow/blue; pretty nice)

P. S.: for "bad yellow": solved:  just need to "degauss" monitor

P.P.S:
thanking for any answer! thank Ray Devison, Felix Miata and others!
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread sakura kinomoto
thank you very very much!

I type : "set prompt=$p$g$e[0;37;40m" ; it nice

P.S.: yellow is similar to orange or pink; maybe, it is bug of my 
monitor/videocard *(^^)* 
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread dmccunney
On Wed, Feb 13, 2013 at 2:18 PM, sakura kinomoto  wrote:
> how to use nansi.sys to change colour scheme? I find some info in web, but it 
> is hard for newbie
>
> I guess I put string in config.sys: "device=c:\odin\nansi.sys"; what next 
> step I need?

Escape sequences.  ANSI escape sequences all begin with Escape[, with
the following characters specifying the action to be performed.  Nansi
implements a subset of the DEC VT102 terminal control codes.

It differs from Microsoft's ANSI.SYS in being a lot faster, and adding
support for the Add Line and Delete Line instructions.

Once NANSI is loaded, you use the PROMPT to issue the escape
sequences.  For instance, I use something like this:
PROMPT=$e[s$e[H$e[7m$e[K$D $B $P$e[m$e[u$g

It does the following:
$e[s Save the cursor location
$e[HHome the cursor to the top left of the screen
$e[7m  Set inverse video
$e[KClear to end of line
$D   print current date
$B   Print pipe symbol
$P   Print current drive/directory
$e[mEnd attributes
$e[u Restore cursor to stored location
$gPrint > on screen

This creates an inverse video status bar at the top of the screen with
current date and directory, which stays there while the > moves down.
The prompt command redraws the status bar at screen top after each
command entry.

If I want to fiddle with colors, those are settable via ANSI escape
sequences too.  See http://help.fdos.org/en/hhstndrd/base/nansi.htm
for a list of what NANSI supports.
__
Dennis
https://plus.google.com/u/0/105128793974319004519

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread sakura kinomoto
how to use nansi.sys to change colour scheme? I find some info in web, but it 
is hard for newbie

I guess I put string in config.sys: "device=c:\odin\nansi.sys"; what next step 
I need?
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread sakura kinomoto
I can not find neither PRISM nor PC MAG in google :(
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread Felix Miata
On 2013-02-13 12:25 (GMT-0500) dmccunney composed:

> Ray Davison wrote:

>> sakura kinomoto wrote:

>>> Can anybody write customisable software, for "selecting colors " for
>>> dos? for example, yellow-on-blue or white-on-black, or (excellent)
>>> with changeable colour scheme?

>> PRISM from 1990.  Create color profiles.  Call a different profile for each 
>> app.

>> As I recall it cost me nothing at the time; PC Mag I think.  So I can 
>> probably share it.

> Volume 9, Number 21.

> PC Mag itself made access to the files subscriber only, but lots of
> copies are floating around in archives from before that policy change.

> See ftp://ftp.icm.edu.pl/vol/rzm1/coast/msdos/pcmag/vol9n21.zip
> ftp://ftp.pl.pgpi.org/vol/rzm1/coast/msdos/pcmag/vol9n21.zip
> ftp://ftp.pl.scene.org/vol/rzm1/coast/msdos/pcmag/vol9n21.zip

> PRISM.EXE, Pascal source, and a variety of pre-made profiles.

I had the sub and likely got it at release or via PC Mag CD, but probably 
haven't used it since. Instead of in my DOS BIN DIR, I have it specially 
located and call it via PRISM.BAT (to use Melrose) instead.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread dmccunney
On Wed, Feb 13, 2013 at 12:11 PM, Ray Davison  wrote:
> sakura kinomoto wrote:
>>
>> Can anybody write customisable software, for "selecting colors " for
>> dos? for example, yellow-on-blue or white-on-black, or (excellent)
>> with changeable colour scheme?
>
> PRISM from 1990.  Create color profiles.  Call a different profile for
> each app.
>
> As I recall it cost me nothing at the time; PC Mag I think.  So I can
> probably share it.

Volume 9, Number 21.

PC Mag itself made access to the files subscriber only, but lots of
copies are floating around in archives from before that policy change.

See ftp://ftp.icm.edu.pl/vol/rzm1/coast/msdos/pcmag/vol9n21.zip
ftp://ftp.pl.pgpi.org/vol/rzm1/coast/msdos/pcmag/vol9n21.zip
ftp://ftp.pl.scene.org/vol/rzm1/coast/msdos/pcmag/vol9n21.zip

PRISM.EXE, Pascal source, and a variety of pre-made profiles.

> Ray
__
Dennis
https://plus.google.com/u/0/105128793974319004519

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread Ray Davison
sakura kinomoto wrote:
>
> Can anybody write customisable software, for "selecting colors " for
> dos? for example, yellow-on-blue or white-on-black, or (excellent)
> with changeable colour scheme?

PRISM from 1990.  Create color profiles.  Call a different profile for 
each app.

As I recall it cost me nothing at the time; PC Mag I think.  So I can 
probably share it.

Ray

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Change dos "gray-on-black" default colour settings

2013-02-13 Thread Jeffrey
On 02/13/2013 10:45 AM, sakura kinomoto wrote:
> Dos, (and Freedos), by default, have gray text on black background
>
> It is not perfect in some cases (bright light from window, tired eyes, etc...)
>
> (The software "hexed.exe", practically, change color settings from 
> "gray-on-black" to "green-on-black". Practically, only "cls" return custom 
> colours. It is funny feauture, I think)
>
> Can anybody write customisable software, for "selecting colors " for dos? for 
> example, yellow-on-blue or white-on-black, or (excellent) with changeable 
> colour scheme?
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
>
Use ANSI.SYS in Dos, or Nansi in FreeDOS
echo the code at the end of your autoexec.bat

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user