carta
mkiraf(1)

mkiraf1

Setup the iraf environment for a user

Usage

mkiraf [{-d | --default}] [{-i | --init}] [{-n | --noinit}] [{-c | --copy}] [{-q | --quiet}]

Overview

Creates the parameter directory, image directory and cache directory for the use with IRAF CL, and optionally create a local copy of the IRAF CL startup file login.cl.

Within IRAF CL, these directory have the names uparm$, imdir$, and cache$.

Without the -d|--default flag, the parameter directory uparm is created in the local directory, triggering a parameter storage locally. If no local parameter directory exists, a general user specific parameter storage in ${HOME}/.iraf/uparm is used. The image directory imdir and the cache directory cache are always created in ${HOME}/.iraf/.

Options

-d, --default

Create the upar file in the user specific directory ${HOME}/.iraf instead of the local directory.

-i, --init

Initialize an empty uparm directory, removing old parameter settings. If neither the -i|--init nor the -n|--noinit is given, the command asks whether the upar directory should be initialized.

-n, --noinit

Do not nitialize the uparm directory if it exists, keeping old parameter settings. If neither the -i|--init nor the -n|--noinit is given, the command asks whether the upar directory should be initialized.

-c, --copy

Create a copy of the login.cl file in the local directory, or (if the -d|--default flag was given), in the directory ${HOME}/.iraf. These copies are only needed if local changes shall be applied.

-q, --quiet

Suppress output messages

History

  • Debian 13 (Trixie): the text shown here
  • Debian 3.0 (Woody)
  • Debian 2.2 (Potato)
  • Debian 2.1 (Slink) to Debian 2.0 (Hamm)

--copy since Debian 13 (Trixie); --default since Debian 13 (Trixie); --init since Debian 13 (Trixie); --noinit since Debian 13 (Trixie); --quiet since Debian 13 (Trixie); -c since Debian 13 (Trixie); -d since Debian 13 (Trixie); -i since Debian 13 (Trixie); -n since Debian 13 (Trixie); -q since Debian 13 (Trixie).

Bugs

IRAF should use XDG conform user directories in ${HOME}/.cache, ${HOME}/.local and ${HOME}/.config.

Author

Created by Ole Streicher for the IRAF community

From iraf 2.18.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.