Re: With DEBUG trap, resizing window crashes script

2023-05-25 Thread L A Walsh
On 2023/05/10 13:13, Eduardo Bustamante wrote: If you wish for the current shell to continue running after a terminal resize, then set the signal disposition for SIGWINCH to ignore. --- You can also display the new size: alias my=declare showsize () {\ my s=$(stty size); s="(${s// /x})" ;

Re: With DEBUG trap, resizing window crashes script

2023-05-10 Thread Eduardo Bustamante
On Wed, May 10, 2023 at 1:03 PM Wiley Young wrote: > (...) > The script is set up to enable the DEBUG trap and prompt. When the first > user prompt appears, in this case `set -x` although xtrace was enabled at > the crashbang, if I resize the window then press enter, the script dies and > displa