Text::LineEditor - simple line editor


Text-LineEditor documentation  | view source Contained in the Text-LineEditor distribution.

Index


NAME

Top

Text::LineEditor - simple line editor

SYNOPSIS

Top

   use Text::LineEditor;

   $text = &line_editor();

DESCRIPTION

Top

Text::LineEditor implements a -very- simple editor like Berkley mail used to use.

FUNCTIONS

Top

Returns the text entered. If the text has been abandoned with ~x it returns an empty string.

EDITING COMMANDS

Top

To append text, just type. To end, type '.' by itself on a line. Tilde commands for editing (by themselves on a line): ~h This help message ~e, ~v Edit message using visual editor ~w <filename> Write current text to file <filename> ~p Print current text using 'lpr' ~. End message as normal ~x Quit, abandon text


Text-LineEditor documentation  | view source Contained in the Text-LineEditor distribution.