Greetings John Campbell and Dell Harris,
I find that the output from the excellent line of bash provided below by
Big John great entertainment. But before we disappear into troff (or
sphinx :^), could I suggest a different approach if you are "man"
enough...
Try this:
man term
Much information will come your way, and I look forward to further
discussion of this issue.
My favorite resolution of this has always been to type in:
echo $TERM
I always the same answer...
xterm
Finally, the bash line supplied by John will only work with "root
privilege. For now I would advise staying away from root, particularly
on production systems... I would be happy to consult on this topic
some more at your convenience and pleasure.
Sincerely,
Flint
On Wed, 18 Oct 2017, John Campbell wrote:
Date: Wed, 18 Oct 2017 18:53:15 -0400
From: John Campbell <[email protected]>
Reply-To: Linux on 390 Port <[email protected]>
To: [email protected]
Subject: Re: TERM=linux instead of TERM=dumb
Well...
Perhaps pawing through /etc/profile _might_ be edifying.
You can cheat by:
cd /etc
find . -type f -print | while read F ; do grep TERM "${F}" && echo "${F}" ;
done
to find out where this can be getting set. It might even be somewhere
under /etc/defaults but don't quote me on that.
Mind you, I don't currently have access to BFI (Big Fast Iron, either a
zSeries or an S/390) at this point so YMMV.
A long, long time ago when there were many, many deviants of Unix, I tended
to paw through various /etc and /usr/include files to pick up tricks. Man
pages gave some hints but the actual _structures_ you need for ioctl() and
fcntl() calls were a bit more entertaining :-) ...
-soup
On Wed, Oct 18, 2017 at 4:51 PM, 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?
Thanks
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/
--
John R. Campbell Speaker to Machines souperb at gmail dot
com
MacOS X proved it was easier to make Unix user-friendly than to fix Windows
"It doesn't matter how well-crafted a system is to eliminate errors;
Regardless
of any and all checks and balances in place, all systems will fail because,
somewhere, there is meat in the loop." - me
----------------------------------------------------------------------
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/