From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: ray.ni@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Fri, 06 Sep 2019 13:34:43 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2019 13:34:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,474,1559545200"; d="scan'208";a="267475862" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 06 Sep 2019 13:34:42 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 6 Sep 2019 13:34:42 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 6 Sep 2019 13:34:42 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.32]) by shsmsx102.ccr.corp.intel.com ([169.254.2.113]) with mapi id 14.03.0439.000; Sat, 7 Sep 2019 04:34:39 +0800 From: "Ni, Ray" To: "rfc@edk2.groups.io" , "Ni, Ray" , "Gao, Zhichao" , "Gao, Liming" CC: "devel@edk2.groups.io" , "Xu, Shiwei" Subject: Re: [edk2-rfc] UEFI terminal console keyboard type extend for Putty Thread-Topic: [edk2-rfc] UEFI terminal console keyboard type extend for Putty Thread-Index: AdVkWqHfobarptNbTniUA7SzEkVepgALRWGAAAAayvAAGTPMgAABXNDg Date: Fri, 6 Sep 2019 20:34:39 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C2C92C2@SHSMSX104.ccr.corp.intel.com> References: <3CE959C139B4C44DBEA1810E3AA6F9000B836B27@SHSMSX101.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E4F3BFF@SHSMSX104.ccr.corp.intel.com> <3CE959C139B4C44DBEA1810E3AA6F9000B836C02@SHSMSX101.ccr.corp.intel.com> <15C1F1A3FAEC36AF.25153@groups.io> In-Reply-To: <15C1F1A3FAEC36AF.25153@groups.io> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTI4ZDc3MzYtZmI1ZC00ZTEzLTk2MzYtNTM5ZTg1N2U0NDNkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSUJhSGlhbFBiN2I4bVcyUUZzZEZlXC9BcVVIak56WHlMa1F4YU9PWjFZVXdRcnk3bW1UR3k2ajJQbnZ2NnR2ZXQifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Another specific question: What's the meaning of "F1 and F2 don't work in U= EFI Shell"? That sounds like a bug in Terminal driver. > -----Original Message----- > From: rfc@edk2.groups.io On Behalf Of Ni, Ray > Sent: Friday, September 6, 2019 12:57 PM > To: rfc@edk2.groups.io; Gao, Zhichao ; Gao, Limin= g > Cc: devel@edk2.groups.io; Xu, Shiwei > Subject: Re: [edk2-rfc] UEFI terminal console keyboard type extend for P= utty >=20 > Zhichao, > Can you please summarize what terminal types are supported by EDKII Term= inal driver today and what you are going to > add through this RFC? >=20 > For the newly added terminal types, where is the mapping defined in publ= ic space? >=20 > Thanks, > Ray >=20 >=20 > > -----Original Message----- > > From: rfc@edk2.groups.io On Behalf Of Gao, Zhicha= o > > Sent: Friday, September 6, 2019 12:56 AM > > To: Gao, Liming ; rfc@edk2.groups.io > > Cc: devel@edk2.groups.io; Xu, Shiwei > > Subject: Re: [edk2-rfc] UEFI terminal console keyboard type extend for= Putty > > > > Liming, > > All the three types will be introduced. > > > > By the way, fix one typo 'F4' for VT400 map key should be 'ESC [ 1 4 ~= '. > > Thanks, > > Zhichao > > > > From: Gao, Liming > > Sent: Friday, September 6, 2019 3:51 PM > > To: Gao, Zhichao ; rfc@edk2.groups.io > > Cc: devel@edk2.groups.io; Xu, Shiwei > > Subject: RE: [edk2-rfc] UEFI terminal console keyboard type extend for= Putty > > > > Zhichao: > > One clarification. What terminal type will be introduced? Xterm, VT4= 00 and Linux? > > > > Thanks > > Liming > > From: Gao, Zhichao > > Sent: Friday, September 06, 2019 12:56 PM > > To: rfc@edk2.groups.io > > Cc: devel@edk2.groups.io; Gao, Liming > > >; Xu, Shiwei > > > Subject: [edk2-rfc] UEFI terminal console keyboard type extend for Put= ty > > > > Hi everyone, > > > > Putty is a popular terminal console software in windows and it support= various types of terminal keyboard type. I would > > like to add most of the type support. Here is the key map info. Hope t= o get comments. Here is the type and mapping > table: > > Putty function key map: > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D= = =3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > > | | EFI | | | | = | > > | | Scan | | | Normal | = | > > | KEY | Code | VT100+ | Xterm R6 | VT400 | Linux = | > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D= = =3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > > | F1 | 0x0B | ESC O P | NONE | ESC [ 1 1 ~ | ESC [ [ A= | > > | F2 | 0x0C | ESC O Q | NONE | ESC [ 1 2 ~ | ESC [ [ B= | > > | F3 | 0x0D | ESC O R | ESC O R | ESC [ 1 3 ~ | ESC [ [ C= | > > | F4 | 0x0E | ESC O S | ESC O S | ESC [ 1 3 ~ | ESC [ [ D= | > > | F5 | 0x0F | ESC O T | ESC [ 1 5 ~ | ESC [ 1 5 ~ | ESC [ [ E= | > > | F6 | 0x10 | ESC O U | ESC [ 1 7 ~ | ESC [ 1 7 ~ | ESC [ 1 7= ~ | > > | F7 | 0x11 | ESC [ V | ESC [ 1 8 ~ | ESC [ 1 8 ~ | ESC [ 1 8= ~ | > > | F8 | 0x12 | ESC [ W | ESC [ 1 9 ~ | ESC [ 1 9 ~ | ESC [ 1 9= ~ | > > | F9 | 0x13 | ESC [ X | ESC [ 2 0 ~ | ESC [ 2 0 ~ | ESC [ 2 0= ~ | > > | F10 | 0x14 | ESC [ Y | ESC [ 2 1 ~ | ESC [ 2 1 ~ | ESC [ 2 1= ~ | > > | Escape | 0x17 | ESC | ESC | ESC | ESC = | > > | F11 | 0x15 | ESC O Z | ESC [ 2 3 ~ | ESC [ 2 3 ~ | ESC [ 1 3= ~ | > > | F12 | 0x16 | ESC O [ | ESC [ 2 4 ~ | ESC [ 2 4 ~ | ESC [ 1 4= ~ | > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D= = =3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > > > > For Xterm R6 F1 and F2, it is descripted as ESC+O+P and ESC+O+Q, but i= t doesn't work on UEFI shell. Same with the SCO > > mode. So I would ignore the unworkable key map. > > Info refer to https://www.ssh.com/ssh/putty/putty-manuals/0.68/Chapter= 4.html#config-funkeys > > > > Thanks, > > Zhichao > > > > > > >=20 >=20 >=20