On Thursday, June 7, 2018 at 1:50:57 PM UTC+1, Jan Groenewald wrote:
>
> Hi
>
> On Thu, 7 Jun 2018 at 14:48, Dima Pasechnik <dim...@gmail.com 
> <javascript:>> wrote:
>
>> This has come up before, I just can't seem to find the right docs/post:
>>
>> Running Sage in terminal, and then, say
>>
>> sage: Permutation? 
>>
>> comes up with strings like 
>>
>> ESC[0;31mFile:ESC[0m    
>>  
>> /home/scratch2/dimpase/sage/sage/src/sage/groups/perm_gps/permgroup_element.pyx
>> ESC[0;31mType:ESC[0m           InheritComparisonMetaclass
>>
>> and
>>
>> sage: Permutation??
>>
>> is totally unreadable:
>>
>> ESC[0;31mInit signature:ESC[0m 
>> ESC[0mPermutationESC[0mESC[0;34m(ESC[0mESC[0mselfESC[0mESC[0;34m,ESC[0m 
>> ESC[0mparentESC[0mESC[0;34m,ESC[0m ESC[0mlESC[0mESC[0;34m,ESC[0m 
>> ESC[0mcheck_inputESC[0mESC[0;34m=ESC[0mESC[0mTrueESC[0mESC[0;34m)ESC[0mESC[0;34mESC[0mESC[0m
>> ESC[0;31mSource:ESC[0m        
>> ESC[0;32mclassESC[0m 
>> ESC[0mPermutationESC[0mESC[0;34m(ESC[0mESC[0mCombinatorialElementESC[0mESC[0;34m)ESC[0mESC[0;34m:ESC[0mESC[0;34mESC[0m
>> ESC[0;34mESC[0m    ESC[0;34mr"""ESC[0m
>> ESC[0;34m    A permutation.ESC[0m
>> ESC[0;34mESC[0m
>> ESC[0;34m    Converts ``l`` to a permutation on `\{1, 2, \ldots, 
>> n\}`.ESC[0m
>> ESC[0;34mESC[0m
>>
>> etc
>>
>> What the hell is going on? I have
>>  
>> $ locale
>> LANG=en_GB.UTF-8
>> LC_CTYPE="en_GB.UTF-8"
>> LC_NUMERIC="en_GB.UTF-8"
>> LC_TIME="en_GB.UTF-8"
>> LC_COLLATE="en_GB.UTF-8"
>> LC_MONETARY="en_GB.UTF-8"
>> LC_MESSAGES="en_GB.UTF-8"
>> LC_PAPER="en_GB.UTF-8"
>> LC_NAME="en_GB.UTF-8"
>> LC_ADDRESS="en_GB.UTF-8"
>> LC_TELEPHONE="en_GB.UTF-8"
>> LC_MEASUREMENT="en_GB.UTF-8"
>> LC_IDENTIFICATION="en_GB.UTF-8"
>> LC_ALL=
>>
>> $ echo $TERM
>> xterm-256color
>>
>>
>> This is not running via ssh/screen, this should be just fine, no?
>>
>
>
> Still, just a guess, try TERM=screen-256color, 
>

neither this, nor TERM=linux
changes anything for me.
(The box is Fedora 26, where I don't have admin rights...)

The terminal application is MATE Terminal


 

> also your equivalent of
> sudo dpkg-reconfigure locales
>
> Regards,.
> Jan
>
>
>  
> -- 
>   .~. 
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^ 
>

-- 
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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to