Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!cottrell@nbs-vms.ARPA From: cottrell@nbs-vms.ARPA Newsgroups: net.unix-wizards Subject: setting TERM Message-ID: <8636@brl-tgr.ARPA> Date: Mon, 25-Feb-85 17:32:23 EST Article-I.D.: brl-tgr.8636 Posted: Mon Feb 25 17:32:23 1985 Date-Received: Fri, 1-Mar-85 07:18:00 EST Sender: news@brl-tgr.ARPA Lines: 23 /* > ...without having to do the horrible kluge of > > sleep 10000000 >/dev/ttyXX & > > to hold it open so that it doesn't reset its baud rate back to 300. Thanks, Bill. I had a program that opened the tty, then slept! I'll do it your way from now on! > I would also not mind seeing a TERM name stored in the terminal structure. > I think that this makes more sense than storing it in the environment as > a terminal type is logically more closely related to a tty port than it > is to a process. A process could theoritically be controlling more than > one terminal of different types. > -- > Bill Sebok Princeton University, Astrophysics Why not have init/getty/sh just come right out & ask "TERMINAL TYPE?" Of course, .profile/.login can do this, and I do. Good points. jim */