[net.lang.f77] Carriage controls

pmontgom@sdcrdcf.UUCP (Peter Montgomery) (02/06/84)

How does one tell UNIX to respect FORTRAN carriage controls,
such as a 1 in column 1? When I use the commands

		f77 prog.f
		a.out > out
		print out

the carriage controls print as part of the listing.  I can circumvent this
by using CHAR(14) as my page eject character.  We have 4.1 BSD.
-- 
			Peter Montgomery

	{bli,blix,bmcg,burdvax,cbosgd,csun,hplabs,hughes,ihnp4,ihnss,
	 netvax,orstcs,parallax,randvax,sdccsu3,sdcnet,sdcsvax,slant45,
	 trw-unix,ucla-s,ucla-vax}!sdcrdcf!pmontgom

guy@rlgvax.UUCP (Guy Harris) (02/06/84)

If you have a System V license, you can rip off the "asa(1)" program,
which reads standard input, treats the first character of each line
as an "ASA FORTRAN" carriage control character, and writes to the
standard output.  If no, you can probably whip your own up in 1/2 day...

I suspect, since Bell wrote the "asa" utility, that there's no way to
get F77 to directly output the ASCII control characters.

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy