[OE-core] [PATCH] base-files: profile: Get rid of "resize"

Burton, Ross ross.burton at intel.com
Tue Sep 19 12:33:25 UTC 2017


On 19 September 2017 at 06:26, Mike Looijmans <mike.looijmans at topic.nl>
wrote:

> My experience is that it does not, and never has. I run serial consoles
> all the time, and if they're not sized to 80x25 weird stuff happens.
>
> 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.
> Running "eval `resize`" fixes that (until you resize the window). Running
> just "resize" does not have any effect on that at all.
>
> Cannot we determine the presence of "tty" and "resize" commands at compile
> time? something like:
>
> if has_command("tty") and has_command("resize"):
>     install -m 755 ${S}/resize.sh ${D}${sysconfdir}/profile.d/


As part of busybox, yes.  Not anywhere else though.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170919/2ffad9c7/attachment-0002.html>


More information about the Openembedded-core mailing list