Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Telnet ansi implementation

Deleted_U_Intel
Employee
2,194 Views
I am trying to implement 1000 programs which ran on rs6000 as telnet.
When compiled with intel or cvf then control sequences for ansi come to the screen and have no effect. If I compile programs with 16bit they work properly. Cant use 16bit on all because of size of programs several 1000s line and large memory.
Is there a console control capability ,ie clearscreen place data in certain spot etc. Have gotten to work some with dgansi but breaks down after 50 screen interactions.
thanks
bob
Is there any console positioning control with win32 . There seems to be none in the fortran implementation that will work with console.

Message Edited by [email protected] on 02-16-2004 08:09 AM

0 Kudos
9 Replies
jeff_ryman
Beginner
2,194 Views
A former colleague of mine has successfully used ANSI control sequences under Windows 2000 after loading ANSI.SYS in CONFIG.NT. This also worked under NT, but I don't know if it works under XP. HTH
0 Kudos
Steven_L_Intel1
Employee
2,194 Views
ansi.sys is not supported on NT/2000/XP for 32-bit executables.
0 Kudos
jeff_ryman
Beginner
2,194 Views
The program using ANSI.SYS is a 32-bit console app compiled with Open Watcom. I am told (no personal knowledge) it was compiled with CVF 6.x at one time.
0 Kudos
Steven_L_Intel1
Employee
2,194 Views
Jeff,
If you're on Windows 95/98/Me, then ANSI.SYS works for all applications. On NT/2000/XP, it is 16-bit apps only. I've never seen it proven otherwise. I suspect your Watcom app is really 16-bit.
0 Kudos
jeff_ryman
Beginner
2,194 Views
Thanks for the explanation. I am no longer involved with the work from a previous employer, and now have hearsay information only. When the product comes out, I am supposed to receive a complimentary copy (including source), so I may be able to test it at that time. However, like many applications, it keeps being delayed. If I ever have first-hand information, I will post it.
0 Kudos
jeff_ryman
Beginner
2,194 Views
Steve, I recently spoke with my former colleague, who insists he is using a 32-bin windows console app with ansi.sys on Win 2K. I am attempting to get an example to try and to send you if you wish.
0 Kudos
Steven_L_Intel1
Employee
2,194 Views
Sure. Note that Intel strips EXE files out of attachments, even in ZIP files. If you send an EXE, rename it to .TEXE or some such first.
0 Kudos
cecio
Novice
2,194 Views

i have created a ansi-like emulation (using screenio.lib and screenio.f90 in a fortran console application project.

But idon't remember where i downloaded them.

Cecio

0 Kudos
Steven_L_Intel1
Employee
2,194 Views
You downloaded them from here.
0 Kudos
Reply