<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Serial output - add bold char control on SCI serial port in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135806#M2324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Robert,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You could use ANSI terminal emulation as just about everything emulates this (even hyperterm).&lt;/DIV&gt;&lt;DIV&gt;Then Google "ANSI codes" or "ANSI escape sequences" for way too much info on how to get what you want on the screen.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2007 11:10:01 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2007-06-05T11:10:01Z</dc:date>
    <item>
      <title>Serial output - add bold char control on SCI serial port</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135804#M2322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are using the 9s12xdp512 and the serial port. We have hyperterminal connnected and we can output chars to the window and it works. What I can't seem to find is a way to turn the output stream into Bold, Italic for example. Can someone tell me the char sequence or the C statement that does this please, or even a google search string that would work. None of the one's I have tried have yielded anything useful. I guess this is not specific to any processor but we are using the HC12 so I thought I would try here. Thanks inadvance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 09:23:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135804#M2322</guid>
      <dc:creator>blewis</dc:creator>
      <dc:date>2007-06-05T09:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Serial output - add bold char control on SCI serial port</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135805#M2323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Robert,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The ability to alter font type "on the fly" will depend on the capability of the terminal emulation program, and perhaps more specifically on the terminal &lt;U&gt;emulation&amp;nbsp;type&lt;/U&gt; in force.&amp;nbsp; Then you would need to send the&amp;nbsp;character sequence required by the emulation type.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Firstly, you will need to choose&amp;nbsp;an emulation type that supports your special requirements, and then choose a terminal emulation program that supports the desired emulation type.&amp;nbsp; Perhaps check out ANSI or&amp;nbsp;VT102&amp;nbsp;emulation capabilities.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I am not aware that hyperterminal is particularly flexible on these issues, so may not be feasible in this case.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 10:48:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135805#M2323</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-06-05T10:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Serial output - add bold char control on SCI serial port</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135806#M2324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Robert,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You could use ANSI terminal emulation as just about everything emulates this (even hyperterm).&lt;/DIV&gt;&lt;DIV&gt;Then Google "ANSI codes" or "ANSI escape sequences" for way too much info on how to get what you want on the screen.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 11:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135806#M2324</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-06-05T11:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Serial output - add bold char control on SCI serial port</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135807#M2325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;I know it gets off topic but to more specifically answer,&lt;BR /&gt;&lt;BR /&gt;I Googled and found this:&lt;BR /&gt;&lt;FONT color="#330000"&gt;"I know that I can send ESC[1m; to the console for getting bold text"&lt;/FONT&gt;&lt;FONT color="#330000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;In other words, send these chars (in Hexadecimal):&lt;BR /&gt;&lt;FONT color="#330000"&gt;1B 5B 31 6D&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;So I looked further and found that &lt;FONT color="#330000"&gt;22m&lt;/FONT&gt; would turn off bold (if implemented), but &lt;FONT color="#330000"&gt;0m&lt;/FONT&gt; would be the most reliable. It turns off all formatting.&lt;BR /&gt;&lt;BR /&gt;FYI: I read that the simicolon '&lt;FONT color="#330000"&gt;;&lt;/FONT&gt;' is used to continue with more consecutive sequences, rather than repeat another '&lt;FONT color="#330000"&gt;ESC&lt;/FONT&gt;' and '&lt;FONT color="#330000"&gt;[&lt;/FONT&gt;' sequence. That would optimize for heavy formatting.&lt;BR /&gt;&lt;BR /&gt;A simple reference I found:&lt;BR /&gt;&lt;A href="http://pueblo.sourceforge.net/doc/manual/ansi_color_codes.html" rel="nofollow" target="_blank"&gt;http://pueblo.sourceforge.net/doc/manual/ansi_color_codes.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;Edit: coloring, URL link&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by imajeff on &lt;SPAN class="date_text"&gt;2007-06-05&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:25 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 00:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Serial-output-add-bold-char-control-on-SCI-serial-port/m-p/135807#M2325</guid>
      <dc:creator>imajeff</dc:creator>
      <dc:date>2007-06-06T00:15:28Z</dc:date>
    </item>
  </channel>
</rss>

