This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/15958] New: readline modifies env (LINES+COLUMNS)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]