# HG changeset patch
# User Mike Hansen <mhansen@gmail.com>
# Date 1216156662 18000
# Node ID 98f0053bd3f52ce8e8298155e6afc4dffc01ec1f
# Parent a99ada1c8c29cf57817ba019276461ba1b6aeae3
Add interactive commandline option so IPython 0.8.4 works with Sage
diff r a99ada1c8c29 r 98f0053bd3f5 sagesage
a

b


215  215  
216  216  sage() { 
217  217  sage_setup 
218   sageipython "$@" c "$SAGE_STARTUP_COMMAND;" 
 218  sageipython "$@" i c "$SAGE_STARTUP_COMMAND;" 
219  219  } 
220  220  
221  221  if [ $# eq 0 ]; then 
… 
… 

522  522  SAGE_BANNER="no" 
523  523  sage_setup 
524  524  shift 
525   sageipython $LOGOPT rcfile="$IPYTHONRC" c "$SAGE_STARTUP_COMMAND" "$@" 
 525  sageipython $LOGOPT rcfile="$IPYTHONRC" i c "$SAGE_STARTUP_COMMAND" "$@" 
526  526  exit $? 
527  527  fi 
528  528  
… 
… 

738  738  if [ $1 = 'mpl' o $1 = "mpl" ]; then 
739  739  sage_setup 
740  740  shift 
741   ipython $LOGOPT pylab rcfile="$IPYTHONRC" c "$SAGE_STARTUP_COMMAND;" 
 741  ipython $LOGOPT pylab rcfile="$IPYTHONRC" i c "$SAGE_STARTUP_COMMAND;" 
742  742  exit $? 
743  743  fi 
744  744  