Hi,

On 18 October 2017 at 21:51, Dell Harris <[email protected]> wrote:
> Hi,
>
> I'm trying to figure out why TERM is being set to linux instead of dumb on 
> the GRUB_CMDLINE_LINUX_DEFAULT in the /etc/default/grub line of a system-z 
> guest on install of SLES 12 SP2.   TERM=dumb is set in the parmfile but after 
> the install it's set to linux.   Does anyone know of a way to get it to set 
> TERM=dumb on install?
>

Why do you want to use TERM=dumb instead of Linux?

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.

I've tried proposing to systemd to not use color in LPAR/ZVM modes,
but that was rejected see
https://github.com/systemd/systemd/pull/3025/files &
https://github.com/systemd/systemd/pull/3025 &
https://github.com/systemd/systemd/issues/3115 and
https://github.com/systemd/systemd/commit/32391275c02715f76232128c49b19bb619cd9463

Ideally this stuff should work correctly automagically.

Thus maybe we should be extending
https://github.com/systemd/systemd/blob/b139c95bc42dd67e4b8f804fd8f3e248e5127600/src/basic/terminal-util.c#L790
to set things to dumb on s390 for LPAR & z/VM?

-- 
Regards,

Dimitri.

----------------------------------------------------------------------
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/

Reply via email to