cleanup sage.misc.interpreter
cleanup sage.misc.sage_extension
start migrating stuff over to sage.repl
derp: forgot to add file
Merge 6.2.beta7 into terminal_app_cleanup

Conflicts:
	src/sage/repl/ipython_extension.py
fix documentation
fix a couple bugs from relocation

* %maxima (e.g.) broke
* sagenb broke -- added old location,
    since I don't want to wait for a new sagenb spkg
trac #16150 more doc for the triangulation of the torus
trac #16150 better doc still
make our own prompt stripper run before the IPython one
Merge remote-tracking branch 'trac/u/wluebbe/ticket/15990b' into terminal_app_cleanup

Conflicts:
	src/sage/repl/ipython_extension.py
Solaris does not have -a option for cp. Use -r.
Trac #16155: Solaris doesn't know cp -a

{{{
cp: illegal option -- a
Usage: cp [-f] [-i] [-p] [-@] f1 f2
       cp [-f] [-i] [-p] [-@] f1 ... fn d1
       cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [-@] d1 ... dn-1 dn
./spkg-install: line 35: ./configure: No such file or directory
Error configuring bzip2

real    0m0.069s
user    0m0.008s
sys     0m0.020s
************************************************************************
Error installing package bzip2-1.0.6.20140317
}}}

URL: http://trac.sagemath.org/16155
Reported by: vbraun
Ticket author(s): Jean-Pierre Flori
Reviewer(s): Volker Braun
Trac #16150: say out loud that we have the csaszar torus

The Császár polyhedron is a triangulation of the torus. It is already
available as `simplicial_complexes.Torus()`, but not well enough
documented.

Let us enhance the doc.

URL: http://trac.sagemath.org/16150
Reported by: chapoton
Ticket author(s): Frédéric Chapoton
Reviewer(s): Volker Braun
fix crun doctest
Trac #16050: miscellaneous cleanup/bugfixes for sage.misc.interpreter and sage.misc.sage_extension

This is just a bit of cleanup+bugfixes that I've done over the past
couple weeks. Notable changes:

- remove deprecations from #12719
- fix iload to actually be able to edit the loaded lines (could still be
better, but would require more hacking on ipython internals; probably
should just be added to upstream ipython instead)
- fix weird random bugs encountered with `InterfaceShellTransformer`
(e.g. in gap, creating an error will cause future valid lines to error
out) -- as far as I can tell, the code was just overthought (and had
interface specific things that should belong as part of the appropriate
interface)
- use the IPython shutdown hook rather than customizing `ask_exit`
- remove some dead and unused code
- start migrating files out of `sage.misc` and into `sage.repl`

URL: http://trac.sagemath.org/16050
Reported by: ohanar
Ticket author(s): R. Andrew Ohana
Reviewer(s): Volker Braun