OT: I Need Help From Windows Experts

Kenneth Brody kenbrody at bestweb.net
Sun Jan 22 19:53:14 PST 2006


Quoting Fairlight (Sun, 22 Jan 2006 16:33:30 -0500):

> In the relative spacial/temporal region of
> Sun, Jan 22, 2006 at 04:14:32PM -0500, Kenneth Brody achieved the
> spontaneous
> generation of the following:
> >
> > On Win95/98/Me, _if_ ansi.sys is loaded, you could probably use
> > "ESC [ 7 m" and "ESC [ 0 m" for reverse on and off, respectively.
> >
> > However, under NT (NT/2000/XP/2003), I don't know if there is any
> > such sequence.  A quick test with "PROMPT=$E[7m$P$G$E[0m" causes
> > the ESC to be rendered as a little left arrow, and not interpreted.
> > Ditto for an "echo '\033[7m'" from my ksh for Windows.
>
> There must be -some- way to do it.  How do they highlight the currently
> selected option at the F8 boot selection screen?  No ansi.sys is loaded
> at that point, so how are they doing it there?

The boot menu is probably done either by writing directly to video memory,
or by using the BIOS, neither of which is an option once Windows starts.
Windows NT-class systems (NT/2000/XP/2003) don't appear to support any
ansi.sys equivalent in their console windows.  While you can call the
Windows console API to set things like the current attribute, there is
not escape sequence you can send to stdout to trigger it.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list