Advanced Rendering Toolkit
Customizing your Environment

A few tips and tricks that make it easier to work with ART.


Customizing ZSH

If you are using the zsh, you can put the following two lines into your .zshrc file. This will enable intelligent commandline completion for the art and artist scripts. (The backslash indicates line continuation.)
	
	    compctl -g '*(-/)' + -g '*.arm' + -g '*.art' \
		    -x 'c[-1,-rnd][-1,-cam]' -g '*.arm' -g '*.art' -- artist
	    compctl -g '*(-/)' + -g '*.arm' art
	

Setting an Image Viewer...

In order to automatically call a viewer to see the result after each call to artist, you can define the environment variable ART_VIEWER so that it contains the commandline for the viewer you want to use.

...under NeXTSTEP

The most convenient setting for ART_VIEWER in this Environment is open, since then the resulting image files will be opened with whatever application is set as a default for the image file type.

...in an X-Windows Environment

Here you can use xview. In order to launch Xview in the background, you can set ART_VIEWER to $ART_DIR/bin/xv.stub.


ART / Documentation / Customizing the Environment

This page is maintained by Robert F Tobler. It was last updated on January 26, 1999.
If you have any comments, please send a message to rft@cg.tuwien.ac.at.