Bug with printf in IDL 4.0.1 under Unix [message #7502] |
Tue, 26 November 1996 00:00  |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
Has anyone run into this problem before? The following lines produce the
expected output in IDL 3.6:
IDL> openw,screen,filepath(/terminal),/get
IDL> for i=0,9 do printf,screen,i
0
1
2
3
4
5
6
7
8
9
But in IDL 4.0.1 in Digital Unix (OSF) the same lines produce
IDL> openw,screen,filepath(/terminal),/get
IDL> for i=0,9 do printf,screen,i
0
1
2
3
4
5
6
7
8
9
IDL>
(This is not seen in VMS.) However, if I add the keyword /MORE to the open
statement, then the problem goes away.
Bill
|
|
|
Re: Bug with printf in IDL 4.0.1 under Unix [message #7645 is a reply to message #7502] |
Wed, 27 November 1996 00:00  |
Arno F. Granados
Messages: 8 Registered: August 1996
|
Junior Member |
|
|
William Thompson wrote:
>
> Has anyone run into this problem before? The following lines produce the
> expected output in IDL 3.6:
>
> IDL> openw,screen,filepath(/terminal),/get
> IDL> for i=0,9 do printf,screen,i
> 0
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
>
> IDL>
>
> (This is not seen in VMS.) However, if I add the keyword /MORE to the open
> statement, then the problem goes away.
FWIW, I get the same behavior as above (including the fix with /more) on
Solaris 2.4 with IDL 4.0.1
Arno
|
|
|