[Bug 1812943] [NEW] undocumented watch reacts to sigwinch or terminal resize

Evan Benn evanbenn at gmail.com
Wed Jan 23 01:53:48 UTC 2019


Public bug reported:

Hello, I would normally PR straight to the source, but I could not work
out where that is.

watch seems to react to terminal resizes (good). But this is not
documented in the man page. This is an issue if the user actually wants
that command to only run at the specified cadence. IE it is expensive or
dangerous. A flag to disable would be nice, but really just documenting
is enough.

Confirm with:

watch -n60  'echo $(( $(cat f) + 1 )) | sponge f; cat f'

and resize your window

** Affects: procps (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1812943

Title:
  undocumented watch reacts to sigwinch or terminal resize

Status in procps package in Ubuntu:
  New

Bug description:
  Hello, I would normally PR straight to the source, but I could not
  work out where that is.

  watch seems to react to terminal resizes (good). But this is not
  documented in the man page. This is an issue if the user actually
  wants that command to only run at the specified cadence. IE it is
  expensive or dangerous. A flag to disable would be nice, but really
  just documenting is enough.

  Confirm with:

  watch -n60  'echo $(( $(cat f) + 1 )) | sponge f; cat f'

  and resize your window

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1812943/+subscriptions



More information about the foundations-bugs mailing list