Package: screen
Version: 5.0.1-2
Severity: normal

Dear Maintainer,

I have a program which runs in one window of my screen, monitoring certain 
parameters.
When those parameters reach certain values, it executes a command in another 
program, running in
another window of the same screen.

So if the windows are 1 and 2, then the program in screen 1 will execute a 
command
screen -p 2 -X stuff "some commands". Program in window 2 receives those 
commands as if
they came from the keyboard. Very nice.

This worked for several years, no problems.

However, recently (days ago), this started failing: now whenever I run screen 
-p (number),
I get an error saying "could not find pre-select window".

Note: I have only one screen process running. This does not seem to be about 
the command being
sent to the wrong screen session.

Restarting screen did not bring any change.

-- Package-specific info:
File Existence and Permissions
------------------------------

drwxr-xr-x 49 root root   1380 May 28 19:08 /run
lrwxrwxrwx  1 root root      4 May 27  2022 /var/run -> /run
-rwxr-xr-x  1 root root 482016 May 16 01:00 /usr/bin/screen
-rw-r--r--  1 root root    119 May 27  2022 /etc/tmpfiles.d/screen-cleanup.conf
lrwxrwxrwx  1 root root      9 May 27  2022 
/lib/systemd/system/screen-cleanup.service -> /dev/null
-rwxr-xr-x  1 root root   1222 Feb 18  2021 /etc/init.d/screen-cleanup
lrwxrwxrwx  1 root root     24 May 27  2022 /etc/rcS.d/S01screen-cleanup -> 
../init.d/screen-cleanup

File contents
-------------

### /etc/tmpfiles.d/screen-cleanup.conf
______________________________________________________________________
# This file is generated by /var/lib/dpkg/info/screen.postinst upon package 
configuration
d /run/screen 1777 root utmp
______________________________________________________________________

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.8+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages screen depends on:
ii  debianutils  5.23.2
ii  libc6        2.42-16
ii  libpam0g     1.7.0-5+b2
ii  libtinfo6    6.6+20251231-1+b1

screen recommends no packages.

Versions of packages screen suggests:
pn  byobu | screenie | iselect  <none>
ii  ncurses-term                6.6+20251231-1

-- no debconf information

Reply via email to