Sun Studio 12: Fortran Programming Guide

5.1.2.1 Screen Output

Normally, output listings produced by -Xlistx are written to a file. To display directly to the screen, use -Xlisto to write the output file to /dev/tty.

Example: Display to terminal:


demo% f95 -Xlisto /dev/tty  any1.f