public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/10722] New: tui (gdb) prompt empty lines do not newline
@ 2009-10-02 17:19 jan dot kratochvil at redhat dot com
  2009-10-02 17:24 ` [Bug tui/10722] " jan dot kratochvil at redhat dot com
  2009-10-02 18:18 ` pedro at codesourcery dot com
  0 siblings, 2 replies; 4+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-10-02 17:19 UTC (permalink / raw)
  To: gdb-prs

Standard terminal readline:
$ gdb -q
(gdb) <enter>
(gdb)

TUI behavior:
$ gdb -q --tui
(gdb) <enter - nothing happens, it clears the same line>

The TUI window should emulate the standard terminal window so the behavior
should be the same, shouldn't it?

>From the thread: http://sourceware.org/ml/gdb/2009-10/msg00011.html

-- 
           Summary: tui (gdb) prompt empty lines do not newline
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: tui
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: jan dot kratochvil at redhat dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10722

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tui/10722] tui (gdb) prompt empty lines do not newline
  2009-10-02 17:19 [Bug tui/10722] New: tui (gdb) prompt empty lines do not newline jan dot kratochvil at redhat dot com
@ 2009-10-02 17:24 ` jan dot kratochvil at redhat dot com
  2009-10-02 18:18 ` pedro at codesourcery dot com
  1 sibling, 0 replies; 4+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-10-02 17:24 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |10723
              nThis|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=10722

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tui/10722] tui (gdb) prompt empty lines do not newline
  2009-10-02 17:19 [Bug tui/10722] New: tui (gdb) prompt empty lines do not newline jan dot kratochvil at redhat dot com
  2009-10-02 17:24 ` [Bug tui/10722] " jan dot kratochvil at redhat dot com
@ 2009-10-02 18:18 ` pedro at codesourcery dot com
  1 sibling, 0 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2009-10-02 18:18 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From pedro at codesourcery dot com  2009-10-02 18:18 -------
Subject: Re:  New: tui (gdb) prompt empty lines do not newline

Funny, I always thought this was a feature, not a bug,
due to TUI's small console buffer.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10722

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tui/10722] tui (gdb) prompt empty lines do not newline
       [not found] <bug-10722-4717@http.sourceware.org/bugzilla/>
@ 2012-11-10 13:35 ` Stephane.Carrez at gmail dot com
  0 siblings, 0 replies; 4+ messages in thread
From: Stephane.Carrez at gmail dot com @ 2012-11-10 13:35 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=10722

Stephane Carrez <Stephane.Carrez at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |Stephane.Carrez at gmail
                   |                            |dot com
         Resolution|                            |INVALID

--- Comment #2 from Stephane Carrez <Stephane.Carrez at gmail dot com> 2012-11-10 13:35:25 UTC ---
I confirm that this was intentional.  See tui/tui-io.c, in tui_getc

      /* When hitting return with an empty input, gdb executes the last
         command.  If we emit a newline, this fills up the command window
         with empty lines with gdb prompt at beginning.  Instead of that,
         stay on the same line but provide a visual effect to show the
         user we recognized the command.  */

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-10 13:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-02 17:19 [Bug tui/10722] New: tui (gdb) prompt empty lines do not newline jan dot kratochvil at redhat dot com
2009-10-02 17:24 ` [Bug tui/10722] " jan dot kratochvil at redhat dot com
2009-10-02 18:18 ` pedro at codesourcery dot com
     [not found] <bug-10722-4717@http.sourceware.org/bugzilla/>
2012-11-10 13:35 ` Stephane.Carrez at gmail dot com

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).