beautypg.com

To test your environment variable, Using aliases – Apple Shake 4 User Manual

Page 399

background image

Chapter 14

Customizing Shake

399

Cineon frames are written in the slower top-down method for compatibility with other,
less protocol-observant, software.

NR_FONT_PATH: Points to a directory where you want Shake to scan for additional
fonts used by the Text/AddText functions. In Mac OS X, fonts are stored in
/Library/Fonts and $HOME/Library/Fonts. On Linux systems, fonts are
typically stored in /usr/lib/DPS/AFM.

NR_ICON_PATH: Points to a directory where you can save your own icons for Shake
functions. Typically, this would be an nreal/include/startup directory that you create.

NR_INCLUDE_PATH: Points to the directory or directories that you want Shake to scan
for macros and personal machine or Shake interface settings. These directories
should have startup/ui as subdirectories. For example:

setenv NR_INCLUDE_PATH /shots/show1/shake_settings

should have /shots/show1/shake_settings/include/startup/ui

NR_SHAKE_LOCATION: Points Shake to a nonstandard installation area. Default
installation is /usr/nreal/.

NR_TIFF_TOPDOWN: This is identical for NR_CINEON_TOPDOWN, except it applies to
TIFF files.

TMPDIR: Points to the directory you want to use as your temporary disk space
directory.

NR_GLINFO: Information is printed for Flipbooks.

Using Aliases

An alias is a pseudonym or shorthand for a command or series of commands, for
example, a convenient macro for a frequently used command or a series of commands.
You can define as many aliases as you want (or, as many as you can remember) in a
.tcshrc file.

To see a current list of aliases, type the following in a shell:

alias

To start Shake from the Terminal window:

Alias shake /Applications/Shake4/shake.app/Contents/MacOS/shake

To determine how many users are currently working on the system:

Alias census ’who | wc -l’

To Test Your Environment Variable

There is a simple way to test if your environment variable exists. In Terminal, type
“echo,” followed by the environment variable, for example:

echo $myproj

and the proper value should be returned.