OT: I Need Help From Windows Experts
Bob Stockler
bob at trebor.iglou.com
Sun Jan 22 18:32:29 PST 2006
Mark Luljak wrote (on Sun, Jan 22, 2006 at 04:33:30PM -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?
I appreciate all the responses, but I need a way to highlight
a string that doesn't require the Windows user to jump through
a lot of hoops to be able to do so.
Ken's suggestion led me to go into the KornShell that's part of
the UWIN UNIX-On-Windows project David Korn heads. In it I could
do "so=`tput smso`" and "se=`tput smse`". Then, there, I could use
$so and $se to start and end highlighted strings.
I echoed $so and $se into files, where the ESC was just a \E, and
that was no use to another UNIX version I have installed. On it,
replacing the \E with \033 left me with the little left arrow Ken
described, followed by the other characters he mentioned.
There's got to be a way to do it.
Thanks for the help from all . . . I'll keep searching.
Bob
--
Bob Stockler +-+ bob at trebor.iglou.com +-+ http://members.iglou.com/trebor
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).
More information about the Filepro-list
mailing list