bash TERM variable different between LFS-4.1 and LFS-5.0

zoltan 6zoltan8 at comcast.net
Sun May 16 17:45:58 PDT 2004



Kevin P. Fleming wrote:
> zoltan wrote:
> 
>> while on my LFS-5.0 machine I get
>> $ echo $TERM
>> dumb
> 
> 
> This is a known problem with the sysvinit package used in LFS-5.0 (and 
> beyond). The simplest fix for you is to edit /etc/inittab, and on each 
> line that invokes agetty for one of your virtual consoles, add "linux" 
> as an additional argument to agetty (at the end of the line).

Thank you...I just found it, I think.  Line 59 in src/shutdown.c seems 
to initialize the "clean_env" such that TERM=dumb.  Seems was this added 
starting with sysvinit-2.79.  Maybe I'll play around with it and see if 
changing it to TERM=linux does what I expect...

Thanks again...
John




More information about the lfs-support mailing list