<div dir="ltr">On 19 September 2017 at 06:26, Mike Looijmans <span dir="ltr">&lt;<a href="mailto:mike.looijmans@topic.nl" target="_blank">mike.looijmans@topic.nl</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My experience is that it does not, and never has. I run serial consoles all the time, and if they&#39;re not sized to 80x25 weird stuff happens.<br>
<br>
Start vi on a serial terminal and it only uses the top 80x25. If a command exceed the 80 char mark, the cursor goes all weird.<br>
Running &quot;eval `resize`&quot; fixes that (until you resize the window). Running just &quot;resize&quot; does not have any effect on that at all.<br>
<br>
Cannot we determine the presence of &quot;tty&quot; and &quot;resize&quot; commands at compile time? something like:<br>
<br>
if has_command(&quot;tty&quot;) and has_command(&quot;resize&quot;):<br>
    install -m 755 ${S}/resize.sh ${D}${sysconfdir}/profile.d/</blockquote><div><br></div><div>As part of busybox, yes.  Not anywhere else though.</div><div><br></div><div>Ross</div></div></div></div>