Skip Menu |

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

Report information
The Basics
Id: 82076
Status: resolved
Priority: 0/
Queue: Term-Screen

People
Owner: jns [...] gellyfish.co.uk
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.03
Fixed in: (no value)



Subject: test hangs on Windows
Attaching test output. Only test 6 waits for answer and test 8 hangs. -- Alexandr Ciornii, http://chorny.net
Subject: screen.txt
C:\strawberry5162\cpan\build\Term-Screen-1.03-EHk34m>dmake test C:\strawberry5162\perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl "stty" íå ÿâëÿåòñÿ âíóòðåííåé èëè âíåøíåé êîìàíäîé, èñïîëíÿåìîé ïðîãðàììîé èëè ïàêåòíûì ôàéëîì. "stty" íå ÿâëÿåòñÿ âíóòðåííåé èëè âíåøíåé êîìàíäîé, èñïîëíÿåìîé ïðîãðàììîé èëè ïàêåòíûì ôàéëîì. "stty" íå ÿâëÿåòñÿ âíóòðåííåé èëè âíåøíåé êîìàíäîé, èñïîëíÿåìîé ïðîãðàììîé èëè ïàêåòíûì ôàéëîì. Test series for Screen.pm module for perl51. Should be at row 2 col 3 (upper lef t is 0,0)2. Last position -- should be 2 50.3. Screen size: rows and columns .4. Testing reverse mode, bold mode, and both together.5. Testing clreol - Th e next 2 lines should end at col 20 and 30.0---------10--------20--------30----- ---40--------50--------60--------70-------0---------10--------20--------30------ --40--------50--------60--------70-------0---------10--------20--------30------- -40--------50--------60--------70-------0---------10--------20--------30-------- 40--------50--------60--------70-------0---------10--------20--------30--------4 0--------50--------60--------70-------0---------10--------20--------30--------40 --------50--------60--------70-------0---------10--------20--------30--------40- -------50--------60--------70-------0---------10--------20--------30--------40-- ------50--------60--------70-------0---------10--------20--------30--------40--- -----50--------60--------70-------0---------10--------20--------30--------40---- ----50--------60--------70-------0---------10--------20--------30--------40----- ---50--------60--------70-------0---------10--------20--------30--------40------ --50--------60--------70-------0---------10--------20--------30--------40------- -50--------60--------70-------6. Clreos - Hit a key to clear all right and below : 7. Test insert and delete line - 15 deleted, and ...13--------10--------20------ --30--------40--------50--------60--------70-------14--------10--------20------- -30--------40--------50--------60--------70-------15--------10--------20-------- 30--------40--------50--------60--------70-------16--------10--------20--------3 0--------40--------50--------60--------70-------... this is where line 14 was8. Key_pressed - Don't Hit a key in the next 5 seconds: HEY A KEY WAS HITHit a key in next 15 seconds: KEY HIT!
Hi, I'm going to close this without actually doing much to fix it. Firstly because the module uses the unix utility 'stty' to set the terminal mode it was never likely to work on Windows, I am planning in a future release to replace this requirement with POSIX::termios but I'm not sure that works on windows either. Also there is a Term::Screen::Win32 and possibly others that are purported to work on WIndows. In the meantime I have actually simplified the tests so that it doesn't try to use the terminal in order to support automated installation, so at least the tests will work. Thanks.