---
name: "config-edit-approx"
section: "1p"
platform: "linux"
package: "libconfig-model-approx-perl"
version: "1.003-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/config-edit-approx"
---

# config-edit-approx(1p)

Edit data of /etc/approx/approx.conf

## NAME

config-edit-approx - Edit data of /etc/approx/approx.conf

## SYNOPSIS

```
  # most users will want to run
  config-edit-approx [options] [ commands  ... ]
  # if you don't have a X server
  config-edit-approx -ui curses [options] [ commands  ... ]
  # if you don't like curses
  config-edit-approx -ui shell [options] [ commands  ... ]
  # if you are a sys admin
  config-edit-approx -ui none [options]  commands  ...
```

## DESCRIPTION

This program will edit the configuration data contained in */etc/approx/approx.conf* (as root).

You can specify commands as arguments that will be run on the configuration root before launching the UI. These command follow the syntax defined in Config::Model::Loader.

## Options

- \-ui

  Specify the user interface type.

  - •

    `"tk"`: provides a Tk graphical interface (If Config::Model::TkUI is installed).

  - •

    `"curses"`: provides a curses user interface (If Config::Model::CursesUI is installed).

  - •

    `"shell"`: provides a shell like interface.  See Config::Model::TermUI for details.

  - •

    `"none"`: No UI provided. Only command line arguments are handled.

- \-verbose

  Be (very) verbose

- \-debug

  Provide debug infos.

- \-trace

  Provides a full stack trace when exiting on error.

- \-force-load

  Load file even if error are found in data. Bad data are discarded

## BUGS

Original structure and comments of */etc/approx/approx.conf* are lost. There's currently no Augeas lens for approx config data.

## SUPPORT

For support, please check the following ressources:

- •

  The config-model wiki: \<http://config-model.wiki.sourceforge.net/\>

- •

  The config-model users mailing list: \<http://lists.sourceforge.net/mailman/listinfo/config-model-users\>

## AUTHOR

Dominique Dumont, ddumont at cpan dot org

## SEE ALSO

config-edit, Config::Model
