From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.sgi.com [192.48.180.65]) by ml01.01.org (Postfix) with ESMTP id 1489A1A1E08 for ; Fri, 7 Oct 2016 07:54:01 -0700 (PDT) Received: from estes.americas.sgi.com (estes.americas.sgi.com [128.162.236.10]) by relay2.corp.sgi.com (Postfix) with ESMTP id 4FADD304048; Fri, 7 Oct 2016 07:54:00 -0700 (PDT) Received: from pc-bjohnson.americas.sgi.com (pc-bjohnson.americas.sgi.com [128.162.232.243]) by estes.americas.sgi.com (Postfix) with ESMTP id 229AA968F; Fri, 7 Oct 2016 09:54:00 -0500 (CDT) From: "Brian J. Johnson" To: edk2-devel@lists.01.org Cc: "Brian J. Johnson" , Feng Tian , Star Zeng Date: Fri, 7 Oct 2016 09:53:57 -0500 Message-Id: X-Mailer: git-send-email 2.7.4 Subject: [PATCH 0/3] MdeModulePkg/TerminalDxe: TtyTerm improvements X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2016 14:54:01 -0000 This patch series implements some improvements to the TtyTerm terminal type in the TerminalDxe driver. It fixes an end case with cursor position tracking, and uses that to optimize cursor motion escape sequences. It also adds support for the page up, page down, insert, home, and end keys on some additional common terminal emulators. The result is improved performance, especially at the shell prompt, and better compatibility with common terminal emulators. In particular, as a side effect of the optimized cursor motion, terminal windows which are taller than the current mode setting (eg. 25 lines) work much better than before. Most of these fixes have been in production in some form on SGI's servers for years. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brian Johnson Cc: Feng Tian Cc: Star Zeng Brian J. Johnson (3): MdeModulePkg/TerminalDxe: Improve TtyTerm cursor position tracking MdeModulePkg/TerminalDxe: Optimize TtyTerm cursor motion MdeModulePkg/TerminalDxe: Handle more keys with TtyTerm .../Universal/Console/TerminalDxe/Terminal.h | 2 + .../Universal/Console/TerminalDxe/TerminalConIn.c | 24 +++++++-- .../Universal/Console/TerminalDxe/TerminalConOut.c | 61 ++++++++++++++++++++-- 3 files changed, 79 insertions(+), 8 deletions(-) -- 2.7.4