Can you post the whole trace?
sage -sh
strace python -c 'import curses; curses.initscr()' >& output.log
On Thursday, August 22, 2013 6:23:48 PM UTC+1, Martin Albrecht wrote:
>
> Hi Volker,
>
> On Thursday 22 August 2013 08:31:26 you wrote:
>
> > sage -sh
> > strace python -c 'import curses; curses.initscr()' |& grep xterm
> > with TERM=xterm
>
> it's empty.
>
> > and xterm-256color?
>
> it's also empty.
>
> > ldd $SAGE_ROOT/local/lib/python2.7/lib-dynload/_curses.so
>
> $ ldd $SAGE_ROOT/local/lib/python2.7/lib-dynload/_curses.so
>
>
> linux-vdso.so.1 (0x7fff9299)
> libncurses.so.5 => /opt/sage-5.12/local/lib/libncurses.so.5
> (0x7fae4a43f000)
> libpython2.7.so.1.0 =>
> /opt/sage-5.12/local/lib/libpython2.7.so.1.0
> (0x7fae4a05e000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x7fae49e11000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fae49a65000)
> libtinfo.so.5 => /opt/sage-5.12/local/lib/libtinfo.so.5
> (0x7fae49833000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
> (0x7fae4962e000)
> libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1
> (0x7fae4942b000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fae4912d000)
> /lib64/ld-linux-x86-64.so.2 (0x7fae4a875000)
>
> so it seems to pick up the right one.
>
> I noticed that the shell after sage -sh is seriously FUBAR, e.g. backspace
> doesn't delete but adds spaces. This problem does not exist with 5.11.
>
> I should perhaps note that I am on zsh if that makes a difference (?)
>
> Cheers,
> Martin
>
>
> --
> name: Martin Albrecht
> _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6532AFB4
> _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
> _www: http://martinralbrecht.wordpress.com/
> _jab: martinr...@jabber.ccc.de
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.