Set the editing mode ("emacs" or "vi") of the ChIPS and Sherpa command line.
Integer_Type varmm_rl_editmode( "emacs" )
Integer_Type varmm_rl_editmode( "vi" )
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.
|