Failures in gp pexpect interface with specific length of $DOT_SAGE using a "screen" terminal

Imported from <a href="http://trac.sagemath.org/sage_trac/ticket/12221">trac #12221</a>.



Reported by: jdemeyer

Component: interfaces

CC: cremona

Report Upstream: N/A

Authors: Jeroen Demeyer

Dependencies: 

Work issues: 

Reviewers: Georg S. Weber

Merged in: sage-5.0.beta0

Attachments: <ol><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12221/12221_debug.patch">12221_debug.patch: </a> by jdemeyer at 20120112T11:01:12</li><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12221/test12221.sage">test12221.sage: </a> by jdemeyer at 20120112T15:59:31</li><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12221/pexpect-2.0.p4-p5.diff">pexpect-2.0.p4-p5.diff: Diff for the pexpect spkg, for review only</a> by jdemeyer at 20120113T10:04:31</li><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12221/12221_pexpect_unset_TERM.patch">12221_pexpect_unset_TERM.patch: </a> by jdemeyer at 20120120T13:41:13</li></ol>