Path: utzoo!attcan!uunet!shelby!morrow.stanford.edu!root From: AR.BXA@forsythe.stanford.edu (Bob Anderson) Newsgroups: comp.sys.hp Subject: setting the term type Message-ID: <1991Feb1.222341.28494@morrow.stanford.edu> Date: 1 Feb 91 22:23:41 GMT Sender: root@morrow.stanford.edu (System PRIVILEGED Account) Organization: Data Center, Stanford University, California, USA Lines: 31 odd little problem has me scratching my head; and hoping for help: situation: - HP9000/835 running 7.0 - Application requires everyone be "homed" to the same directory at login. - .profile at home set term type to 'hp'; this works for most of users as most are HP terminal, either native or emulation. - the obvious solution, using inittab, won't work because the majority of our users arrive via a port selector on any one of 9 ports... unpredictable. - took care of the first few "funny" terminals (vt100) by picking up the user id and doing an IF THEN to set them differently. - as the strange term types accumulate this grows progressively more clunky and inelegant all the time. - a particular problem occurs, of course, with the infrequent occasion when the user logs in with his id on someone else's term. question: anyone suggest a likely avenue to explore 'a better way'? obvious by now is the caveat: novice in attendance. thanks for any help .. bob