From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49030 invoked by alias); 8 Apr 2015 18:02:25 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 49005 invoked by uid 48); 8 Apr 2015 18:02:25 -0000 From: "dje at google dot com" To: gdb-prs@sourceware.org Subject: [Bug tui/18215] New: need to save/reset/restore tty settings when popping into a shell from tui mode Date: Wed, 08 Apr 2015 18:02:00 -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: normal X-Bugzilla-Who: dje at google dot com X-Bugzilla-Status: NEW 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00024.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18215 Bug ID: 18215 Summary: need to save/reset/restore tty settings when popping into a shell from tui mode Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: dje at google dot com I happened to try "shell" in tui, and noticed the tty settings are all wrong. gdb needs to restore the original tty settings when going into shell mode, and switch back to curses mode afterwards. I can imagine wanting to pop into a shell while leaving curses intact -> can we have an option to run the shell in a pty? And how about a pony? [This came up on IRC where a user noted that inferior output interferes with curses. We need a mode to run inferiors in their own pty. I had the beginnings of a patch, but need more roundtuits.] -- You are receiving this mail because: You are on the CC list for the bug.