public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Tian, Feng" <feng.tian@intel.com>
To: "Brian J. Johnson" <bjohnson@sgi.com>,
	"Zeng, Star" <star.zeng@intel.com>
Cc: Roy Franz <roy.franz@hpe.com>,
	Ryan Harkin <ryan.harkin@linaro.org>,
	Laszlo Ersek <lersek@redhat.com>,
	"edk2-devel@lists.01.org" <edk2-devel@ml01.01.org>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	"Tian, Feng" <feng.tian@intel.com>
Subject: Re: [PATCH 0/3] MdeModulePkg/TerminalDxe: TtyTerm improvements
Date: Thu, 27 Oct 2016 01:01:26 +0000	[thread overview]
Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE566E39502@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <ac19b5cb-666e-da3e-9851-625874a3f761@sgi.com>

Sorry for missing this patch.

Reviewed-by: Feng Tian <feng.tian@intel.com>

I will help push it in.

Thanks
Feng

-----Original Message-----
From: Brian J. Johnson [mailto:bjohnson@sgi.com] 
Sent: Wednesday, October 26, 2016 11:00 PM
To: Tian, Feng <feng.tian@intel.com>; Zeng, Star <star.zeng@intel.com>
Cc: Roy Franz <roy.franz@hpe.com>; Ryan Harkin <ryan.harkin@linaro.org>; Laszlo Ersek <lersek@redhat.com>; edk2-devel@lists.01.org <edk2-devel@ml01.01.org>; Leif Lindholm <leif.lindholm@linaro.org>
Subject: Re: [edk2] [PATCH 0/3] MdeModulePkg/TerminalDxe: TtyTerm improvements

On 10/18/2016 10:34 AM, Brian J. Johnson wrote:
> On 10/14/2016 03:37 PM, Laszlo Ersek wrote:
>> On 10/14/16 21:39, Brian J. Johnson wrote:
>>> On 10/12/2016 03:17 AM, Ryan Harkin wrote:
>>>> On 7 October 2016 at 16:59, Leif Lindholm 
>>>> <leif.lindholm@linaro.org>
>>>> wrote:
>>>>> Roy can now be found at Roy Franz <roy.franz@hpe.com> (cc:d).
>>>>>
>>>>> On Fri, Oct 07, 2016 at 05:56:26PM +0200, Laszlo Ersek wrote:
>>>>>> Roy, Ryan,
>>>>>>
>>>>>> On 10/07/16 16:53, Brian J. Johnson wrote:
>>>>>>> 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 <bjohnson@sgi.com>
>>>>>>> Cc: Feng Tian <feng.tian@intel.com>
>>>>>>> Cc: Star Zeng <star.zeng@intel.com>
>>>>>>>
>>>>>>> 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(-)
>>>>>>>
>>>>>>
>>>>>> can you please provide feedback (testing or otherwise) on this 
>>>>>> series?
>>>>>>
>>>>
>>>> Well, they "work" for me and I'd be happy with them being submitted.
>>>>
>>>> Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
>>>>
>>>> The only curious effect I can see is the Print(L"xxx"); lines that 
>>>> expect the \n to be missing will no longer "work".  For example, I 
>>>> carry a patch by Daniil Egranov titled
>>>> "IntelFrameworkModulePkg/BdsDxe: Show boot timeout message" and it 
>>>> no longer displays the countdown on the same line each time, it 
>>>> prints each message on a new line.
>>>>
>>>> However, I don't see that as a blocking point, Daniil's patch could 
>>>> be changed easily and there are other advantages to this series 
>>>> that make it worthwhile, IMO, eg, Shell commands with lots of 
>>>> output (like "help" or "dir fs0:") no longer create an awful mess 
>>>> on the serial console.
>>>>
>>>
>>> So, is this just waiting for a maintainer's review?
>>
>> That's my understanding, yes.
>
> Feng or Star, could you please review these changes?

Ping?
-- 

						Brian J. Johnson

--------------------------------------------------------------------

   My statements are my own, are not authorized by SGI, and do not
   necessarily represent SGI’s positions.

      reply	other threads:[~2016-10-27  1:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-07 14:53 [PATCH 0/3] MdeModulePkg/TerminalDxe: TtyTerm improvements Brian J. Johnson
2016-10-07 14:53 ` [PATCH 1/3] MdeModulePkg/TerminalDxe: Improve TtyTerm cursor position tracking Brian J. Johnson
2016-10-07 14:53 ` [PATCH 2/3] MdeModulePkg/TerminalDxe: Optimize TtyTerm cursor motion Brian J. Johnson
2016-10-27  3:09   ` Kinney, Michael D
2016-10-27  5:06     ` Tian, Feng
2016-10-27 18:06     ` Brian J. Johnson
2016-10-27 18:14       ` Kinney, Michael D
2016-10-27 18:32         ` Kinney, Michael D
2016-10-07 14:54 ` [PATCH 3/3] MdeModulePkg/TerminalDxe: Handle more keys with TtyTerm Brian J. Johnson
2016-10-14 20:53   ` Roy Franz (HPE)
2016-10-07 15:56 ` [PATCH 0/3] MdeModulePkg/TerminalDxe: TtyTerm improvements Laszlo Ersek
2016-10-07 15:59   ` Leif Lindholm
2016-10-12  8:17     ` Ryan Harkin
2016-10-14 19:39       ` Brian J. Johnson
2016-10-14 20:37         ` Laszlo Ersek
2016-10-18 15:34           ` Brian J. Johnson
2016-10-26 15:00             ` Brian J. Johnson
2016-10-27  1:01               ` Tian, Feng [this message]

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-list 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=7F1BAD85ADEA444D97065A60D2E97EE566E39502@SHSMSX101.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /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