From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64137 invoked by alias); 5 Jul 2015 21:03:07 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 64123 invoked by uid 89); 5 Jul 2015 21:03:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-qk0-f171.google.com Received: from mail-qk0-f171.google.com (HELO mail-qk0-f171.google.com) (209.85.220.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 05 Jul 2015 21:03:05 +0000 Received: by qkei195 with SMTP id i195so105942345qke.3 for ; Sun, 05 Jul 2015 14:03:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=gu2XnOyGm3wEK/RZrr/7ljz+fm2Uhq1EtgKe1HQPwys=; b=RBhlhMRyU+gg0QCk4+MswgxgpoQ8ZKUiasTbCBqKxc30lKlr7W7uTtnmN+jHTtnCte 6hLGijvUDau4gPtvZF2RN6NIfxymqDB5ufBdgUzcszz/NeUR/6zb7zksY8+U1T2Xoy3N L/fTfNeWvM66qY1MBgSW7wE1VLewJHDPOgWLiDDZqgJa2pxvLkuPrEeBYjcwAhn6AcK6 a7KRwgSuRz4HximuRLMPsptUiWRcGQKrrSuTPeFeeerIl48ZTcqNBbQJiwmScX7dF+La I8vC+Hs1Q5soh53ymJznBk00c0CqvEHI/iLAPb5LJPwxD0pEiEwX8x+wuLkHYdL04s17 xEHQ== X-Gm-Message-State: ALoCoQnkTIag8/YkUJQpJkhlvIqqGM2CczNz/0R61RnyLduSEiFKzTkoVd2fJfG3k+Og7Aimmgw8 X-Received: by 10.140.202.65 with SMTP id x62mr70499965qha.102.1436130183571; Sun, 05 Jul 2015 14:03:03 -0700 (PDT) Received: from localhost.localdomain (ool-4353acd8.dyn.optonline.net. [67.83.172.216]) by mx.google.com with ESMTPSA id 131sm8179845qhf.14.2015.07.05.14.03.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Jul 2015 14:03:02 -0700 (PDT) From: Patrick Palka To: gdb-patches@sourceware.org Cc: Patrick Palka Subject: [PATCH 0/5] An attempt to provide "scrolling" functionality to TUI (PR tui/14584) Date: Sun, 05 Jul 2015 21:03:00 -0000 Message-Id: <1436130177-21362-1-git-send-email-patrick@parcs.ath.cx> X-SW-Source: 2015-07/txt/msg00107.txt.bz2 The first 3 patches are bug fixes/cleanups that are useful in themselves. The 4th patch is a fix which is only useful if the 5th patch is accepted. The 5th patch implements the actual "scrolling" functionality, and fixes the PR. Patrick Palka (5): tui: reset start_line whenever cur_line is reset tui: use tui_putc to output newline entered by the user tui: simplify and fix up handling of start_line in tui_redisplay_readline tui: make updating of start_line in tui_puts more consistent tui: maintain a scrollback buffer and dump it upon exit (PR tui/14584) gdb/tui/tui-data.c | 6 ++-- gdb/tui/tui-io.c | 100 +++++++++++++++++++++++++++++++++++++++++++++++------ gdb/tui/tui-io.h | 5 +++ gdb/tui/tui-win.c | 1 + gdb/tui/tui.c | 3 ++ 5 files changed, 102 insertions(+), 13 deletions(-) -- 2.5.0.rc0.5.g91e10c5.dirty