Source Compatibility Guide

Preface

The SunOSTM 5.x operating system is based on AT&T's System V Release 4.0 (SVR4) and differs considerably from previous releases of the SunOS operating system. These differences can be confusing and may require a period of adjustment. To ease this transition, the SunOS/BSD Source Compatibility Package is provided. This package contains many of the commands, library routines, and files you are familiar with from the SunOS environment.

Scope of this Manual

In the context of this guide, SunOS 4.1 is a universal term that includes these releases:

A complete discussion of general compatibility issues can be found in Solaris Transition Guide. This guide provides a comparative listing of SunOS 4.1 interfaces and their SunOS 5.2 counterparts.

How This Book Is Organized

This guide is provided to document the contents of this package, its usage, and how to install it.

Chapter 1, Introducing the Source Compatibility Package provides an overview of the package and explains the mechanics of using it.

Chapter 2, Compatibility Package Features provides detailed descriptions of each interface provided in this package. In some cases, a brief tutorial is also provided.


Note -

References to literal computer input (commands you enter) are shown in a bold, monospace font, and computer output (screen messages produced by the system) are shown in a monospace font, as in the following example:


$ ls -l report 
-rw-r--r-- 1 rainbow doc 3239 July 19 11:21 report 

Substitutable text elements (that is, text elements that you are expected to replace with specific values) are shown in an italic font, as in the following example:

$ cat filename

The italic font is a signal that you are expected to replace the word filename with the name of a file.

Instructions to the reader to type input usually do not include explicit instructions to press the RETURN key at the appropriate times (such as after entering a command or a menu choice) because this instruction is implied for all system commands and menus.

However, an instruction to press the RETURN key is explicitly provided during an interactive routine, when you are expected to press RETURN without having typed any text. An instruction to do so will be provided, as follows:

Type any key to continue: RETURN
$ 

Control characters are shown by the string CTRL-char where char is any character. To enter a control character, hold down the CTRL key and press the letter shown. Be sure to type the letter exactly as specified: when a lowercase letter is shown (such as the ``d'' in the example above), enter that lowercase letter. If a character is shown in uppercase (such as "CTRL-D") you should enter an uppercase letter.

The system prompt signs shown in examples of interactive sessions are the standard default prompt signs for the system under the following conditions:

Ordering Sun Documents

Fatbrain.com, an Internet professional bookstore, stocks select product documentation from Sun Microsystems, Inc.

For a list of documents and how to order them, visit the Sun Documentation Center on Fatbrain.com at http://www1.fatbrain.com/documentation/sun.

Accessing Sun Documentation Online

The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. The URL is http://docs.sun.com.

What Typographic Conventions Mean

The following table describes the typographic changes used in this book.

Table P-1 Typographic Conventions

Typeface or Symbol 

Meaning 

Example 

AaBbCc123

 The names of commands, files, and directories; on-screen computer output

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123

 What you type, contrasted with on-screen computer outputmachine_name% su Password:

AaBbCc123

 Command-line placeholder: replace with a real name or value

To delete a file, type rm filename.

AaBbCc123

Book titles, new words, or terms, or words to be emphasized. 

Read Chapter 6 in User's Guide.

These are called class options.

You must be root to do this.

Shell Prompts in Command Examples

The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.

Table P-2 Shell Prompts

Shell 

Prompt 

 C shell promptmachine_name%
 C shell superuser promptmachine_name#
 Bourne shell and Korn shell prompt$
 Bourne shell and Korn shell superuser prompt#