---
name: "xpat"
section: "1"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/xpat"
---

# xpat(1)

graphic pattern viewer

## NAME

xpat - graphic pattern viewer

## SYNOPSIS

**xpat** \[-l file\_name\] \[-xor\] \[-install\] \[-force\]\

## DESCRIPTION

**Xpat** is a pattern viewer. All functionnalities can be accessed through different menus. **Xpat** works under Motif and X11r6. When entering  **Xpat,** the main window appears and shows 5 different menus on the top bar. These menus can be entered by simply clicking on the mouse left button. Here is the description of these menus.

- **File**

  ***Open*** : load an existing pattern file (see [pat(5)](/pat/5.md)).\
   ***Quit*** : quit xpat.

- **Edit**

  ***Identify*** : identify a selected pattern.\
   ***Connected*** : highlight a selected pattern.\
   ***Search*** : search a pattern.

- **View**

  ***Zoom*** : perform zoom in, zoom out, center, fit, refresh on figure.\
   ***Layer*** : select types of layers displayed.\
   ***Map*** : show cursor position in the entire figure.\
   ***Arrows*** : show arrows for moving at the grid step.\
   ***Grid*** : Set the X,Y step of the grid if displayed.

- **Tools**

  ***Message*** : display the last error messages

- **Setup**

  Save or load a user defined configuration of default displayed menus.

## SPECIAL KEYS

- \+/-

  Increase or decrease the time scale.

## OPTIONS

- \-l file\_name

  Load the pattern file file\_name (without extention .pat)

- \-xor

  Two graphic cursor methods can be used, invert or xor.

- \-force

  this option force all graphical objects to be displayed.

- \-install

  Switch to a private color map.

## ENVIRONMENT VARIABLES

- **MBK\_WORK\_LIB**

  indicates the path to the read directory for the session.

- **XPAT\_PARAM\_NAME (optionnal)**

  indicates the path to the parameter file used by Xpat.

- mbk(1), [MBK\_WORK\_LIB(1)](/MBK_WORK_LIB/1.md), PAT(5), [asimut(1)](/asimut/1.md)

  ## SEE ALSO
