Newsgroups: comp.os.minix
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!nuchat!kevin
From: kevin@nuchat.sccsi.com (Kevin Brown)
Subject: Re: man pages
Message-ID: <1991Apr9.230000.11048@nuchat.sccsi.com>
Keywords: man pages
Organization: /users/kevin/./files/news/comp/os/minix
References: <cs342a37.670996809@zippy> <klamer.671201397@mi.eltn.utwente.nl>
Date: Tue, 9 Apr 91 23:00:00 GMT

In article <klamer.671201397@mi.eltn.utwente.nl> klamer@mi.eltn.utwente.nl (Klamer Schutte) writes:
>In <cs342a37.670996809@zippy> cs342a37@cs.iastate.edu (Class login) writes:
>
>>I cannot get man to run on user other than the root. On other users, I keep getting "unknown terminal". Can some one th tell me how to fix that?
>>thanks
>
>Sounds like an unreadable /etc/termcap file to me.
>Or is root the only user who has TERM set & exported? Check your user
>.profile's!

The shell, when starting up, looks for a file called /etc/profile, and if it
is found, executes it.  This is done before it looks for the home .profile
and executes that (but the code does it in reverse order from that, by
"pushing" the file onto a stack or something.  The shell has GOT to be the
least documented source code supplied with Minix.  Anyone got a fully-
documented version?).  In any case, if you want a system-wide default 
TERM type, you can set it in /etc/profile.  Then any user who wants something
different can put it in their .profile.

>Klamer
>-- 
>Klamer Schutte
>Faculty of electrical engineering -- University of Twente, The Netherlands
>klamer@mi.eltn.utwente.nl	{backbone}!mcsun!mi.eltn.utwente.nl!klamer


--
Kevin Brown						Disclaimer: huh?
kevin@nuchat.sccsi.com					csci31f7@cl.uh.edu 

Minix -- the Unix[tm] of the 90's.  System V -- the Multics of the 90's.  :-)

