Not that this bug shouldn't be fixed, and not that there aren't valid reasons 
for running sage in an emacs shell, but just in case you didn't know: you can 
install the sage_mode spkg and run sage directly using the `sage' command.

-Ivan

On Sep 20, 2013, at 11:54 AM, Bill Janssen <bill.jans...@gmail.com> wrote:

> In an Emacs shell, Sage seems to be ignoring the TERM setting (dumb) and 
> sending ANSI escape sequences to the terminal around the "sage:" prompt.
> 
> [pippin:~] wjanssen% printenv TERM
> dumb
> [pippin:~] wjanssen% /local/sage-5.11/sage
> +--------------------------------------------------------------------+
> | Sage Version 5.11, Release Date: 2013-08-13                        |
> | Type "notebook()" for the browser-based notebook interface.        |
> | Type "help()" for help.                                            |
> +--------------------------------------------------------------------+
> [0;34msage: [0m
> 
> Is there a way to defeat this?  Should I file a bug on this?
> 
> Bill
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to