Open System Services Programmer's Guide

Editor
TEDIT is a full-screen text editor. For information about TEDIT features and commands, see the PS
Text Edit and PS Text Format User’s Guide.
File-Type Conversion Tools
TEDIT creates type 101 files. Files in the /G directory created with an OSS editor such as vi have
a type of 180. If you have a type 180 file you want to edit with TEDIT, use the conversion tool
CTOEDIT to convert the type 180 file to a type 101 file, as shown in Example 11.
Example 11 Convert Type 180 File to Type 101 File
> CTOEDIT ossfile, editfile
To convert a type 101 file to a type 180 file, use the EDITTOC conversion tool, as shown in
Example 12.
Example 12 Convert Type 101 File to Type 180 File
> EDITTOC editfile, ossfile
Note that files of type 180 do not have a concept of line numbers. Converting from file type 101
to 180 and back to 101 results in the loss of line number information.
Compilation Tools
There are two sets of native compilation tools and one set of TNS compilation tools:
The TNS/R native compilation tools are the the TNS/R native C and C++ compilers, the ld
and nld utilities (linkers), and the noft utility for examining attributes of TNS/R native object
files. Control over code optimization is built into the compilers
The TNS/E native compilation tools are the TNS/E native C and C++ compilers, the eld
utility (linker), and the enoft utility for examining attributes of TNS/E native object files.
Control over code optimization is built into the compilers.
The TNS compilation tools are the TNS C compiler, Binder (linker), and Accelerator (optimizer
on systems running G-series RVUs) or Object Code Accelerator (optimizer on systems running
H-series RVUs). On systems running G-series RVUs, the TNS compilation tools are supported
in the OSS and Guardian environments. On systems running H-series RVUs, the TNS compilation
tools are supported only in the Guardian environment.
For more information about the Guardian compilation tools, see the following manuals:
C/C++ Programmer’s Guide
ld Manual
nld Manual
eld Manual
noft Manual
enoft Manual
Binder Manual
Accelerator Manual
Object Code Accelerator (OCA) Manual
50 Overview of the OSS Programming Environment