This is split into two commits:
commit 8ecbf42730cae3b6b50d36f453478a1afdf0780c (HEAD -> kbsd/script) Author: Kyle Evans <kevans@FreeBSD.org> Date: Fri Apr 26 11:12:00 2024 -0500 script: handle terminal resize on SIGWINCH Add a -w flag to forward terminal resize events on to the child, which can be useful in some circumstances to avoid terminal corruption. Co-authored-by: Xavier Beaudouin <xavier.beaudouin@klarasystems.com> Sponsored by: Modirum MDPay Sponsored by: Klara, Inc. commit 8e5a3c3e7b70eceb39c19655f8e2d75748ef7524 Author: Xavier Beaudouin <xavier.beaudouin@klarasystems.com> Date: Fri Apr 26 11:10:15 2024 -0500 script: minor style improvements Fix some nits pointed out by checkstyle9.pl in advance of functional changes to script(1).