A/UX 3.0.1: cat Displaying Files Incorrectly (3/94)

When I use "cat" in the A/UX CommandShell, it is not displaying the file correctly. The lines are bunched up with one line on top of the other.

A/UX 3.0.1 has new variable called "TBTRANSLATEUXONLY" that is set in the shell scripts /mac/bin/mac32 and /mac/bin/mac24. Use the Text Editor to comment this out, and the cat function will return to A/UX 3.0 behavior.

The TBTRANSLATEUXONLY variable affects how carriage returns (CR) and line feeds (LF) are stored in the system. A/UX╩3.0 converts carriage returns to line feeds, and then tries to translate the line feeds back to carriage returns when the file is reopened. A/UX╩3.0.1 avoids possible complications that this may cause and allows you to set this variable. If this variable is assigned any value in your environment, carriage returns are translated to line feeds upon a file save of UNIX text files. (Files created in the CommandShell as well as by TextEditor are considered UNIX text files.)

Support Information Services

Published Date: Feb 19, 2012