About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/varmmrl.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 varmmrl Context: modules

Synopsis

The Varmm readline module for S-Lang

Description

The Varmm readline module consists of two functions -

varmm_rl_editmode()

and

varmm_rl_blink()

- which control the behavior of the ChIPS and Sherpa command lines. These functions have separate ahelp entries.

The module is automatically loaded by Varmm, so is automatically available from ChIPS and Sherpa. It is also loadable as a slang module, via

require("varmmrl")

, if required. The functions can be called from your $HOME/.varmmrc file in order to customise the behaviour of ChIPS and Sherpa (see "ahelp varmm"). For example:

  varmm_rl_editmode("vi");

will give VI keybindings within Varmm-enabled applications.

CHANGES IN CIAO 3.2

The module can now be loaded by using the

require("varmmrl");

statement, although the previous method (loading with the import command) still works.

CHANGES IN CIAO 3.0

The module now installs a control-c handler, unless one is already present or the application is explicitly ignoring control-c events. This handler prevents terminal lockup caused by a control-c occuring during interactive prompting within a S-Lang script.

Bugs

See the bugs page for the Varmmrl library on the CIAO website for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.