Dear Dell,

Interesting TADA...

Thanks,

Flint

On Fri, 20 Oct 2017, Dell Harris wrote:

Date: Fri, 20 Oct 2017 10:06:28 -0600
From: Dell Harris <[email protected]>
Reply-To: Linux on 390 Port <[email protected]>
To: [email protected]
Subject: Re: TERM=linux instead of TERM=dumb

Thanks to all that chimed in.  I got it figured out.

It all depends on how you ssh into the guest to finish the installation.  If 
you ssh from a graphical environment it will set to the TERM=xterm-256-color,  
this will result in TERM=dumb being put on the kernel line after the install 
because of this code in the /usr/share/YaST2/modules/BootArch.rb

    elsif Arch.s390
       termparm = if ENV["TERM"] == "linux"
         "TERM=linux console=ttyS0 console=ttyS1"
       else
         "hvc_iucv=8 TERM=dumb"
       end

If I ssh in from a text console...say tty2, it will set the TERM=linux during 
the install because of this code that was added in 2012:   This will result in 
TERM=linux set on the kernel line after the install.

Thu Jun 28 14:36:08 CEST 2012 - [email protected]

- set TERM=linux for 2nd stage services, to keep ncurses nice
 (bnc#768356)
- 2.22.9

So the mystery is solved.

Dell Harris

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


Kindest Regards,



☮ Paul Flint
(802) 479-2360 Home
(802) 595-9365 Cell

/************************************
Based upon email reliability concerns,
please send an acknowledgement in response to this note.

Paul Flint
17 Averill Street
Barre, VT
05641

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