Discussion Overview
The discussion centers around how to replace text on the screen in Fortran 90, particularly in the context of producing dynamic output such as progress indicators. Participants explore methods from earlier Fortran versions and seek solutions for achieving similar functionality in Fortran 90.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
Main Points Raised
- Andy mentions using the FORMAT statement in earlier Fortran versions to replace text on the screen and seeks a similar method in Fortran 90.
- Some participants inquire about the original procedure used in previous versions of Fortran.
- One participant suggests that the '+' character in the FORMAT statement was used for printer control and may not function as intended on screens.
- Another participant introduces the concept of non-advancing I/O in Fortran 90, suggesting it could be used to display text without moving to the next line.
- There is a discussion about using the T-descriptor for cursor movement, with some participants attempting to implement it but finding it does not overwrite existing text.
- Multiple participants confirm that the T-descriptor does not allow for overwriting text, only advancing the cursor position.
- One participant suggests that system calls may be necessary for the desired functionality, noting that this could be platform dependent.
- There is a mention of using C libraries as a potential workaround for achieving the desired output behavior.
Areas of Agreement / Disagreement
Participants do not reach a consensus on a solution. There are multiple competing views regarding the capabilities of Fortran 90's I/O functions and the effectiveness of various formatting options.
Contextual Notes
Participants express uncertainty about the limitations of the T-descriptor and non-advancing I/O, noting that these methods do not achieve the intended result of overwriting text on the screen. The discussion also highlights the potential need for platform-specific solutions.