Title | Previous | Next

setenv

Set an environmental variable from within MeshTV.

Synopsis:

setenv name command

Arguments:

name

The name of the variable you're setting. The most useful one from MeshTV's point of view would be MESHTVHOME, since this variable needs to be set for MeshTV to find certain information, like the release notes.

command

Anything the UNIX TM command can take as the argument for the setenv comand. If you're setting MESHTVHOME, for example, command would be a path, like /usr/local/apps/meshtv/.

Description:

The setenv command allows you to define an environmental variable, just like the setenv command in UNIX TM does. This is particularly helpful if you run MeshTV and discover that MESHTVHOME was never set. You can set it without having to exit MeshTV first. Note that if command has special characters or spaces, then the entire string must be quoted.

Use this command if you want to set an environmental variable from within MeshTV.

Examples:

setenv MESHTVHOME "/usr/local/apps/meshtv/"

See Also:

sh


Title | Previous | Next

MeshTV@viper.llnl.gov
Copyright © 1998, U.S. Department of Energy. All rights reserved.