Your message dated Tue, 15 Apr 2025 18:02:51 +1000
with message-id <[email protected]>
and subject line top terminal resizing
has caused the Debian Bug report #963471,
regarding procps: Rexecutes command on terminal size change (SIGWINCH signal)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
963471: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963471
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 2:3.3.16-5
Severity: normal

It appears watch programs reacts to some signals in undocumented manner.

On receving SIGWINCH (terminal size change) it reexecutes the command and
redraws. That might be problematic, as sometimes watch is to trigger
periodic events, and resizing a window will send big number of signal in
quick succession as the size is changing when the user moves the mouse.


I think using SIGUSR1 (like dd) or SIGINFO (like most bsd tools), could
be a better option.

Or only rerun the command if the window is resized to be bigger than the
current size?




-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-1-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages procps depends on:
ii  init-system-helpers  1.57
ii  libc6                2.30-8
ii  libncurses6          6.2-1
ii  libncursesw6         6.2-1
ii  libprocps8           2:3.3.16-5
ii  libtinfo6            6.2-1
ii  lsb-base             11.1.0

Versions of packages procps recommends:
ii  psmisc  23.3-1

procps suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Package: procps
Version 2:4.0.3-1

In procps 4.0.3 watch was adjusted to not re-run the program
with the --no-rerun option

--- End Message ---

Reply via email to