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: zhichao.gao@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Thu, 05 Sep 2019 22:00:34 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Sep 2019 22:00:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,472,1559545200"; d="scan'208,217";a="184439358" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga007.fm.intel.com with ESMTP; 05 Sep 2019 22:00:33 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Sep 2019 22:00:27 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Sep 2019 21:56:07 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.53]) with mapi id 14.03.0439.000; Fri, 6 Sep 2019 12:56:05 +0800 From: "Gao, Zhichao" To: "rfc@edk2.groups.io" CC: "devel@edk2.groups.io" , "Gao, Liming" , "Xu, Shiwei" Subject: [edk2-rfc] UEFI terminal console keyboard type extend for Putty Thread-Topic: [edk2-rfc] UEFI terminal console keyboard type extend for Putty Thread-Index: AdVkWqHfobarptNbTniUA7SzEkVepg== Date: Fri, 6 Sep 2019 04:56:04 +0000 Message-ID: <3CE959C139B4C44DBEA1810E3AA6F9000B836B27@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: zhichao.gao@intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_3CE959C139B4C44DBEA1810E3AA6F9000B836B27SHSMSX101ccrcor_" --_000_3CE959C139B4C44DBEA1810E3AA6F9000B836B27SHSMSX101ccrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi everyone, Putty is a popular terminal console software in windows and it support vari= ous types of terminal keyboard type. I would like to add most of the type s= upport. Here is the key map info. Hope to get comments. Here is the type an= d 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 it doe= sn't work on UEFI shell. Same with the SCO mode. So I would ignore the unwo= rkable key map. Info refer to https://www.ssh.com/ssh/putty/putty-manuals/0.68/Chapter4.htm= l#config-funkeys Thanks, Zhichao --_000_3CE959C139B4C44DBEA1810E3AA6F9000B836B27SHSMSX101ccrcor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi everyone,

 

Putty is a popular terminal console software in wind= ows 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 to get commen= ts. 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+

  |       &n= bsp; | EFI  |         &nb= sp; |           &nbs= p; |            = ; |            = |

  |       &n= bsp; | Scan |           |=              |&= nbsp; Normal     |      &= nbsp;      |

  |   KEY   | Code |  = VT100+   | Xterm R6    |  VT400 &nbs= p;    | 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 | E= SC O P   | NONE        | ESC [= 1 1 ~ | ESC [ [ A   |

  | F2      | 0x0C | E= SC O Q   | NONE        | ESC [= 1 2 ~ | ESC [ [ B   |

  | F3      | 0x0D | E= SC O R   | ESC O R     | ESC [ 1 3 ~ | ESC [ = [ C   |

  | F4      | 0x0E | E= SC O S   | ESC O S     | ESC [ 1 3 ~ | ESC [ = [ D   |

  | F5      | 0x0F | E= SC O T   | ESC [ 1 5 ~ | ESC [ 1 5 ~ | ESC [ [ E   |

  | F6      | 0x10 | E= SC O U   | ESC [ 1 7 ~ | ESC [ 1 7 ~ | ESC [ 1 7 ~ |

  | F7      | 0x11 | E= SC [ V   | ESC [ 1 8 ~ | ESC [ 1 8 ~ | ESC [ 1 8 ~ |

  | F8      | 0x12 | E= SC [ W   | ESC [ 1 9 ~ | ESC [ 1 9 ~ | ESC [ 1 9 ~ |

  | F9      | 0x13 | E= SC [ 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 it 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/Chapter4.html#config-funke= ys

 

Thanks,

Zhichao

 

--_000_3CE959C139B4C44DBEA1810E3AA6F9000B836B27SHSMSX101ccrcor_--