WorksForMe(TM). No crap... Isn-'t your teminal emilation the problem ?
- What do you get when using another terminal emulation ? Or a (raw)
console ?
- What happens when you try to use (say) emacs in your terminal emulator
(MATE termina, IIUC) ?
--
Emmanuel Charpentier
Le jeudi 7 juin 2018 14:47:57 UTC+2, Dima Pasechnik a écrit :
>
> 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?
>
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.