Re: Bizare 1.3 problem...

Andrew Walker (andy@keo.kvaerner.no)
Mon, 21 Aug 1995 09:02:25 +0200 (MET DST)


System Administrator wrote:
>
> On Fri, 18 Aug 1995, Raj Mathur wrote:
>
> > Date: Fri, 18 Aug 95 23:37 GMT+0530
> > From: Raj Mathur <raju@gratis.xgroup.ernet.in>
> > To: root@misty.worcester.com
> > Cc: corwin@big.fishnet.net, linux-kernel@vger.rutgers.edu
> > Subject: Re: Bizare 1.3 problem...
> >
> > >>>>> "System" == System Administrator <root@misty.worcester.com> writes:
> >
> > System> I had the same problem with 1.3.9 when I first installed
> > System> it all I did was edited /etc/termcap and coppied the entry
> > System> for vt100 and renamed it linux, works fine now :)
> >
> > Simpler to just add a "|" seperated "linux" to the vt100 entry, as in:
> >
> > d0|vt100|vt100-am|vt100am|dec vt100:\
> >
> > becomes
> >
> > d0|vt100|linux|vt100-am|vt100am|dec vt100, Linux console:\
> >
> > On second thoughts, add the "linux" tag to the ``console'' entry, not
> > the ``vt100'' entry.
> >
> Oddly enough I tried this as well and it did not work on this machine for
> some reason :(
>

Oh, bl**dy hell. Not this TERM stuff again. Check your '/etc/inittab'.
Are you using getty_ps (probably). Do the getty lines for the VC's
look something like (don't remember the exact syntax offhand):

t1:respawn:/sbin/getty /dev/tty1 VC console
^^^^^^^
|
getty_ps sets TERM to this value _______|

If so, then TERM gets set to 'console'. If not then it gets left at 'linux'.
If you use getty_ps, but leave out the third arg, then it also gets left
at 'linux'.

So you need make sure there's an entry for 'linux', and possibly 'console'
in '/etc/termcap'. Of course, if the third arg is something other than
'console' or 'linux' then you want to change it (or drop it - or, I suppose,
add another entry to termcap).

Okay?

Oh, and don't add these to the 'vt100' entry. A Linux VC does quite a bit
more than a VT100 terminal - and is not fixed to 80 cols x 25 rows.
Add them to the 'generic' Linux console entry.

-Andy

-- 
Andy Walker                              Kvaerner Engineering a.s.
Andrew.Walker@keo.kvaerner.no            P.O. Box 222, N-1324 Lysaker, Norway

......if the answer isn't violence, neither is it silence......