summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release v4.5.1v.4.5.1Alexander Naumov2017-02-225-75/+86
|
* bugfix: Screen doesn't build on SunOSAlexander Naumov2017-02-151-1/+4
| | | | bug #50089
* limits.h => PATH_MAX for SunOSAlexander Naumov2017-02-131-0/+1
| | | | bug #50089
* "-Logfile" set logfile only (doesn't turn on logging)Alexander Naumov2017-02-081-1/+1
|
* misprint in help.cAlexander Naumov2017-02-081-1/+1
|
* adding "-Logfile" option to helpAlexander Naumov2017-02-081-1/+2
|
* update documentation "-L logfile" -> "-Logfile"Amadeusz Sławiński2017-02-072-7/+8
|
* make -L logfile into separate -Logfile parameterAmadeusz Sławiński2017-02-071-15/+9
| | | | | | | | | 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.
* CVE-2017-5618: secure open/close logfileAlexander Naumov2017-02-062-7/+20
| | | | | | bug #50142 Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* Fixed some typos found by LintianAxel Beckert2017-02-032-4/+4
| | | | | Author: Axel Beckert <abe@debian.org> Bug-Debian: https://bugs.debian.org/741141
* Z0width & Z1width are only assigned once, make them constAmadeusz Sławiński2017-02-015-7/+6
| | | | | | | It's modified cherry-pick of f4e6265c8be5e74590b7bf24fe5250e70283ccb0 from master branch. Fix: 50197
* Adding "-L logfile" option for setting new logfile's nameAlexander Naumov2017-01-262-16/+16
| | | | | Now it's possible to set your own lofile name with this option ONLY. It fixes also API of old versions.
* Replace screenlogfile only if it's neededAlexander Naumov2017-01-241-5/+6
|
* Division by zero! Solution neededAlexander Naumov2017-01-211-1/+6
|
* Value stored to 'i' during its initialization is never readAlexander Naumov2017-01-211-1/+1
| | | | i.e. we initialize 'i' twice (next line)
* Value stored to 'av' during its initialization is never readAlexander Naumov2017-01-211-1/+1
| | | | i.e. we initialize 'av' twice
* Value stored to 'num' is never readAlexander Naumov2017-01-211-1/+1
|
* Ignore logfile's name that begins with the "-" symbolAlexander Naumov2017-01-213-4/+6
| | | | | | | | | | | | | | | | | | 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>
* variable 'oldtop' set but not usedAlexander Naumov2017-01-191-2/+1
|
* Refactoring + 'olddisplay' is never read (LayPause)Alexander Naumov2017-01-191-815/+693
|
* [PATCH] restore comparision not to be bitwiseElan Ruusamäe2017-01-191-1/+1
|
* Release v4.5.0v.4.5.0Alexander Naumov2016-12-074-11/+20
| | | | Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* Build bugfix for AIXAlexander Naumov2016-12-063-1/+8
| | | | | bug #49149 Thanks to Tony Reix
* Help message knows about log filename (-L)Alexander Naumov2016-12-061-1/+1
| | | | Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* Code reformating (layout.c + logfile.c)Alexander Naumov2016-11-062-290/+185
| | | | Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* Code reformating (fileio.c)Alexander Naumov2016-11-051-523/+420
| | | | Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* Code reformating (viewport.c)Alexander Naumov2016-11-051-84/+73
| | | | Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* Code reformating (help.c)Alexander Naumov2016-11-051-454/+335
| | | | Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* fix %x improperly separating argumentsAmadeusz Sławiński2016-11-041-1/+1
| | | | thanks to canvon from irc
* adding permissions check for the logfile nameAlexander Naumov2016-11-041-0/+6
| | | | | | | | | | 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>
* fix term size in replyAmadeusz Sławiński2016-10-281-2/+2
|
* document dynamictitle and defdynamictitle commandsAmadeusz Sławiński2016-10-191-1/+15
| | | | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* add dynamicatitle and defdynamictitle commandsAmadeusz Sławiński2016-10-195-1/+16
| | | | | | | | 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>
* Remove unnecessary decrement of rep_cntGuo Ci2016-10-161-1/+0
| | | | | | | Currently, 0% and 1% points to the same location in the scrollback buffer due to this bug. Bug: 49336
* Code reformatingAlexander Naumov2016-09-241-1945/+1818
| | | | Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* Allow specifying logfile's name via command line parameterAlexander Naumov2016-09-223-2/+14
| | | | Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
* fix crash with long $TERMAmadeusz Sławiński2016-09-101-3/+3
| | | | | | | | | 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
* fix terminal type length in option parsingAmadeusz Sławiński2016-09-011-1/+1
| | | | | | cherry-pick from master Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Fixes broken handling of "bind u digraph U+"Jan C. Nordholz2016-08-071-3/+3
| | | | | | | | | 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
* Fix crash when bumping blank windowDmitri Vereshchagin2016-07-091-2/+2
| | | | | Blank window shouldn't be swapped with normal one. bumpleft and bumpright need a fore window to operate properly.
* fix install with custom DESTDIRAmadeusz Sławiński2016-07-041-2/+2
| | | | Bug: 48370
* use VDISABLE instead of hardcoded valuesAmadeusz Sławiński2016-07-041-6/+6
| | | | | | Bug: 48339 Reported-By: Valentin Nechayev <n-gnu@nn.kiev.ua>
* change VKILL to ^UAmadeusz Sławiński2016-07-041-3/+3
| | | | | | | | | 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>
* Fix typos in documentationAmadeusz Sławiński2016-06-202-4/+4
| | | | Bug: 48277
* 4.4.0 bumpv.4.4.0Amadeusz Sławiński2016-06-193-4/+9
|
* Fix more hardcoded termlenAmadeusz Sławiński2016-06-188-20/+25
| | | | | cherry-pick from master branch bumped struct msg version
* fix null pointer dereference in RC_LOGFILEAmadeusz Sławiński2016-05-021-1/+1
| | | | Bug: 47826
* fix logfile command so it starts logging to new fileAmadeusz Sławiński2016-04-051-1/+7
| | | | Bug: 46228
* fix compile with -DDEBUGAmadeusz Sławiński2016-03-101-1/+1
|
* bugfix: vi-style search fails on long wrapped lines.Alexander Naumov2016-03-071-9/+30
| | | | | | | 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>