public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "dje at google dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-18215-4717@http.sourceware.org/bugzilla/> (raw)

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.


             reply	other threads:[~2015-04-08 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 18:02 dje at google dot com [this message]
2023-05-24 13:46 ` [Bug tui/18215] " vries at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-18215-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).