#11790: `sage --sh -c ...` shouldn't print [that many] messages
------------------------------+---------------------------------------------
   Reporter:  leif            |          Owner:                                 
                          
       Type:  defect          |         Status:  needs_work                     
                          
   Priority:  minor           |      Milestone:  sage-4.7.2                     
                          
  Component:  scripts         |       Keywords:  subshell commands sage-sage 
environment batch mode stdout
Work_issues:                  |       Upstream:  N/A                            
                          
   Reviewer:  Jeroen Demeyer  |         Author:  John Palmieri                  
                          
     Merged:                  |   Dependencies:  #11866                         
                          
------------------------------+---------------------------------------------

Comment(by jdemeyer):

 Replying to [comment:16 jhpalmieri]:
 > Simon King had the interesting suggestion of prepending e.g. "(sage-sh)"
 to the current prompt.  Can we access the current prompt?

 Well, `$PS1` is the current prompt.  So you could do

 {{{
 export PS1="(sage-sh) $PS1"
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11790#comment:17>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to