klamer@mi.eltn.utwente.nl (Klamer Schutte) (04/10/91)
In <1991Apr9.230000.11048@nuchat.sccsi.com> kevin@nuchat.sccsi.com (Kevin Brown) writes: ->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. Hmmm. I must have been asleep during my last note. In my current setup TERM is no longer setup in *profile -- rather in (I think) /etc/ttytab. This because my virtual console tty0 has 25 lines and tty1 has 50. So a login on both consoles gets the right term. Note that this applies to minix-st 1.5.10 #3. minix 1.1 had no /etc/ttytab... Klamer -- Klamer Schutte Faculty of electrical engineering -- University of Twente, The Netherlands klamer@mi.eltn.utwente.nl {backbone}!mcsun!mi.eltn.utwente.nl!klamer