From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9A1623954464; Wed, 16 Nov 2022 05:31:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A1623954464 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668576716; bh=TvATr3SsRAUYjUYxKCnk7iwyws+A2rf1Xr48EVpmHqo=; h=From:To:Subject:Date:From; b=YcfEtDTsfS+8BjSe9Gu309taz7OtveUnTl7cQoDuSANtf3aW/w8PdravsjN/fc7Ip KcHwJb/5VEt2sH/Unk9jdS2vWhyaJGO3Rmr5n3T8P29VWgpaHAszRvUbck7ZlmFHCx xQLATjFkmnIw4Dcm2HXA90qwwHGTGVMNOaLnZpbg= From: "phi.debian at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug tui/29789] New: tui enable trash terminal color palette Date: Wed, 16 Nov 2022 05:31:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: phi.debian at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29789 Bug ID: 29789 Summary: tui enable trash terminal color palette Product: gdb Version: HEAD Status: UNCONFIRMED Severity: minor Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: phi.debian at gmail dot com Target Milestone: --- Hi, On latest build (and since the epoch I guess) "tui enable" trash the termin= al color palette. My terminals (xterm, mate-terminal, terminator, etc..) all have their color setup to my liking (theme) When entering GDB in TUI mode, curses don't temper with colors, so all is f= ine, notably, the src-win rendering with color is super. (gdb) tui disable Color still ok=20 (gdb) list 1=20 Still ok (gdb) tui enable xterm color palette trashed, a reset escape sequence is sent to xterm, src_= win color ugly (barely readable in my case, contrast) To restore this without exiting GDB, while in tui enable mode (gdb) shell setup-terminal-palette (gdb) ^L --=20 You are receiving this mail because: You are on the CC list for the bug.=