Hi,
I got a lot of answers and many thanks. The general opinion is to use
unix 'system' call (Ex: call system('stty columns 80')). When the user
went
through the migration manual(VMS to UNIX) he found that the equivalent
statement for LIB$SPAWN is fork or vfork.
According to the user he can not remove this statement since this program
is not developed by him and is part of an international project.According
to him this statement is used 3 more times in the program to make the
screen width to 132 columns and again to 80 columns.
I have suggested him to use call system and awaiting for his comment.
Thanks in advance
Kumar
-----Original Message-----
From: Padiyath Kumar [mailto:Kumar.Padiyath_at_psi.ch]
Sent: Sonntag, 7. Januar 2001 16:28
To: tru64-unix-managers_at_ornl.gov
Subject: Fortran Question
One of the user having the following statement in his Fortran program.
This program was running on a VMS machine which we donot have it any
more . How can he run this program on Tru64 with Fortran compiler?
(f90 ). Please give an example if possible.
The statement is:
CALL LIB$SPAWN ('SET TERMINAL/WIDTH=80')
with regards,
Kumar
Received on Mon Jan 08 2001 - 20:57:30 NZDT