>From the keyboard of Rocco Caputo [30.11.08,14:57]:

> Hello, Georg.  How did the compatibility check go?

Back then, as posted at http://perlmonks.org/?node_id=667211

---8<---
perl t/30_loops/00_base/wheel_readline-gnu.pm
1..6
ok 1 - plain typing
ok 2 - backspace
ok 3 - forward/backward
not ok 4 - delete words
#   Failed test 'delete words'
#   at t/30_loops/00_base/wheel_readline-gnu.pm line 306.
#          got: ' two four'
#     expected: 'two four'
ok 5 - case changes
not ok 6 - transpose
#   Failed test 'transpose'
#   at t/30_loops/00_base/wheel_readline-gnu.pm line 306.
#          got: 'two one 12'
#     expected: 'two one 21'
# Looks like you failed 2 tests of 6.
---8<---

two tests failed, because of implementation differences:
- 'delete words' - killing a word at bol (beginning-of-line) doesn't
  kill a following space
- 'transpose' - transposing two previous chars is possible at eol

As mentioned in that perlmonks post, to fully check for compatibitlity,
I will have to complete the tests, since they don't check the full
implementation. Thank you for reminding me of that procrastinated work.

But since my version adheres to the GNU Readline behaviour, it is
arguably the better implementation.

I'll mail you the test suite and results when finished.

0--gg-

> -- Rocco Caputo - [EMAIL PROTECTED]
> 
> 
> On Feb 9, 2008, at 16:58, Georg Moritz wrote:
> 
> > Hello Listeners and Listers,
> > 
> > I've just finished the first working version of $Subjec - a rewrite
> > of POE::Wheel::ReadLine which uses the GNU readline library:
> > 
> > http://perlmonks.org/?node_id=667205
> > 
> > I'll check for compatibility with POE::Wheel::ReadLine, and run its tests
> > against the new module.

-- 
_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Reply via email to