mterm: command editing and terminal input/output for Midas Plus

Usage:

mterm [vi | emacs] [file.pdb ...]

Description:

mterm allows terminal input/output for the graphical version of Midas Plus; as opposed to midas.tty, which has no graphics. This means that it is possible to paste text that was highlighted in another window and also to do I/O redirection (see the examples). It is also possible to edit commands that you enter, as well as previously executed commands, using the same keystrokes as are found in the vi and emacs editors.

mterm works well with mksup, mk1sup and calcrms; also see the superposition how-to for how they all fit together.

Note: Midas has the emacs editing keys built into it.

Note: mterm with I/O redirection is sometimes required when midas.tty causes segmentation violations.

Examples:

mterm today*.pdb < rmsd.mac > file.rms loads the family of structures in the files today*.pdb, and runs the commands found in rmsd.mac while sending the output to file.rms. This is especially useful if rmsd.mac was generated by mksup or mk1sup.

mterm today*.pdb > file.rms loads the family of structures in the files today*.pdb, allows you to type commands, and sends the output to file.rms. If the only commands entered are read file.rms followed by quit, the result is essentially the same as in the first example.