From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by mx.groups.io with SMTP id smtpd.web10.5353.1615982580306295539 for ; Wed, 17 Mar 2021 05:03:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=1VDYA8u4; spf=pass (domain: nuviainc.com, ip: 209.85.218.51, mailfrom: leif@nuviainc.com) Received: by mail-ej1-f51.google.com with SMTP id bm21so2176561ejb.4 for ; Wed, 17 Mar 2021 05:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=DFm4qh5fFH3OUSRGMS/9KNyMGnZY1HjluL8R1I79hBU=; b=1VDYA8u467Fsjc68yuLkSrdceCTjF7da/CetHGiwsMc4FPW+eOo1gIWuxiGD8LDM3i LjLpljmRnTsbpK39ByOPrn7iVRkWCTK7BhXfG8Nc9vH7aMeSpz+3VKh0byKHVr6O45Fz +7F2f1bcZFUZgjB+9RUySWETPKkVxkhLKcewMYE5E6sXw3GewmPD+aqHidvkcBUXoiHM 2onj3Ryadl4whTd09H13pqltJWu10r78r0Ic5ZdLz5gvs8IDdHB2wFMMURicGP2aaVAJ +CIHs/hmeDq/ATBSis2bai+JhSkcwRMFHXBqT1SXjNQQk1AZI0ucUkgF+ozHfqcj6t9e QAvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=DFm4qh5fFH3OUSRGMS/9KNyMGnZY1HjluL8R1I79hBU=; b=L1kUOcm4cTrvtQGU6u3bSGCn0lltop8WYfzypDhFAiflaTHPVo2AEQ8WzJaeypu//l Cu+0p9NWAF41OOYzkFrxanXzGTkoEaiQqZ3g5K+aNkuN2lFtjlUZ97DYIzQXKwjnzzZf 8rAB0fGwvPy5g7MTZb9L47jN0Qq5nE+hd1r0vR4QHfyl1JQfFBGcTTap8iLZ/yJjS+Cy 8R8n9yZcS6WSsvDoEPbG5iFKFPXXVKG3KHANyY5Mkp/sfp3rTDJuy80v4qrYvcpAhHpO AsadpP9UBsEPtoUfLbD1tKH97m0irkjE6huKxqfbI8c4Zz27rxT6UwRXud05H3U2L2gm 6tBA== X-Gm-Message-State: AOAM533/GNESxNVZ0akai6vC5Zj8rnoQYDZSk7/iUNhjCt4nNo8kdPcl qbLZQfRS8rKCaq6ifzZVAAQdcg== X-Google-Smtp-Source: ABdhPJx0fpDIb/E6T4n5wadfKAklrPERiMTPFZV0i9lE5tNMRv6Ka4+yg028ouJI5td/HJPwaORx0g== X-Received: by 2002:a17:907:76bb:: with SMTP id jw27mr34649181ejc.366.1615982573849; Wed, 17 Mar 2021 05:02:53 -0700 (PDT) Return-Path: Received: from vanye (cpc1-cmbg19-2-0-cust915.5-4.cable.virginm.net. [82.27.183.148]) by smtp.gmail.com with ESMTPSA id q16sm10950531ejd.15.2021.03.17.05.02.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 05:02:53 -0700 (PDT) Date: Wed, 17 Mar 2021 12:02:51 +0000 From: "Leif Lindholm" To: Laszlo Ersek Cc: "Desimone, Nathaniel L" , "discuss@edk2.groups.io" , cadenkline9@gmail.com, edk2-devel-groups-io , "Ard Biesheuvel (TianoCore)" , rfranz@marvell.com Subject: Re: [edk2-discuss] Google Summer of Code Interested Student Message-ID: <20210317120251.GW1664@vanye> References: <848a0cdb-accf-5b7c-df59-65a806ea14a7@redhat.com> <166B8219924C8DCE.3757@groups.io> <3d466515-7d65-9abe-3609-d0298c1b245b@redhat.com> MIME-Version: 1.0 In-Reply-To: <3d466515-7d65-9abe-3609-d0298c1b245b@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit +Roy (now at Marvell) / Leif (now at Qualcomm) On Tue, Mar 16, 2021 at 16:23:45 +0100, Laszlo Ersek wrote: > Hi Nate, > > (adding Leif and Ard) > > On 03/13/21 03:52, Desimone, Nathaniel L wrote: > > I've created a new wiki page for this task with all the information I > > have gathered thus far. I've done some more experimentation and found > > that there are several newer terminal emulators that don't support > > DEC Special Graphics so I've reduced the number of modes where DEC > > Special Graphics should be preferred. Laszlo, if you could take a > > look at the terminal type matrix I created that would be very > > helpful. > > > > https://github.com/tianocore/tianocore.github.io/wiki/Tasks-Terminal-driver-improvements > > ( > > My background: > > I settled on plain (non-UTF-8) xterm around 1998, and have been using it > ever since. Whenever something was off, I always tried to hammer the > application into conformance with my particular xterm setup, rather than > the other way around. I also have some quirky terminal settings -- for > me, "backspace" generates ^H / keycode 22 (stty sets erase to ^H), > "delete" generates keycode 119, and there's no "rubout". I still don't > use UTF-8 (I use latin2). > > ) > > * Regarding ArmVirtPkg, I stick with the default TTY_TERMINAL=FALSE > setting (which means VT-100). Using that setting, I see the following > kind of "ASCII approximation" for box drawing: > > /------------------------------------------------------------------------------\ > | Boot Manager | > \------------------------------------------------------------------------------/ > > I'm really happy with this, as I don't care much for nice-looking > boxes; instead I prefer portability. > > (NB: this seems to disagree with your "Current Behavior (Which is > wrong)" line for VT100, as it suggests CP437. That's not what I'm > seeing with VT100.) > > TTY_TERMINAL=TRUE would mainly affect backspace / delete I think -- as > far as I recall, that's why I asked Roy not to make TTY_TERMINAL=TRUE > the default, in 2015: > > http://mid.mail-archive.com/555458DB.3090602@redhat.com > http://mid.mail-archive.com/CAFECyb_E+bGZt5xv7QhRqyD0jX=AzoEMw7VW_tjZr+E=sQf8ww@mail.gmail.com > > (I'd like to CC Roy, but I can't tell if he's now working for Linaro, > Cavium, HPE, Marvell, or another company.) > > * Regarding OvmfPkg, currently PC_ANSI is hard-coded, and for me it > looks like this: > > ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄż > ł Boot Manager ł > ŔÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄŮ > > Obviously I'd much prefer if I got the simple ASCII approximation here > as well. > > * Whether VT100 and/or PC_ANSI and/or TTY_TERM are *officially* supposed > to use DEC Special Graphics, I can't tell. > > I know what my preferences are: > > - the current BackSpace and Delete mappings (which work fine for me > with both VT100 and PC_ANSI, but *not* with TTY_TERM), > > - and the most primitive ASCII mapping (no special graphics, no UTF-8 > sequences, etc). I really like a super dumb terminal, where taking > simple "ASCII screenshots" (and pasting them into plaintext emails!) > is *trivial*. > > ... Looking at your "Expected Behavior" table, there is only one line > left with "poor man's ASCII" -- namely, TTY_TERM. Unfortunately, > TTY_TERM breaks my BackSpace / Delete settings :( > > * In summary, I'd prefer if (a) VT100 stayed as-is (using "poor man's > ASCII", as seen in ArmVirtPkg), and (b) if OVMF used *that* VT100, > rather than PC_ANSI, by default. > > Thanks! > Laszlo >