Alvaro Fernandez writes:
> I suspect this has been covered before, but I am not sure.
Well, there is a thread relating to it right now on comp.lang.fortran.
At first, I thought perhaps you had posted the same question both
places, but I see that was from someone else. :-)
Yes, it is a common question.
Short answer - No. You can't do that.
Longer (but still abbreviated) answwer - Well, yes, you can manage it,
but it isn't standard or portable.
The Fortran standard doesn't say anything about terminal screens at
all. This is a very hardware-specific matter. If you know the
right low-level commands to send to your terminal (or terminal
emulator), then you can send those. Use non-advancing I/O to
avoid also sending extra stuff.
With many terminals, you may be able to get the effect by
sending a carriage return (achar(13)). With others, you can
use ANSI VT100 cursor positioning escape sequences.
Some compilers will interpret carriage control for terminal
output, but this is not required by the standard (the standard
leaves it up to the compiler whether or not to apply carriage
control to any particular unit), and most compilers don't.
> <html....
I think it better to stick to text in mailing lists.
--
Richard Maine | Good judgment comes from experience;
[log in to unmask] | experience comes from bad judgment.
| -- Mark Twain
|