On 18-09-17 21:19, Burton, Ross wrote:
On 18 September 2017 at 20:01, Andre McCurdy <armccu...@gmail.com <mailto:armccu...@gmail.com>> wrote:

     > The question is does it do something useful *now*?

    I don't have a board with a serial console to test at the moment.
    Busybox hasn't changed in recent memory though, so as long as the
    resize command does actually get run I presume it's still going to
    work.


Re-read the code. There's a call to ioctl with TIOCSWINSZ which I'm *guessing* is set window size. Google is not useful for this! It does all this on stderr.


Google on TIOCSWINSZ yields:
https://linux.die.net/man/4/tty_ioctl

TIOCSWINSZ
const struct winsize *argp
    Set window size.

Of course, there is no explanation on what a "set window size" is supposed to accomplish on the terminal device.


So yes it *should* work, but not if you redirect stderr to /dev/null.

Yep.


Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijm...@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail



--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to