#14405: Replace termcap with ncurses
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |         Owner:  jdemeyer
           Type:  defect             |        Status:  positive_review
       Priority:  major              |     Milestone:  sage-5.12
      Component:  packages:          |    Resolution:
  standard                           |     Merged in:
       Keywords:                     |     Reviewers:  Volker Braun, Jean-
        Authors:  Volker Braun,      |  Pierre Flori
  Jean-Pierre Flori                  |   Work issues:
Report Upstream:  N/A                |  Dependencies:
         Branch:                     |
       Stopgaps:                     |
-------------------------------------+-------------------------------------
Changes (by vbraun):

 * status:  needs_work => positive_review


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.
>
>   * 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

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://boxen.math.washington.edu/home/vbraun/spkg/ncurses-5.9.spkg
   * Update
 http://boxen.math.washington.edu/home/vbraun/spkg/readline-6.2.p4.spkg

--

Comment:

 I've updated the readline spkg documentation.

 The permissions of `mkinstalldirs` are what upstream uses; since its not
 copied anywhere it doesn't really matter if it is user-writeable or not.

--
Ticket URL: <http://trac.sagemath.org/ticket/14405#comment:77>
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to