Commit Graph

513 Commits

Author SHA1 Message Date
Amadeusz Sławiński
cfdbd4e751 fix terminal type length in option parsing
cherry-pick from master

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
2016-09-01 21:11:24 +02:00
Jan C. Nordholz
08c5d3b6b0 Fixes broken handling of "bind u digraph U+"
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
2016-08-07 14:09:09 +02:00
Dmitri Vereshchagin
1babc3f765 Fix crash when bumping blank window
Blank window shouldn't be swapped with normal one.  bumpleft and
bumpright need a fore window to operate properly.
2016-07-09 23:37:52 +02:00
Amadeusz Sławiński
b6256ac1aa fix install with custom DESTDIR
Bug: 48370
2016-07-04 20:46:17 +02:00
Amadeusz Sławiński
33e46a16bc use VDISABLE instead of hardcoded values
Bug: 48339

Reported-By: Valentin Nechayev <n-gnu@nn.kiev.ua>
2016-07-04 20:31:54 +02:00
Amadeusz Sławiński
eeb46067d0 change VKILL to ^U
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>
2016-07-04 20:27:58 +02:00
Amadeusz Sławiński
fd3090fb0c Fix typos in documentation
Bug: 48277
2016-06-20 19:25:17 +02:00
Amadeusz Sławiński
4c68f0ea9d 4.4.0 bump v.4.4.0 2016-06-19 22:22:20 +02:00
Amadeusz Sławiński
bfae454059 Fix more hardcoded termlen
cherry-pick from master branch
bumped struct msg version
2016-06-18 12:58:19 +02:00
Amadeusz Sławiński
5ecd2b3958 fix null pointer dereference in RC_LOGFILE
Bug: 47826
2016-05-02 19:20:45 +02:00
Amadeusz Sławiński
23c7d0e199 fix logfile command so it starts logging to new file
Bug: 46228
2016-04-05 19:00:52 +02:00
Amadeusz Sławiński
738fefe659 fix compile with -DDEBUG 2016-03-10 23:52:01 +01:00
Alexander Naumov
0fae6713ab bugfix: vi-style search fails on long wrapped lines.
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>
2016-03-07 14:11:26 +01:00
Amadeusz Sławiński
4b2a6de31d Global out of bounds read in termcap.c due to wrong loop
Bug: 46401
2015-12-06 16:08:48 +01:00
Ed King
4b12d96b4a Added support for 24 function keys (ie. up to Shift-F12) 2015-09-05 19:04:02 +00:00
Amadeusz Sławiński
785fef09ea fix impossible if()
Bug: 40238
2015-09-05 17:13:07 +00:00
Amadeusz Sławiński
1db6b45904 Use-after-free
clang analyzer

move it before free
2015-09-05 15:39:10 +00:00
Amadeusz Sławiński (amade)
01476b764b remove unused variables xs xe ys 2015-09-05 15:39:08 +00:00
Amadeusz Sławiński
2e2410a668 Revert "change checks for utmp/utmpx in header"
This thing is more broken than I thought...
there is probably less musl linux users than cygwin ones so fully revert

This reverts commit 74fdc8988b.
2015-09-05 15:38:07 +00:00
Amadeusz Sławiński
84c15c98ab Partially revert "change checks for utmp/utmpx in header"
This reverts commit 74fdc8988b.
2015-09-05 14:58:14 +00:00
saper
cbda652881 Add trivial definitions of RFC 2292 CMSG_LEN() CMSG_SIZE() 2015-09-05 14:35:59 +00:00
saper
bfd4662c36 Use realpath(name, buf) for Solaris 2015-09-05 14:11:43 +00:00
Kuang-che Wu
b7484c2247 Fix stack overflow due to too deep recursion
Bug: 45713

How to reproduce:
Run this command inside screen
$ printf '\x1b[10000000T'

screen will recursively call MScrollV to depth n/256. This is time consuming and will overflow stack if n is huge.
2015-08-31 17:55:25 +00:00
Amadeusz Sławiński
03b8502450 Fix multijob build
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
2015-08-08 21:10:02 +02:00
Alexander Naumov
31a442974b Remove version number from INSTALL, README and man page
Having the version as text in the manpage does not make
sense, you find:
       -v   Print version number.
in the manpage already.

Also a few another files have the version included and
needed to get touched...

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2015-07-01 11:07:15 +02:00
Amadeusz Sławiński
10a63e7b24 4.3.1 bump v.4.3.1 2015-06-28 23:43:42 +02:00
Alexander Naumov
fdd65811ab Update ChangeLog: version 4.3.0
Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2015-06-22 20:51:37 +02:00
Amadeusz Sławiński
27a8c9677a Fix off by one error when resizing windows
Bug: 45321

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
2015-06-21 22:34:29 +02:00
Amadeusz Sławiński
307540f204 Update README and INSTALL files
Update versions
Update links
Add current e-mail address
v.4.3.0
2015-06-13 18:31:57 +02:00
Amadeusz Sławiński
74fdc8988b change checks for utmp/utmpx in header
linuxes should've working utmpx, so this check was bit weird
commit 2b1bdf96 mentions some "linux workaround", but nothing specific

