Project

General

Profile

Actions

action #67429

open

coordination #14626: [epic] backend and console capabilities interface to increase extensibility and code reuse

Raw text console capability

Added by livdywan almost 4 years ago. Updated about 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-05-28
Due date:
% Done:

0%

Estimated time:

Description

  • Replace is_serial_terminal in favor of direct_write_text.

This is the console analogue of #67426.

Actions #1

Updated by rpalethorpe almost 4 years ago

'direct_write_text' could be a totally valid function on a graphical/VNC backend IMO. It is important to know we are switching to a 'serial terminal'/stty which is pure character stream including control characters.

Maybe this is two capabilities, one to say text is transmitted 'directly' or quickly and another saying it is a serial terminal? You could have a none-serial-terminal based console where you can transmit text I/O quickly/directly.

The important thing is that the developer knows that the text stream will be transformed by the kernel because it will go through the TTY layer, console drivers etc., then will also be transformed by the shell (e.g. bash). There is quite a lot of difference between using SSH and virtio serial port (i.e. a true serial console) for example. You will get a lot more race conditions and weird behavior with a true serial port connected to a TTY Vs SSH. However both of them allow you to write text efficiently (which is what I think of when you say 'direct').

Actions #2

Updated by okurz over 3 years ago

  • Category set to Feature requests
Actions #3

Updated by okurz over 3 years ago

  • Priority changed from Normal to Low
Actions #4

Updated by okurz over 3 years ago

  • Target version set to future
Actions #5

Updated by okurz about 2 years ago

  • Tags set to os-autoinst, backend, console
Actions

Also available in: Atom PDF