<?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 Shell echo off in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Shell-echo-off/m-p/380029#M12683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I disable the MQX shell echo?&lt;/P&gt;&lt;P&gt;I´m working with MQX 4.1 and I need to disable shell echo. I have changed the "BSP_DEFAULT_IO_OPEN_MODE" define in "twrk70f120m.h" removing the IO_SERIAL_ECHO flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #define BSP_DEFAULT_IO_OPEN_MODE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void *) (IO_SERIAL_XON_XOFF | IO_SERIAL_TRANSLATION /* | IO_SERIAL_ECHO*/)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but after that the shell stops working!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have revised the code in "serl_pol.c" (for polled serial device) but i havent found an easy way to disable serial echo.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Some ideas??????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 11:39:36 GMT</pubDate>
    <dc:creator>dcantero</dc:creator>
    <dc:date>2014-11-05T11:39:36Z</dc:date>
    <item>
      <title>Shell echo off</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Shell-echo-off/m-p/380029#M12683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I disable the MQX shell echo?&lt;/P&gt;&lt;P&gt;I´m working with MQX 4.1 and I need to disable shell echo. I have changed the "BSP_DEFAULT_IO_OPEN_MODE" define in "twrk70f120m.h" removing the IO_SERIAL_ECHO flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #define BSP_DEFAULT_IO_OPEN_MODE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void *) (IO_SERIAL_XON_XOFF | IO_SERIAL_TRANSLATION /* | IO_SERIAL_ECHO*/)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but after that the shell stops working!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have revised the code in "serl_pol.c" (for polled serial device) but i havent found an easy way to disable serial echo.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Some ideas??????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 11:39:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Shell-echo-off/m-p/380029#M12683</guid>
      <dc:creator>dcantero</dc:creator>
      <dc:date>2014-11-05T11:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Shell echo off</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Shell-echo-off/m-p/380030#M12684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use ioctl IO_IOCTL_SERIAL_SET_FLAGS to read current flags, clear&lt;/P&gt;&lt;P&gt;IO_SERIAL_ECHO from the read value and write the new flag using ioctl IO_IOCTL_SERIAL_GET_FLAGS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt; Sol &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Shell-echo-off/m-p/380030#M12684</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2014-11-06T20:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Shell echo off</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Shell-echo-off/m-p/380031#M12685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if it's still true with MQX4.1, but with MQX3.4 and MQX3.7, the IO_IOCTL_SERIAL_SET_FLAGS ioctl was only working for the serial line, but not when connected to the shell from a remote machine through the MQX TELNET server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to fix that to implement a login password with echo disabled (for obvious reasons), and to add some more professional class features to the shell prompt such as history, command recall, command line edition, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this post for more info, if needed&amp;nbsp; : &lt;A href="https://community.nxp.com/thread/306726"&gt;Unprofessional Shell behavior&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 22:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Shell-echo-off/m-p/380031#M12685</guid>
      <dc:creator>trailman</dc:creator>
      <dc:date>2014-11-06T22:51:56Z</dc:date>
    </item>
  </channel>
</rss>

