Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!wa3wbu!john From: john@wa3wbu.UUCP (John Gayman) Newsgroups: comp.unix.wizards Subject: Script for setting TERM type Message-ID: <155@wa3wbu.UUCP> Date: Sat, 24-Oct-87 08:26:45 EST Article-I.D.: wa3wbu.155 Posted: Sat Oct 24 08:26:45 1987 Date-Received: Mon, 26-Oct-87 00:30:53 EST Organization: John Gayman,WA3WBU, Marysville,PA Lines: 17 Im running Microport Sys V/AT on an AT-clone. Can anyone give me a shell script for setting the Terminal type at login time. I use the same login for myself but throughout the day use several terminal types. Invaribly I forget to manually set TERM type and then VI, and well you know the rest :-) I would like a small script to stick on the end of .profile that would give me a one-line prompt at login time and ask me for my terminal type. Preferably if nothing were entered it would default to vt100. I attempted to write my own script and everything looked like it worked except the term type wouldnt actually get changed. Any ideas ? John