| 1 |
0.2: Test added. |
| 2 |
0.3: Filehandles changed to \* from *, MinLine works, works with |
| 3 |
debugger. |
| 4 |
0.4: Some bugs with $| corrected. Application name is set. Works under |
| 5 |
OS/2 without ReadKey. Should work under DOS with minimal changes (see |
| 6 |
$inDOS in ReadLine/readline.pl). |
| 7 |
0.5: Code to support ReadLine'less debugger moved to debugger. One |
| 8 |
user reported that having .inputrc triggers the same bug that buggered |
| 9 |
earlier versions of the package. Request for a second readline is |
| 10 |
tried to be executed first, dying only if should work on a different terminal. |
| 11 |
0.6: The above bug was due to missing vi keymap. Dirty workaround |
| 12 |
added. |
| 13 |
0.7: We made ReadMode on term_OUT ;-( |
| 14 |
Better workaround for return of globs from a sub. |
| 15 |
Word break chars more suitable for Perl. |
| 16 |
0.8: Insert, Operate, HistorySearch added. |
| 17 |
Rudimental support for tk being active during ReadLine. |
| 18 |
Should work better if ReadKey is present, but did not bootstrap. |
| 19 |
SelfLoader (and AutoLoader) supported (uncomment the lines |
| 20 |
with SelfLoader, ISA, and __DATA__). |
| 21 |
0.9: tkRunning corrected. New attributes in Features: getHistory, |
| 22 |
setHistory, and new methods: GetHistory and SetHistory. |
| 23 |
|
| 24 |
After 0.9: |
| 25 |
Optional second argument to ->readline; |
| 26 |
[sg]etHistory, tkRunning features documented; |
| 27 |
Operate overwriting parameter fixed; |
| 28 |
AddHistory copied to addhistory in T::R::Perl; |
| 29 |
[SG]etHistory documented; |
| 30 |
tkRunning feature documented. |
| 31 |
eval "" => eval {} |
| 32 |
local => my |
| 33 |
After 0.91: |
| 34 |
Couple of bugs with my $var = @_; |
| 35 |
use SelfLoader; moved to DATA. |
| 36 |
Works in XTERM on OS/2. |
| 37 |
0.93: |
| 38 |
Updates to Operate, couple of keybindings added. |
| 39 |
$rl_completer_terminator_character, $rl_correct_sw added. |
| 40 |
Reload-init-file moved to C-x C-x. |
| 41 |
C-x ? and C-x * list/insert possible completions (similar to |
| 42 |
tcsh globbing). |
| 43 |
For a second ReadLine interface ReadLine::Stub is used (unsuccessfully)? |
| 44 |
C-x * moves cursor correctly. |
| 45 |
0.94: |
| 46 |
Should work everywhere where stty works (possibly with a warning). |
| 47 |
Warning says where to find TRK, switchable off. |
| 48 |
ReadLine.pm removed from distribution. |
| 49 |
0.95: |
| 50 |
(from Jim Meyering): |
| 51 |
* readline.pm (preinit): Recognize bash's `input-meta' as a |
| 52 |
valid variable name. |
| 53 |
(F_ReReadInitFile): Recognize key binding directives in which |
| 54 |
the double-quoted RHS contains white space. |
| 55 |
(rl_set): Treat bash's `visible-stats' as a synonym of |
| 56 |
CompleteAddsuffix. |
| 57 |
Workaround against Term::ReadKey::ReadMode returning undef |
| 58 |
(thanks to Helmut Jarausch). |
| 59 |
0.96: |
| 60 |
tkRunning support unrolled, now needs newer Term/ReadLine.pm to use it. |
| 61 |
Warnings from inputrc come only if -w. |
| 62 |
0.97: |
| 63 |
Wrong version of Perl.pm was included, did not work with older Perls. |
| 64 |
0.98: |
| 65 |
newTTY added. |
| 66 |
ornaments added. |
| 67 |
no longer installs into PERL dirs. |
| 68 |
Name of interface is now Term::ReadLine::Perl. |
| 69 |
Meta-flag tolerated (thanks to Honza Pazdziora). |
| 70 |
Bindings to \C-letter work again. |
| 71 |
0.99: |
| 72 |
Buglet with -w corrected. |
| 73 |
0.9901: |
| 74 |
Support for ornaments busted editing of long lines. |
| 75 |
0.9902: |
| 76 |
Do not test TRL::Gnu in test.pl! |
| 77 |
Allow control-? in assignments. \M-\C- should work, as well as \x7F. |
| 78 |
(Thanks to Neil Bird!) |
| 79 |
0.9903: |
| 80 |
Enable ornaments by default. |
| 81 |
Disable explicit ornaments in the test.pl. |
| 82 |
0.9904: (thanks to Alexander Kourakos <[email protected]>) |
| 83 |
gave warnings for blank lines in my .inputrc |
| 84 |
showed underlined spaces in prompts (in xterm) which look ugly. |
| 85 |
0.9905: (thanks to Wilson P. Snyder II [email protected]) |
| 86 |
Fix reverse search. |
| 87 |
0.9906: $readline::rl_getc added with the default value \&readline::rl_getc |
| 88 |
0.9907: remove defined() noise. |
| 89 |
0.9908: support $ENV{INPUTRC}. |
| 90 |
Advice users to look into *this* file for features... |
| 91 |
[email protected] added vi support (untested). |
| 92 |
Remove .gz-ness from Makefile.PL. |
| 93 |
1.00: Ignore $/, $\, $,. |
| 94 |
Handle $include in RC file (by Roland Walker and Alexander Kourakos). |
| 95 |
Support "unsupported ioctl()". |
| 96 |
$rl_vi_replace_default_on_insert (by Russ Southern). |
| 97 |
Now we closely match the new syntax of .inputrc (by David Wollmann). |
| 98 |
Allow setenv PERL_RL_USE_TRK=0 to disable usage of Term::ReadKey. |
| 99 |
With $inDOS vicmd_map had conflicting definitions for #27. |
| 100 |
Removed spurious warnings from failing ioctl and stty. |
| 101 |
1.01: Allow unset TERM. |
| 102 |
Wrong display and warnings if UP/DOWN reach a short line from a |
| 103 |
scrolled line |
| 104 |
Highlight the h-scroll indicators "<" ">" same as the prompt. |
| 105 |
Draw h-scroll indicator "<" even if a part of the prompt is shown. |
| 106 |
Scroll right if more than $rl_margin empty space is on the right. |
| 107 |
1.02: Move reread-init to C-x C-r. Make C-x u and C-x C-u do undo. |
| 108 |
Set-mark: C-@, Control-Space on PC. |
| 109 |
Exchange-point-and-mark: C-x C-x. |
| 110 |
Kill-region: C-x C-w (as in lynx). |
| 111 |
Copy-region-as-kill: C-x w (kinda similar to Emacs). |
| 112 |
On PC, the last 2 and yank also available on Shift-Del, Control-Insert, |
| 113 |
Shift-Insert. |
| 114 |
Kill buffer is prepended or appended in natural manner. |
| 115 |
Disable detection of Japanese multibyte characters - conflicts with |
| 116 |
single-byte scripts. Reenable by $readline::_rl_japanese_mb = 1. |
| 117 |
1.0201: Warnings due to a misprint fixed (thanks to Tatsuhiko Miyagawa). |
| 118 |
1.0202: Warnings on highlight of the right scroll mark '<' fixed |
| 119 |
(thanks to Slaven Rezic). |
| 120 |
1.0203: Unconditional titlecasing of .inputrc "values" broke settings with |
| 121 |
values such as 'vi' etc (thanks to Russ Southern for a report). |
| 122 |
|
| 123 |
1.0204: Applied patches from Gurusamy and Slaven for vi mode: |
| 124 |
Logic to move insertion point one char back was wrong; |
| 125 |
Disable (YES!) choice of vi-mode based on $ENV{EDITOR}. |
| 126 |
Just in case: generate proper warning if an old $ket-bug resurrects. |
| 127 |
If readkey() returns undef, behave as on EOF. |
| 128 |
New option --no-print to test.pl. |
| 129 |
Try to move prompt to the next line if something is already on the |
| 130 |
current line (controlled by $rl_scroll_nextline, |
| 131 |
$rl_last_pos_can_backspace); |
| 132 |
Wrong setting of $rl_last_pos_can_backspace will result: |
| 133 |
a) 1 and wrong: empty line before the prompt; |
| 134 |
b) 0 and wrong: if the line contains 1 char only, |
| 135 |
(and no NL), the prompt will overwrite it; |
| 136 |
test with `perl -Mblib test.pl --no-print', |
| 137 |
type `print 1'. |
| 138 |
[This is not the same as termcap/am!]. |
| 139 |
New variable $readline::rl_default_selected; if true, default string |
| 140 |
is removed if the first keystroke is self-insert or BackSpace; |
| 141 |
test.pl modified to test this too; |
| 142 |
uses mr,me capabilities to highlight the default string. |
| 143 |
New command: SaveLine (on M-#). |
| 144 |
New command: PrintHistory (on M-h), |
| 145 |
PreviousHistory and NextHistory take count. |
| 146 |
The edited line is saved when one moves to history. |
| 147 |
1.0205: Do not touch $ENV{HOME} unless defined. |
| 148 |
$ENV{AUTOMATED_TESTING} to skip interactive tests. |
| 149 |
1.0206: Shift-Ins, Control-Ins, Shift-Del operate on clipboard (if available) |
| 150 |
(currently native on OS/2 only, otherwise uses commands |
| 151 |
$ENV{RL_PASTE_CMD}, $ENV{RL_CLCOPY_CMD}, or file |
| 152 |
$ENV{HOME}/.rl_cutandpaste). |
| 153 |
In absense of mark, CopyRegionAsKillClipboard operates |
| 154 |
on the whole line |
| 155 |
Completely ignore unknown variables in .inputrc. |
| 156 |
Moving cursor should remove the highlight of initial string too. |
| 157 |
Change some local() to my(). |
| 158 |
Region between point and mark is highlighted. |
| 159 |
Commands SelfInsert, Yank*, *DeleteChar remove this region |
| 160 |
if $rl_delete_selection is TRUE (default). |
| 161 |
(Set mark again to insert without removing.) |
| 162 |
1.0207: If mark was active, redraw could be performed after Enter. |
| 163 |
Untested Win32 support for cut&paste. |
| 164 |
Alias $var_DeleteSelection for $rl_delete_selection (thus accessible |
| 165 |
via .inputrc). |
| 166 |
1.0208: Allow 2-arg form for test.pl |
| 167 |
Open CONIN$ on Win (if asked for CON), and open RW (bug in Win devdriver). |
| 168 |
Allow non-first Digit-Arguments to be escaped too. |
| 169 |
Allow Alt-char translation to \M-char on DOSISH. |
| 170 |
Apparently, self-loaded empty subroutines crash 5.8.2; 5.8.7 OK. |
| 171 |
Work-around: put "1;" into non-implemented stuff. |
| 172 |
|
| 173 |
1.03: Support for numeric arguments missed setting $lastcommand. |
| 174 |
MinLine would not return the old value etc. |
| 175 |
On MSWin32 without ReadKey, but with cygwin stty.exe: |
| 176 |
do binmode (since Enter sends \r in these settings) |
| 177 |
(XXXX we don't undo binmode; is it needed?) |
| 178 |
(Only Control-Key work; do "Control-[ key" for Meta) |
| 179 |
When optimizing "cursor" movement, take into account ornaments. |
| 180 |
Optimize "cursor" movement even if we redraw the line. |
| 181 |
Would display the string twice, even if cursor was at the end of |
| 182 |
the line. |
| 183 |
Add key binding for Control-Movement keys in xterm; and some OSX xterm. |
| 184 |
Do not prefer HPUX xterm bindings to "normal" XTerm bindings. |
| 185 |
New functions F_BeginUndoGroup F_EndUndoGroup F_DoNothing |
| 186 |
F_MemorizeDigitArgument F_ForceMemorizeDigitArgument |
| 187 |
F_UnmemorizeDigitArgument F_ResetDigitArgument |
| 188 |
F_MergeInserts F_MemorizePos |
| 189 |
(for better mouse support; untested) |
| 190 |
Undo list merges together states where the only change is position |
| 191 |
|
| 192 |
1.0301: F_TransposeWords implemented |
| 193 |
Enable binmode() on MSWin32 if ReadMode succeeds. |
| 194 |
Since "normal" getc() returns 0 on "special keys" (as opposed |
| 195 |
to behaviour with reasonable CRT library, which would return |
| 196 |
a pair of keypresses 0 "keynumber"), to access special keys |
| 197 |
one needs something like C-[ for Esc, and C-[ c for Alt-c. |
| 198 |
Support \key with key in "abfnrtvd" in init files (\b/\d as C-?/C-d) |
| 199 |
and \ooo for octal. |
| 200 |
Allow single quotes in macro specifications, and backwacked quotes. |
| 201 |
Support macros (propagate numeric arguments). |
| 202 |
New functions F_BeginPasteGroup; F_EndPasteGroup; |
| 203 |
F_BeginEditGroup; F_EndEditGroup; bound to XTerm mouse editing |
| 204 |
Support ~/ in INPUTRC name and $include; |
| 205 |
$ENV{TRP_INPUTRC} overrides $ENV{INPUTRC}. |
| 206 |
New functions F_DoMetaVersion; F_DoControlVersion; bound as in Emacs: |
| 207 |
C-x Esc m and C-x Esc c. |
| 208 |
1.0302: C-@ was incorrectly bound to a missing function SetPoint. |
| 209 |
C-x Esc c @ and C-x Esc c Space are now bound to SetMark, so do this |
| 210 |
if $inDOS too. |
| 211 |
Bind C-x @ c and C-x @ m too (as in Emacs). |
| 212 |
|
| 213 |
1.0303: Would not allow macros with space in them. |
| 214 |
Never try to display the whole prompt unless it is shorter than |
| 215 |
screen width ;-). |
| 216 |
Test supports PERL_RL_TEST_PROMPT_MINLEN in environment. |
| 217 |
Test hints at special significance of the word `exit'. |
| 218 |
Avoid a warning on unexpected variable assign (thanks to Robin Barker). |
| 219 |
Change error message for unknown method. |
| 220 |
Protect global variables during WINCH processing. |
| 221 |
F_ReverseSearchHistory was not -w-safe (thanks to Peter Valdemar) |
| 222 |
Test for $ENV{PERL_MM_NONINTERACTIVE} also to abort tests. |