---
name: "paw-demos"
section: "1"
platform: "linux"
package: "paw-demos"
version: "1:2.14.04.dfsg.2-9.1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/paw-demos"
---

# paw-demos(1)

run PAW demonstrations

## NAME

paw-demos - run PAW demonstrations

## SYNOPSIS

**paw-demos** \[*options*\] \[*example\_num* \[*test\_num*\]\]

## DESCRIPTION

**paw-demos** is a script to run the demonstrations of PAW in the  paw-demos package.  It will create a demo directory (by default *$HOME/paw-demos*), copy the demos from */usr/share/paw-demos* to this directory, and run them.  Both examples and tests are available.

*example\_num* is the number of the example to start with; examples are skipped if *example\_num* \> 31. *test\_num* is the number of the test to start with; tests are skipped if *test\_num* \> 8.  Note that the first example is numbered 1 but the first test is numbered 0.

## OPTIONS

- **--batch**

  Run demos in batch mode; output to PostScript.  The resulting output files are placed into a "linux" subdirectory of the demo directory.

- **--clean**

  Clean the demo directory given by the --dir option (or the default directory if --dir is not given).  This option causes *example\_num*, *test\_num*, --batch, and --driver to be ignored.

- **--dir** *dir*

  Specify the directory in which to run the PAW demos, relative to $HOME. If it does not already exist, it will be created and the demos copied to it from the directory /usr/share/doc/paw-demos/examples.  The default is *$HOME/paw-demos*.

- **--display** *display*

  Specify the display to use.  The default is the current value of the $DISPLAY environment variable.

- **--driver** *driver*

  Specify a graphics driver.  Available options are "X11" for pawX11 and "++" for paw++.

- **--help**

  Show a summary of options.

## FILES

*/usr/share/paw-demos* contains the PAW demonstrations.\
 *$HOME/paw-demos* is the default directory in which to run the demos.

## SEE ALSO

[**paw**(1)](/paw/1.md), [**paw++**(1)](/paw++/1.md)

## AUTHOR

This manual page and the paw-demos script that it describes were written by Kevin McCarty \<kmccarty@debian.org\> for the Debian GNU/Linux system (but may be used by others). The demos themselves were written by various PAW contributors.

## COPYRIGHT

(C) Copyright Kevin McCarty, 2003.
