Bugzilla – Bug 1020870
screen: option -L has changed its usage
Last modified: 2017-01-29 19:45:22 UTC
There is an API violation on the usage of screen ... I'm using in some of my spec files some lines like screen -L -D -m setarch $(uname -m) -R ./configure screen -L -D -m ./configure to get at least a pseudo tty at configure time and now I see on Factory as well as on Tumbleweed the error [ 53s] -L: logfile name can not start with "-" symbol ... ahm ... why does the new version now break an old API here?
Thu Jan 17 23:11:38 UTC 2017 - alexander_naumov@opensuse.org - GNU Screen 4.5.0: * It's possible to specify logfile's name via command line parameter '-L'. Fixes: * broken handling of "bind u digraph U+" * crash with long $TERM * crash when bumping blank window * build for AIX * %x improperly separating arguments * install with custom DESTDIR
Indeed the old screen shows in manual page -L tells screen to turn on automatic output logging for the windows. and screen 4.5.0 does it now combine with an other feature -L tells screen to turn on automatic output logging for the windows. By default, logfile's name is screenlog.1. You can sets new name: add it right after -L option e.g. "screen -L my_logfile". IMHO the new behaviour option -L should ignore not only an empty line but also all behind a leading - including the `-' its self.
You are right. In this case it will works if: * "-L" would be a last parameter. * you specify log file name additionally
It should fix this problem: https://build.opensuse.org/request/show/453045 It supports all old API. To specify new logfile name you should use "-L logfile <FILE_NAME>" option. In case of "-L" option, screen will use default logfile name (screenlog.0).