fixes build with musl libc
2015-06-13 18:00:58 +02:00
Alexander Naumov
95b05ac4e1 man page: AUTHORS, emails added
Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2015-06-12 14:37:11 +02:00
Alexander Naumov
5710fb8e06 Update man page (part AUTORS)
Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2015-06-11 12:15:26 +02:00
Amadeusz Sławiński
206bef2725 Fix implicit declarations 2015-06-10 23:39:22 +02:00
Amadeusz Sławiński
e86a6e3c39 fix warning with clang
fix warning with clang
warning: data argument not used by format string
2015-06-10 23:38:55 +02:00
Amadeusz Sławiński
2ec8f6e279 from gentoo screen-4.0.1-int-overflow-fix.patch
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
2015-06-10 23:38:40 +02:00
Amadeusz Sławiński
5ac9ca9200 from gentoo 4.0.2-nonblock.patch
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
2015-06-10 23:38:31 +02:00
Amadeusz Sławiński
66eb309fbc add parenthesis around evaluated expressions
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
2015-06-10 23:37:41 +02:00
Amadeusz Sławiński
28d4a050ae Document new commands
bumpleft, bumpright, collapse
2015-06-10 23:36:46 +02:00
Amadeusz Sławiński
6721b8d1f5 port of bumpandcollapse patch
original patch by D Andrew Reynhout
http://www.quesera.com/reynhout/misc/screen+bumpandcollapse/

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
2015-06-10 23:09:58 +02:00
Alexander Naumov
6795815fe1 I'd like to upstream the ipv6.patch.
Some distributions downstream supply it for years:

http://pkgs.fedoraproject.org/cgit/screen.git/tree/screen-ipv6.patch
https://sources.debian.net/src/screen/4.2.1-3/debian/patches/48screen-ipv6.patch/
https://build.opensuse.org/package/view_file/openSUSE:Factory/screen/screen-4.0.3-ipv6.patch

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2015-06-10 13:06:07 +02:00
Amadeusz Sławiński (amade)
5ac6a9498c fix possible repeated close() in file 2015-06-08 23:50:24 +02:00
Amadeusz Sławiński
6d367d5ca4 Document -R & -RR options properly
Bug: 45202
2015-06-08 23:43:38 +02:00
Amadeusz Sławiński
98334b5f85 Document hardstatus firstline 2015-06-08 23:36:12 +02:00
HoverHell
8ad0dcf923 Apply hardstatusfirstline.patch on git
Adapted on top of git sources, patch from:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512342

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
2015-06-08 23:16:00 +02:00
Alexander Naumov
cbd56846a7 Add AC_PREREQ to specify min autoconf version
Bugfix for: bug #38201

Thanks to Seth LaForge <sethml@google.com>

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2015-06-04 01:07:37 +02:00
Alexander Naumov
a8dc1fb5b4 Rename configure.in to configure.ac
Newer versions of autotools have started warning
when using the old 'configure.in' name.

Bugfix for: bug #45249

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2015-06-04 00:25:18 +02:00
Alexander Naumov
3e41beaae0 Add AC_PREREQ to specify min autoconf version
Bugfix for: https://savannah.gnu.org/bugs/?38201

Thanks to Seth LaForge <sethml@google.com>

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2015-06-03 23:45:24 +02:00
Alexander Naumov
a57d750e2a screen: Introduce argument to windows command
A string escape can be passed which makes the windows
command much more flexible. The default string escape
if no argument is passed is "%n%f %t " which is intended
to rebuild the same output the windows command would give
as good as possible (slight changes with the flags can
happen).

This command is also not be limited in output size
(the windows command is limited to 1024 bytes).

The windowsx command can be queried (-Q command) and
this is its main purpose (be able to query the exact
window list status of an active screen session from
shell).

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
Signed-off-by: Thomas Renninger <trenn@suse.de>
2015-06-03 14:29:42 +02:00
Alexander Naumov
93fc5a42ad Sort the windows in alphabetical order of the window tiles
Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
Signed-off-by: Thomas Renninger <trenn@suse.de>
2015-06-03 13:28:39 +02:00
Alexander Naumov
54d3b3ca4f Update man page (version 4.3.0)
Signed-off-by: Alexander Naumov <posix.ru@gmail.com>
2015-06-02 18:25:43 +02:00