This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/15958] New: readline modifies env (LINES+COLUMNS)
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 16 Sep 2013 12:06:12 +0000
- Subject: [Bug cli/15958] New: readline modifies env (LINES+COLUMNS)
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=15958
Bug ID: 15958
Summary: readline modifies env (LINES+COLUMNS)
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: jan.kratochvil at redhat dot com
http://lists.gnu.org/archive/html/bug-readline/2013-09/msg00004.html
sh_set_lines_and_columns() sets "LINES" and "COLUMNS".
This makes gdb needlessly less transparent to its debugged programs.
readline upstream suggests a workaround:
> disable readline's SIGWINCH
> processing (rl_handle_sigwinch = 0), use its own SIGWINCH handler, and
> set readline's idea of the screen dimensions using rl_set_screen_size().
--
You are receiving this mail because:
You are on the CC list for the bug.