DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Customizing your environment

Modifying the shell environment

When using a graphics terminal running X, several shell environment variables must be specifically defined. The variables that must be defined or redefined are DISPLAY, TERM, and PATH.

To define the shell environment variables you will need to work in an X environment, follow these steps:

  1. Edit your .profile file and add the following lines:

    DISPLAY=hostname:0.0
    TERM=xterm
    PATH=$PATH:/usr/bin/X11
    export DISPLAY TERM PATH

    The DISPLAY variable defines the host (hostname), display, and screen to which output will be sent. Most users will have one display and one screen, signified by 0.0 in the variable definition. The PATH variable must be set to include the location of the X executables on your system, usually /usr/bin/X11. The TERM variable defines the terminal type to be ``xterm''.

  2. Save the changes you made to the .profile file.

  3. Re-execute the .profile file:

    . .profile


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004