Also drop file checking, as it became clear that it doesn't make much
sense for example with "-Logfile 'logfile.%n'" each window would have
it's own logfile and in theory we would need to check them all and still
someone could prevent us to open logfile at runtime due to creating
conflicting file with properly crafted permissions, before we open a
window.
This fixes API:
To enable logging we use -L option. But in case of
default logfile name (screenlog.0) we will need to
define it anyway. Because screen will try to interpret
next option as a parameter for -L option (which is
logfile name). It will fails ALWAYS, because next
parameter will always start with "-" symbol...
what is not permited for logfile name of course.
For example:
$ screen -L -D -m ./configure
In this case logfile name is screenlog.0, because "-D"
will not be interpreted by screen as a name of logfile.
Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
Screen shows error message and terminates if you
specify not available (permissions problem?) logfile
name (-L parameter).
bug #49491
Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
allows enabling/disabling window title change via escape sequences
useful if you want to have one or more windows with static titles, but
your shell or other screen aware application changes it
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
screen-4.4.0 built from source using -D_FORTIFY_SOURCE=1 on Fedora 24 crashes when a new window is created using the -T parameter and a sufficiently long string.
https://bugzilla.redhat.com/show_bug.cgi?id=1350549
Reported-by: Ricardo Garcia
Bug: 48983
This results in a SIGSEGV instead of prompting for the
remainder. Also fixes an allocation inaccuracy I found while
debugging this, even though that one looks innocuous.
Bug-Debian: https://bugs.debian.org/831672
Bug: 48691
it seems to be sane default on unix systems
among other things, fixes weird behaviour of 'read' in bash on screen -dm
Bug: 48339
Reported-By: Valentin Nechayev <n-gnu@nn.kiev.ua>
In scrollback mode, vi-style search was failing to
find text split across multiple lines by line wrapping.
Signed-off-by: Michael Constant <mconst@gmail.com>