[screen-devel] [PATCH 0/2] [screen-v4] Backport OSC 11 support

2018-09-10 Thread Lubomir Rintel
Hi there, please consider adding these two patches to screen-v4 (unless v5 is soon to be released). These patches make sure Vim guesses whether it's running on a dark or white background and use reasonable color palette for syntax highlighting. I've been running a v5 snapshot with these patches f

[screen-devel] [PATCH 1/2] [screen-v4] ansi: add support for xterm OSC 11

2018-09-10 Thread Lubomir Rintel
It allows for getting and setting the background color. Notably, Vim uses OSC 11 to learn whether it's running on a light or dark colored terminal and choose a color scheme accordingly. Tested with gnome-terminal and xterm. When called with "?" argument the current background color is returned:

[screen-devel] [PATCH 2/2] [screen-v4] ansi: terminate xterm OSC response the same way as the request

2018-09-10 Thread Lubomir Rintel
There's two way to terinate an OSC: ST (\033\\) or BEL (\a). Use whatever the original request used instead of always forcing a BEL. Signed-off-by: Lubomir Rintel (cherry picked from commit 11a74b838216bf3c90eb4c3369592f2632838095) --- src/ansi.c| 7 ++- src/display.c | 7 --- src/ex

[screen-devel] [bug #54644] crash on dinfo, "stack smashing detected"

2018-09-10 Thread Jason Simpson
URL: Summary: crash on dinfo, "stack smashing detected" Project: GNU Screen Submitted by: jxyzn Submitted on: Tue 11 Sep 2018 01:59:26 AM UTC Category: Program Logic S