Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: dpb <none@xxxxxxx>
- Date: Wed, 20 Jun 2007 17:03:59 -0500
les.denning@xxxxxxxxxxxxx wrote:
I am a well meaning amateur at this and a rusty one at that. Having....
written the original source code a decade or more ago, not as a
computer programmer I hasten to add just an engineer who needed to do
some sums, when you wrote:
"Try whatever is the F77 extension name for passing a command to the shell.I was at a loss and the code below is the best way I have to explain
my dilemma.
the WRITE statement not a command.From my simple point of view the ANSI escape sequence was passed with
Yes, but there's a difference between ANSI.SYS and the present COLOR command. ANSI.SYS was a TSR that stayed in the background and "trapped" screen writes and looked at what was written to see if it was a command for it to do something. If so, it did its thing; if not it just passed the character(s) on to the next step in the process of writing an actual character to the display.
COLOR, otoh is a shell command at the user command line so when you write to standard output, it never "sees" the character string and so has no opportunity to do anything.
With this technique you could present each line of screen output with
a different colour regime should you so wish and still can with the
source code compiled to a 16 bit executable. For a reason I am
beginning to question I thought moving to a 32 bit executable would be
better and in some respects it is. Scroll bars without resorting to
SCROLLit.exe for one thing.
Everything has its price! :( I don't know the technical details of why there isn't ANSI.SYS support for 32-bit, only that for some reason there isn't. I'm sure others can probably address that...
I also am not sure whether my other suggestion of looking at the JPSoft Take Command or 4NT would be of use or not, but there are downloadable trial versions or I'm sure Rex would be glad to answer a specific question if you can't find it on one of their FAQ's...
I bet you are not used to coping with an old duffer like me!....
Oh, I suspect I'm probably as old a duffer as you and you'll be surprised if you hang around how many of us are... :)
--
.
- References:
- Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: les . denning
- Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: Kevin G. Rhoads
- Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: les . denning
- Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: dpb
- Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: les . denning
- Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: les . denning
- Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: dpb
- Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- From: les . denning
- Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- Prev by Date: Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- Next by Date: Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- Previous by thread: Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- Next by thread: Re: Compiled with MS FORTRAN 5 my Program executes in colour but not with g95
- Index(es):
Relevant Pages
|
|