Installation guide
3
Migrating Your ULTRIX User
Environment to a DIGITAL UNIX System
This chapter describes how to set up your DIGITAL UNIX user
environment so that it is similar to your ULTRIX user environment. This
chapter also describes how to port shell scripts from an ULTRIX system to
a DIGITAL UNIX system.
3.1 Setting Environment Variables
In most cases, you can set environment variables on your DIGITAL UNIX
system the same as you set them on your ULTRIX system. You might need
to set the following environment variables differently on a DIGITAL UNIX
system:
• editmode
• filec
• PATH
• LANG
• LC_COLLATE
• LC_CTYPE
• LC_MESSAGES
• LC_MONETARY
• LC_NUMERIC
• LC_TIME
This section describes how you set these environment variables. Note that
the CSHEDIT environment variable is not supported on the DIGITAL UNIX
system. To enable command-line editing, enter the following command:
% set editmode {emacs|vi}
You can include this command in your .login file to have the editmode
variable set each time you log in or in your .cshrc file to set the variable
in all subshells.
Migrating Your ULTRIX User Environment to a DIGITAL UNIX System 3–1