OT: I Need Help From Windows Experts

Bob Stockler bob at trebor.iglou.com
Tue Jan 24 14:38:12 PST 2006


Thanks to all of you who have tried to help me with this
Windows (Ugh!) problem, but I've given up.  In place of
highlighting the month and date of interest in the 3-month
calendar on Windows I'll place them with square brackets.

I experimented, in a test Perl program, with:

  use Win32::Console;

(that's part of the ActiveState Perl port I have on Windows)
and couldn't get any results with that (it printed numbers
instead of screen control codes).  I tried using the control
codes that work in the 3 UNIX-On-Windows packages I have, and
the ESC was always printed as the cute little left-pointing
arrow, that Ken Bordy first described, followed by the others.

Trying:

  use Win::Console::ASCI;

showed I'd have to download that from CPAM (or somewhere), and
folks (like me) wouldn't be interested in doing that, just to
get this program to work (I'm NOT).

Besides, my Perl conversion of an AWK program (mostly done by
Larry Wall's "a2p" program) could probably be done, in Perl
alone, more efficiently (by a *real* Perl programmer - it will
be up to that person to figure out how to highlight significant
things on the screen).

Finally, on Win64, all of this would have to be done - or be
completely impossible - so I give up (and square brackets it
will have to be).

Thanks for trying to help me do what Microsoft has made to be
very difficult (or impossible).

Bob

Bob Stockler wrote (on Sat, Jan 21, 2006 at 08:26:14PM -0500):

| I'm converting a UNIX AWK program I wrote to display a 3-month
| calendar from any date from 01/01/0001 to 12/31/9999 with the
| target month and date in hightlighed video into Perl (so it can
| be used on Windows as well as UNIX and Linux).
| 
| In UNIX and Linux I can easily get the terminal control codes that
| start and stop reverse video.  In Windows I'm at a complete loss.
| 
| The REAL question:
| 
|   Can anyone reading this give me the codes that, in a Perl
|   program, can be used on Windows to Start-Stop Reverse Video?
| 
| Bob
| 
| PS - This will be a free program, when I get it done (or even
|      before I get it done), for anyone who requests it.
| 
| PSS - Even as it is, it prints Year Calendars from 01/01/0001
|       to 12/31/9999, or Highted Month/Date Month 3-Month ones
|       on UNIX/Linux, or UnHighted ones on Windows.
| 
| PSPS - I've checked my program with a Perpetual Calendar program
|        on the InterNet, and they agree.

-- 
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