On 05/12/2015 01:19 PM, Roy Franz wrote:
On Tue, May 12, 2015 at 10:42 AM, Andrew Fish afish@apple.com wrote:
On May 12, 2015, at 10:34 AM, Kinney, Michael D michael.d.kinney@intel.com wrote:
Laszlo,
As far as adding a PCD or not, there is another option.
The UEFI Specification defines 4 GUIDs for terminal types that are used in VenMedia() device path nodes and provides the information a terminal driver needs to know to translate a bytes stream to/from a specific type of terminal into UEFI protocol interfaces.
I'll take a look at this method of making it configurable. There are so many 'default' terminals in Linux depending on distro, etc. that I don't know what this should be called. I'm not really focused on 'proper' emulation of a specific terminal - I just want the common stuff to work under Linux. I'll put a patch together adding a new terminal type to move the discussion along.
Thanks, Roy
If we have the new terminal type, we can add the details of the implementation as we go. Getting the new GUID into the headers and libraries would be helpful.
Xterm (and modern versions like konsole and gnome-terminal) has some keyboard mapping changes vs. PC-ANSI for function keys and the like. There's also a behavior difference w.r.t. writing the last character on a line, which can bite full-screen applications like the shell's edit command. Let me know if you'd like more details.