From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id B6F51941BA5 for ; Thu, 7 Sep 2023 20:10:42 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Tk3bA4LAJpGyMwhXVi1AFMtTbtvvhSJy1ok2rDJwChE=; c=relaxed/simple; d=groups.io; h=From:MIME-version:Subject:Date:References:To:In-reply-to:Message-id:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-type:Content-transfer-encoding; s=20140610; t=1694117441; v=1; b=YHDqEhYE6nSPU50pGgCIOBVA7TESeMP4532E+PAp7eUZZhkumSsRIRIhspxoTuvapsM0eu+U YcKmJ3HxHTsFRR/aGyI3fibpVkZmTsMubx2uSXdGBL7Ej/X9w9Ehq3BZqlYjJXd9m1wrtX5fYgc PEk+lGsW4LqZeRmAW3vjPq7g= X-Received: by 127.0.0.2 with SMTP id r23vYY7687511x02bvN5BeGO; Thu, 07 Sep 2023 13:10:41 -0700 X-Received: from hfd-mx02.apple.com (hfd-mx02.apple.com [17.132.100.1]) by mx.groups.io with SMTP id smtpd.web11.23778.1694117440528294243 for ; Thu, 07 Sep 2023 13:10:40 -0700 X-Received: from ma-mailsvcp-mta-lapp04.corp.apple.com (ma-mailsvcp-mta-lapp04.corp.apple.com [10.226.18.136]) by am11p01nt-mxp02.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0S0M00H1ATDH1410@am11p01nt-mxp02.apple.com> for devel@edk2.groups.io; Thu, 07 Sep 2023 20:10:39 +0000 (GMT) X-Proofpoint-ORIG-GUID: asi3lglpemr3LN21AfvdNdqKb5Hcfaxa X-Proofpoint-GUID: asi3lglpemr3LN21AfvdNdqKb5Hcfaxa X-Received: from ma-mailsvcp-mmp-lapp03.apple.com (ma-mailsvcp-mmp-lapp03.apple.com [17.32.222.16]) by ma-mailsvcp-mta-lapp04.corp.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0S0M005QUTDH9Z40@ma-mailsvcp-mta-lapp04.corp.apple.com>; Thu, 07 Sep 2023 13:10:29 -0700 (PDT) X-Received: from process_milters-daemon.ma-mailsvcp-mmp-lapp03.apple.com by ma-mailsvcp-mmp-lapp03.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) id <0S0M00L00T3JNQ00@ma-mailsvcp-mmp-lapp03.apple.com>; Thu, 07 Sep 2023 13:10:29 -0700 (PDT) X-Va-A: X-Va-T-CD: 98bcb7dfd0b473bb7d885cbf29bfc71d X-Va-E-CD: e9a34982685f34b802d9c70c467e8be9 X-Va-R-CD: 9111b37acaa85b525cf1cb2d685b7d78 X-Va-ID: 1c95cddc-766b-4043-bf4c-e5fa9efcdf9a X-Va-CD: 0 X-V-A: X-V-T-CD: 98bcb7dfd0b473bb7d885cbf29bfc71d X-V-E-CD: e9a34982685f34b802d9c70c467e8be9 X-V-R-CD: 9111b37acaa85b525cf1cb2d685b7d78 X-V-ID: 6a2fd10b-61a8-45e0-b3ec-9f74089be3a9 X-V-CD: 0 X-Received: from smtpclient.apple (unknown [17.10.152.189]) by ma-mailsvcp-mmp-lapp03.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPSA id <0S0M00N6RTDGXD00@ma-mailsvcp-mmp-lapp03.apple.com>; Thu, 07 Sep 2023 13:10:29 -0700 (PDT) From: "Andrew Fish via groups.io" MIME-version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: [edk2-devel] VT100 terminal for UEFI shell Date: Thu, 07 Sep 2023 13:10:18 -0700 References: <812a1801-17e1-470b-851b-d363469f84c1@linaro.org> To: edk2-devel-groups-io , Marcin Juszkiewicz In-reply-to: Message-id: <59F39103-6442-4D34-9CB0-ECFDDFE31DF3@apple.com> Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,afish@apple.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: wy3TN1s1EBTaLSrG9AVsH0OKx7686176AA= Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=YHDqEhYE; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io > On Sep 7, 2023, at 12:11 PM, Marcin Juszkiewicz wrote: >=20 > W dniu 7.09.2023 o 19:40, Andrew (EFI) Fish pisze: >>> On Sep 7, 2023, at 8:00 AM, Marcin Juszkiewicz wrote: >>>=20 >>> Is there a way to have VT100 (or any other black/white, non-ANSI) termi= nal for UEFI Shell? >>>=20 >>> I do many runs of QEMU/sbsa-ref with logging and all those ANSI colour = codes only make problems. >=20 >=20 >> Thus we get to the TL;DR part=E2=80=A6 The console NVRAM variables that = point to the UART has a MESSAGING_DEVICE_PATH MSG_VENDOR_DP node after the = UART definition that has a UUID (EFI_GUID) that defines the type of termina= l emulation to use. >> The definition of the ConIn and ConOut variables is here [4] >=20 > Feels like adding alias into ~/.bashrc is easier solution: >=20 > alias strip_ansi=3D" sed -e 's/\x1b\[[0-9;]*m//g' " >=20 Well like everything the terminal default is optimized for the personal pr= eference of who ever did OVMF port.=20 > EDK2 code feels like ancient Perl to me too often. Someone wrote it, ever= yone uses it, hard to find someone who know why it is that way. >=20 >=20 Feel free to ask I=E2=80=99ll probably be 24 years into at some point soon = or maybe already I kind of forgot when I started. I was around for most of= the big picture stuff so that is one of the reasons I answer these general= questions on the list. Thanks, Andrew Fish >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108416): https://edk2.groups.io/g/devel/message/108416 Mute This Topic: https://groups.io/mt/101216135/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/19134562= 12/xyzzy [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-