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 AD4FB78003C for ; Thu, 7 Sep 2023 19:11:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3H6MzfoI/bM3TZ11LXzhtTxM1LhQ9P0fX3CndHDvgLY=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:References:From:Organization:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1694113877; v=1; b=TBJluByUTBfTXM5UpnFrQVWE0C/H/ta/xU3buZaao/edh9M/xUH6aeqdaFZhHhGVsrTParNd BDWrR7OPaF7v+dD0VDOFk/XMi2gTrIvm6yqllHZ0TUmJGNMitFO4Hsb4GHI/cuRgu0ALDquE0W+ UuUUik/BOsLTujNyLjhKPJ4c= X-Received: by 127.0.0.2 with SMTP id qs46YY7687511xE5owUCfSLB; Thu, 07 Sep 2023 12:11:17 -0700 X-Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) by mx.groups.io with SMTP id smtpd.web10.22142.1694113876090951419 for ; Thu, 07 Sep 2023 12:11:16 -0700 X-Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2bcd7a207f7so21578051fa.3 for ; Thu, 07 Sep 2023 12:11:15 -0700 (PDT) X-Gm-Message-State: BIoEUoxTnV0mf9MYOkoLAQexx7686176AA= X-Google-Smtp-Source: AGHT+IHB5jzx1fZzt/IxmYz6Wvrv9vbPjxlhUqyy1Ie7rtoIGwMj+yS400sHdbmVuinstZ/ogD3F5A== X-Received: by 2002:a2e:9e02:0:b0:2bc:c490:10cf with SMTP id e2-20020a2e9e02000000b002bcc49010cfmr123803ljk.18.1694113874342; Thu, 07 Sep 2023 12:11:14 -0700 (PDT) X-Received: from [192.168.200.206] (83.21.94.247.ipv4.supernova.orange.pl. [83.21.94.247]) by smtp.gmail.com with ESMTPSA id j11-20020a2e3c0b000000b002bb9a93b67bsm5946lja.121.2023.09.07.12.11.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Sep 2023 12:11:13 -0700 (PDT) Message-ID: Date: Thu, 7 Sep 2023 21:11:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] VT100 terminal for UEFI shell To: "Andrew (EFI) Fish" , devel@edk2.groups.io References: <812a1801-17e1-470b-851b-d363469f84c1@linaro.org> From: "Marcin Juszkiewicz" Organization: Linaro In-Reply-To: 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,marcin.juszkiewicz@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Language: pl-PL, en-GB, en-HK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=TBJluByU; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=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 W dniu 7.09.2023 o 19:40, Andrew (EFI) Fish pisze: >> On Sep 7, 2023, at 8:00 AM, Marcin Juszkiewicz wrote: >> >> Is there a way to have VT100 (or any other black/white, non-ANSI) >> terminal for UEFI Shell? >> >> I do many runs of QEMU/sbsa-ref with logging and all those ANSI colour >> codes only make problems. > Thus we get to the TL;DR part… 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 terminal > emulation to use. > > The definition of the ConIn and ConOut variables is here [4] Feels like adding alias into ~/.bashrc is easier solution: alias strip_ansi=" sed -e 's/\x1b\[[0-9;]*m//g' " EDK2 code feels like ancient Perl to me too often. Someone wrote it, everyone uses it, hard to find someone who know why it is that way. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108414): https://edk2.groups.io/g/devel/message/108414 Mute This Topic: https://groups.io/mt/101216135/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-