<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>Altough I am the author or this patch, I find this may be a bit
too early to make the hypothesis that Scilab would be
systematically launched in an environment that allows Unicode
chars. This could be, at least, a rendering option (BTW we need an
unified way of customizing display in the preferences tab).
However, using a one line display seems an improvement to me, it
allows a much better rendering of polynomials and rationals (see <a
class="moz-txt-link-freetext"
href="https://codereview.scilab.org/#/c/21142/">https://codereview.scilab.org/#/c/21142/</a>).
Maybe a intermediary step would be to use a hat notation, e.g. <br>
</p>
<p>--> p=(1+%i+%s)^7 <br>
</p>
<p> p = 8-8i -56is -(84+84i)s^2 -140s^3 -(70-70i)s^4 +42is^5
+(7+7i)s^6 +s^7 <br>
</p>
<p>The rendering of super/subscripts was very easy 40 years ago when
terminals were printing on paper listing. See e.g.
<a class="moz-txt-link-freetext" href="http://man7.org/linux/man-pages/man5/terminfo.5.html">http://man7.org/linux/man-pages/man5/terminfo.5.html</a> : <br>
</p>
<p>"If the terminal can move up or down half a line, this
can be<br>
indicated with hu (half-line up) and hd (half-line
down). This is<br>
primarily useful for superscripts and subscripts on
hard-copy<br>
terminals."</p>
<p>and search e.g. for enter_subscript_mode, exit_subscript_mode.
Today none of terminal emulator supports these commands, <b>excepted
the very recent release of mintty (Windows)</b>:<br>
</p>
<p><a class="moz-txt-link-freetext" href="http://cygwin.1069669.n5.nabble.com/ANNOUNCEMENT-Updated-mintty-3-0-1-td146161.html">http://cygwin.1069669.n5.nabble.com/ANNOUNCEMENT-Updated-mintty-3-0-1-td146161.html</a></p>
<p>here is a excerpt of the release notes:</p>
<p>Highlights
<br>
* New character attributes <b>superscript</b>, <b>subscript</b>,
shadowed, overstrike.
<br>
* DEC VT420 screen control features.
<br>
* Fully VT100-compatible, including VT52 mode (with graphics).
<br>
* Up to 6 key modifiers, including Meta (Win key) and
configurable <br>
</p>
<p>Hence, using mintty console would allow a neat display of
polynomials in CLI mode. <br>
</p>
<p>S.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 28/11/2019 à 23:35, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:3ce53001-eb42-d831-30f3-022f12048aa5@free.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Hello Antoine,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 28/11/2019 à 23:17, Antoine ELIAS
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:6b697333-91d2-edb7-4942-0327b968b27b@scilab-enterprises.com">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
Hello Samuel,<br>
<br>
I'm agree with you about the issue.<br>
I will try to find a way to change the console properties inside
binary like when we change color in nw mode ( W/B vs B/W )<br>
</blockquote>
<p><br>
</p>
<p>Great.<br>
<br>
</p>
<blockquote type="cite"
cite="mid:6b697333-91d2-edb7-4942-0327b968b27b@scilab-enterprises.com">
<br>
But I does not show trouble with 2 or 3 and others superscript
numbers.<br>
<br>
<img src="cid:part2.69F25180.0F7D8294@utc.fr" alt="" class=""><br>
<br>
With this configuration<br>
</blockquote>
<p><br>
</p>
<p>Neither does it for me, provided that this setting is done <i>before</i>
running Scilab.<br>
By the way, <i>Lucida console</i> is much UTF-8-richer than <i>Consolas</i>
(you may test the text below in Scinotes with both fonts, and
compare their renderings), and superscripts 0,4-9 are bigger. <br>
<br>
Nevertheless, i am a bit afraid that with all this UTF-8 stuff,
the display result depends on some locales.<br>
When i write help pages in Notepad++ in UTF-8 encoding, when i
copy/past some UTF-8 (see below),<br>
sometimes it's OK, sometimes i get only rectangles... Not clear
why..<br>
</p>
<p>Samuel</p>
<p>-----------------------------<br>
</p>
<pre style="font-family:Monospaced;font-style:normal;font-size:14.0;"><span style="color:rgb(100,174,100);font-style:italic;">// <a class="moz-txt-link-freetext" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/bugzilla.scilab.org/9221" moz-do-not-send="true">http://bugzilla.scilab.org/9221</a></span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">greek</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lower</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">αβγδεϵζηθικλμνξοπρστυφϕχψωάϐέήϑίϊϰόϱςύϋΰϖώ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">greek</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">upper</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">ΑΒΓΔΕΖΗΘϴΙΪΚΛΜΝΞΟΠΡΣΤΥΫΦΧΨΩ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">maths</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">logical</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">∀∃∄∧∨⋀⋁⊼⊽⊻∁∴∵∎≍</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">maths</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">set</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">∉∈∊∍∋∌∅∖⋂∩⋃∪⊂⊆⊄⊅⊇⊃⋐⋑⋒⋓</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">maths</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">comparisons</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">⋘≪≤≲≳≥≫⋙≠≃≄≅≈∽≐≔≕≝</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">maths</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">operators</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">−±∓∔÷×∏∐∑√∛∜⋅⋆⊕⊖⊝⊗⊘⊙⊚⊛⊜⊞⊟⊠⊡</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">maths</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">integdiff</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">∂∇∆∫∬∭∮∯∰∱∲∳</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">maths</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">geometry</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">°′″∟⊾∠∡∢⊥∥∦∺∻≎⊿⋕</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">maths</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">misc</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">⋮⋰⋯⋱′″∝∞‰‱</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">arrows</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">base</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">←↖↑↗→↘↓↙↔↕↵↱↴☇⇐⇑⇒⇓⇔⊣⊥⊢⊤</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">arrows</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">thick</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">⬅⬆➞⬇➚➙➘➔➜➡➥➦➧➨➼➽</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">symbols</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">…⋈⋔⋄♢◊♤♧♡♦♠♣♥©®™♀♂⌘♻«»🚌🚲🚩</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">stars</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">⋆★☆✫✯✰✭✡🔯⊛⍟✪❂✻✼✹✸✶</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(100,174,100);font-style:italic;">//%chars.currencies = </span><span style="color:rgb(100,174,100);font-style:italic;">"</span><span style="color:rgb(100,174,100);font-style:italic;">¤$€£¥円元₪฿¢₫₣</span><span style="color:rgb(100,174,100);font-style:italic;">"</span><span style="color:rgb(100,174,100);font-style:italic;">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lang</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">french</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">âàäçéêèëîïôöûùüÂÀÄÇÉÊÈËÎÏÔÖÛÙÜ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lang</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">japanese</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">hiragana</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">a</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">あかさたなはまやらわ がざだばぱ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lang</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">japanese</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">hiragana</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">i</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">いきしちにひみ りゐ ぎじぢびぴ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lang</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">japanese</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">hiragana</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">u</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">うくすつぬふむゆる ぐずづぶぷ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lang</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">japanese</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">hiragana</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">e</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">えけせてねへめ れゑ げぜでべぺ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lang</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">japanese</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">hiragana</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">o</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">おこそとのほもよろをんごぞどぼぽ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lang</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">russian</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">upper</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">%chars</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lang</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">russian</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">lower</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">абвгдеёжзийклмнопрстуфхцчшщъыьэюя</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span></pre>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@lists.scilab.org">dev@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/dev">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a>
</pre>
</body>
</html>