Package: irssi-scripts
Version: 20131030
Severity: normal
Tags: patch
This screen upstream commit changes the output of screen -ls:
http://git.savannah.gnu.org/cgit/screen.git/commit/?id=0a8c8cc080404f60aab8997cdebc50bf0a07ca14
Note how the trailing newline is removed, possibly unintentionally.
screen_away.pl uses the following code to parse the output of screen -ls:
$socket_path =~ s/^.+\d+ Sockets? in ([^\n]+)\.\n.+$/$1/s;
The regular expression includes the \n, which screen ≥ 4.3.0 does not
include anymore. This breaks screen_away with the following error when
loading:
21:55 → Irssi: Unloaded script screen_away
21:55 → screen_away: error reading screen informations from:
21:55 → screen_away: There is a screen on:M
21:55 I7051.ircI(01/15/16 13:47:16)I(Attached)
21:55 1 Socket in /var/run/screen/S-michael.M
21:55
21:55 → Irssi: Loaded script screen_away
A patch for the issue is available at
https://github.com/irssi/scripts.irssi.org/commit/392964081ab5da15f9d132ff595286dbba78309f
It might be a good idea to just update screen_away.pl to the version
available at
https://github.com/irssi/scripts.irssi.org/blob/gh-pages/scripts/screen_away.pl,
but I’ll leave that up to you :).
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel
Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages irssi-scripts depends on:
ii irssi 0.8.17-1+b2
ii perl 5.22.1-3
Versions of packages irssi-scripts recommends:
ii libwww-perl 6.15-1
Versions of packages irssi-scripts suggests:
ii google-chrome-unstable [www-browser] 49.0.2618.8-1
ii iceweasel [www-browser] 43.0.4-1
ii libdbi-perl 1.634-1+b1
ii net-tools 1.60+git20150829.73cef8a-2
ii perl-modules-5.22 [perl-modules] 5.22.1-3
-- no debconf information