Skip Menu |

This queue is for tickets about the Term-VT102-Boundless CPAN distribution.

Report information
The Basics
Id: 40850
Status: open
Priority: 0/
Queue: Term-VT102-Boundless

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
OLIVER [...] cpan.org
Cc: AJWOOD [...] cpan.org
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.03
Fixed in: (no value)



CC: AJWOOD [...] cpan.org
Subject: Term::VT102 0.91 breaks Term::VT102::Boundless
As the subject line says. Downgrading to 0.82 makes all tests pass again. I have no idea if this is a bug of T:V:B or T:V. Please talk to each other. Thanks!
On Wed Nov 12 02:59:02 2008, ANDK wrote: Show quoted text
> As the subject line says. Downgrading to 0.82 makes all tests pass again. > > I have no idea if this is a bug of T:V:B or T:V. Please talk to each > other. Thanks!
A quick fix seems to be to rename the T:V:B sub _code_CUD to _move_down. I don't know enough about VT operations to know whether _process_text also needs updating, but this simple change made my code do the right thing. HTH, -- regards, oliver.
On Fri Apr 16 08:51:24 2010, OLIVER wrote: Show quoted text
> A quick fix seems to be to rename the T:V:B sub _code_CUD to _move_down. > > I don't know enough about VT operations to know whether _process_text > also needs updating, but this simple change made my code do the right
thing. It's been a long time since I changed Term::VT102, so I'm not too sure. It certainly looks like just overriding _move_down will do what you want, so long as you check that your replacement does something similar (the real one just moves the cursor and takes care of scrolling if necessary). Have a look at _process_text to see if it's changed radically; I think if you want a boundless terminal you just need to alter the line wrapping code. In the event of a line wrap, at the moment _move_down gets called by _process_text to scroll the screen. You probably want to just take out the wrapping and extend the X size of the screen instead, unless you're only making the terminal boundless in the Y direction.