The Varmm readline module for S-Lang
The Varmm readline module consists of two functions -
and
- 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 , 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:
will give VI keybindings within Varmm-enabled applications.
The module can now be loaded by using the statement, although the previous method (loading with the import command) still works.
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.
|