On Friday, 10/20/2017 at 12:38 GMT, Dimitri John Ledkov <[email protected]> wrote: I have proposed upstream systemd to not use color by default on z/VM, > as it seems that the most recent HMC does strips escape codes > correctly in the operating systems messages window. The HMC ascii > terminal displays everything correct, and so does QEMU/KVM terminals. > So far I believe it's just z/VM that fails to render dmsg [ ] and > strip escape codes.
The console device emulated by z/VM is a 1970-era IBM 3215. At the end of the day, it's a typewriter. It doesn't understand VTxxx-style escape codes. If you want to be able to use colors, then use CP TERMINAL CONMODE 3270 and have Linux use its 3270 console support. It makes me wonder, though, why Linux is letting escape sequences into the 3215 data stream in the first place. If you had an ASCII console that didn't support those ESC sequences, would Linux allow them through? I kind of thought that's what term=dumb was for. And that's what you should get by default for a 3215. IMNSHO, of course. Alan Altmark Senior Managing z/VM and Linux Consultant IBM Systems Lab Services IBM Z Delivery Practice ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 [email protected] IBM Endicott ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
