Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ asa(1) — OSF/1 3.0 αXP

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lp(1)

asa(1)  —  Commands

NAME

asa − Interpret carriage-control characters

SYNOPSIS

asa [file ...]

FLAGS

None

DESCRIPTION

The asa command writes its input files to standard output, mapping carriage-control characters from the text files to line-printer control sequences. 

The first character of every input line is removed and, depending on the character removed, an action performed on that character and the rest of the line.  If the character removed is:

spaceThe rest of the line is output without change. 

0A newline character is output, followed by the rest of the input line. 

1A form-feed character is output, followed by the rest of the input line. 

+The newline character of the previous line is replaced with a carriage-return character, which is output, followed by the rest of the input line. If + is the first character in the input, + has the same effect as the space character. 

otherThe character is output, followed by the rest of the input line. 

EXAMPLES

     1.To view a file (created by a program using FORTRAN-style carriage control characters) on a terminal:

asa file

     2.To format the FORTRAN output of a.out and direct it to the printer:

a.out | asa | lp

RELATED INFORMATION

Commands:  lp(1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026