Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ganymede!ganymede!bussiere From: bussiere@ganymede.DMI.USherb.CA (Luc Bussieres) Newsgroups: comp.unix.admin Subject: How could I set term at login Message-ID: Date: 20 Feb 91 00:42:42 GMT Sender: bussiere@DMI.USherb.CA (Luc Bussieres) Organization: Universite de Sherbrooke, Quebec Lines: 25 I wan't to know if there is a way that at login Unix could know which type of terminal is hooked to a line. Here we have multiple type of terminal that may hook to any port. We are running sunos 4.1.1 on sun3 and sun4. The problem is that we have vt100 and vt220 terminal. The vt220 support international characters while the vt100 doesn't. Because we are a french university, we need these characters. If I define every port as vt220 in the ttytab file, the term is set to vt220 for each user even if they are on a vt100. If I define every port to vt100, the people with vt220 can't use the international characters without having to first do those three lines: setenv TERM vt220 source .login stty pass8 Is there a solution (that will be transparent to the users if possible) to find the type of the terminal during the login procedure? -- Luc Bussieres ---- Analyste - Dep. de Mathematiques et Informatique Universite de Sherbrooke Internet : bussiere@dmi.usherb.ca Tel: (819) 821-7981