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/varmm_rl_editmode.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 varmm_rl_editmode Context: varmmrl

Synopsis

Set the editing mode ("emacs" or "vi") of the ChIPS and Sherpa command line.

Syntax

Integer_Type varmm_rl_editmode( "emacs" )
Integer_Type varmm_rl_editmode( "vi" )

Description

The varmm_rl_editmode() function sets the editing mode of a Varmm-enabled application (currently ChIPS or Sherpa) to use either emacs or vi key bindings. The allowed input values for the input parameter string are "emacs" (the default) and "vi"; any other value will result in "emacs" being used (the comparison is case sensitive). It returns 0 on success, -1 on failure and may be called only once per application, with subsequent attempts returning -1.

Bugs

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

See Also

modules
varmmrl
varmmrl
varmm_rl_blink
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.