Dear all, I've just read the discussion with a great interest. What I would like to add is that there a people (like me) who use real world serial consoles (not emulated as in qemu) for working with ARM single board computers. I usually use 'screen' terminal emulator to connect to /dev/ttyUSB0 or so. `screen' itself is running in Konsole (which is TERM=xterm). As far as I understand, 'screen' currently understands some set of vt2xx commands (coming from rs232 console) and converts them to render in xterm somehow. But I am not sure if it will still work correctly for other kind of term. 11.07.2020 19:51, Daan De Meyer пишет: > Hi, > > I was playing around with mkosi's qemu support, more specifically adding > the -nographic option to have the virtual machine output in my terminal > instead of a separate window. After figuring out that I had to add > console=ttyS0 to mkosi's kernel command line, I got the output from the vm > in my terminal as expected. However, because systemd defaults to TERM=vt220 > for serial consoles, the output is not colorized. I searched around a bit > and found that this is done for compatibility reasons. Will there ever be a > point where we can switch the default to something that supports colors > (like TERM=linux)? > > I managed to get around the problem by overriding serial-getty@ttyS0 and > setting Environment=TERM=linux explicitly but it's a bit of a pain and has > to be added to every rootfs that wants to support colored output on its > serial console. > > Cheers, > > Daan > > > _______________________________________________ > systemd-devel mailing list > systemd-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/systemd-devel > _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel