Debian Codegraph @

CHANGES

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