Term-ReadLine-Perl5
view release on metacpan or search on metacpan
F_BeginEditGroup; F_EndEditGroup; bound to XTerm mouse editing
- Support ~/ in INPUTRC name and $include;
- $ENV{TRP_INPUTRC} overrides $ENV{INPUTRC}.
- New functions:
F_DoMetaVersion; F_DoControlVersion;
These are bound as in Emacs: C-x Esc m and C-x Esc c.
1.03 2006-04-09
- Support for numeric arguments missed setting $lastcommand.
- MinLine would not return the old value etc.
- On MSWin32 without ReadKey, but with cygwin stty.exe:
do binmode (since Enter sends \r in these settings)
(XXXX we don't undo binmode; is it needed?)
(Only Control-Key work; do "Control-[ key" for Meta)
- When optimizing "cursor" movement, take into account ornaments.
- Optimize "cursor" movement even if we redraw the line.
Would display the string twice, even if cursor was at the end of
the line.
Add key binding for Control-Movement keys in xterm; and some OSX xterm.
Do not prefer HPUX xterm bindings to "normal" XTerm bindings.
New functions F_BeginUndoGroup F_EndUndoGroup F_DoNothing
F_MemorizeDigitArgument F_ForceMemorizeDigitArgument
F_UnmemorizeDigitArgument F_ResetDigitArgument
F_MergeInserts F_MemorizePos
(for better mouse support; untested)
Undo list merges together states where the only change is position
1.0208 2006-03-14
- Allow 2-arg form for test.pl
- Open CONIN$ on Win (if asked for CON), and open RW (bug in Win devdriver).
- Allow non-first Digit-Arguments to be escaped too.
- Allow Alt-char translation to \M-char on DOSISH.
- Apparently, self-loaded empty subroutines crash 5.8.2; 5.8.7 OK.
Work-around: put "1;" into non-implemented stuff.
1.0207 2006-03-03
- If mark was active, redraw could be performed after Enter.
- Untested Win32 support for cut&paste.
- Alias $var_DeleteSelection for $rl_delete_selection (thus accessible
via .inputrc).
1.0206 2006-03-03
- Shift-Ins, Control-Ins, Shift-Del operate on clipboard (if available)
(currently native on OS/2 only, otherwise uses commands
$ENV{RL_PASTE_CMD}, $ENV{RL_CLCOPY_CMD}, or file
$ENV{HOME}/.rl_cutandpaste).
- In absense of mark, CopyRegionAsKillClipboard operates on the whole line.
- Completely ignore unknown variables in .inputrc.
- Moving cursor should remove the highlight of initial string too.
- Change some local() to my().
- Region between point and mark is highlighted.
Commands SelfInsert, Yank*, *DeleteChar remove this region
if $rl_delete_selection is TRUE (the default).
(Set mark again to insert without removing.)
1.0205 2006-03-02
- Do not touch $ENV{HOME} unless defined.
- $ENV{AUTOMATED_TESTING} to skip interactive tests.
1.0204 2006-03-02
- Applied patches from Gurusamy and Slaven for vi mode:
* Logic to move insertion point one char back was wrong;
Disable (YES!) choice of vi-mode based on $ENV{EDITOR}.
Just in case: generate proper warning if an old $ket-bug resurrects.
* If readkey() returns undef, behave as on EOF.
New option --no-print to test.pl.
Try to move prompt to the next line if something is already on the
current line (controlled by $rl_scroll_nextline,
$rl_last_pos_can_backspace);
Wrong setting of $rl_last_pos_can_backspace will result:
a) 1 and wrong: empty line before the prompt;
b) 0 and wrong: if the line contains 1 char only,
(and no NL), the prompt will overwrite it;
test with `perl -Mblib test.pl --no-print',
type `print 1'.
[This is not the same as termcap/am!].
New variable $readline::rl_default_selected; if true, default string
is removed if the first keystroke is self-insert or BackSpace;
test.pl modified to test this too;
uses mr,me capabilities to highlight the default string.
New command: SaveLine (on M-#).
New command: PrintHistory (on M-h),
PreviousHistory and NextHistory take count.
The edited line is saved when one moves to history.
1.0203 2002-05-24
- Unconditional titlecasing of .inputrc "values" broke settings with
values such as 'vi' etc (thanks to Russ Southern for a report).
1.0202 2002-04-18
- Warnings on highlight of the right scroll mark '<' fixed
(thanks to Slaven Rezic).
( run in 3.101 seconds using v1.01-cache-2.11-cpan-2398b32b56e )