#14405: Replace termcap with ncurses
--------------------------------------+-------------------------------------
       Reporter:  vbraun              |         Owner:  jdemeyer
           Type:  defect              |        Status:  new     
       Priority:  major               |     Milestone:  sage-5.9
      Component:  packages: standard  |    Resolution:          
       Keywords:                      |   Work issues:          
Report Upstream:  N/A                 |     Reviewers:          
        Authors:  Volker Braun        |     Merged in:          
   Dependencies:                      |      Stopgaps:          
--------------------------------------+-------------------------------------
Description changed by vbraun:

Old description:

> The readline in IPython is broken if ncurses-devel is not installed in
> various modern Linux distributions. Installing the ncurses headers from
> the distribution (yum install ncurses-devel on Fedora) fixes this.
>
> Example video:  http://youtu.be/dxp1SIXbIyY
>
> The problem seems to be that the ancient libtermcap (no new releases
> since March 2002) is not enough anymore. I suggest to replace the termcap
> spkg with ncurses. Sage-5.9.beta3 builds fine. The only downside is that
> it takes ~2mb instead of ~300k, but on the upside the terminal is no
> longer broken.

New description:

 The readline in IPython is broken if ncurses-devel is not installed in
 various modern Linux distributions. Installing the ncurses headers from
 the distribution (yum install ncurses-devel on Fedora) fixes this.

 Example video:  http://youtu.be/dxp1SIXbIyY

 The problem seems to be that the ancient libtermcap (no new releases since
 March 2002) is not enough anymore. I suggest to replace the termcap spkg
 with ncurses. Sage-5.9.beta3 builds fine. The only downside is that it
 takes ~2mb instead of ~300k, but on the upside the terminal is no longer
 broken.

   * Apply [attachment:trac_14405_replace_termcap_with_ncurses.patch] to
 the SAGE_ROOT repo
   * Delete the termcap spkg
   * Add http://www.stp.dias.ie/~vbraun/Sage/spkg/ncurses-5.9.spkg
   * Update http://www.stp.dias.ie/~vbraun/Sage/spkg/readline-6.2.p4.spkg

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14405#comment:45>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to