From: belkin@teecs.UUCP (Hershel Belkin) Date: Mon, 10 Jun 1991 13:45:05 GMT Subject: Re: Determining terminal types Message-ID: <29280008@teecs.UUCP> Organization: Litton Systems, Toronto ONT Path: utzoo!censor!teecs!belkin Newsgroups: comp.sys.hp References: <1965@eastman.UUCP> There is a program called "qterm" (I think I pulled it off the comp.sources.unix archive) which uses a table-driven approach to sending query strings to terminals. I had to make one small mod to the program in order to properly sense VT320 terminals, but VT100, VT220, and all HP terminals are sensed properly (as well as lots of other types, limited only by the configured data table). I run it from /etc/profile, and it works well, even sending a string to the user's terminal indicating that the system has "recognized" the terminal as a "whatever". If you are unable to locate qterm, e-mail to me and I'll arrange to send you a copy directly (about 165K compressed tar archive). +-----------------------------------------------+-------------------------+ | Hershel Belkin hp9000/825(HP-UX)| UUCP: teecs!belkin | | Test Equipment Engineering Computing Services |Phone: 416 249-1231 x2647| | Litton Systems Canada Limited (Toronto) | FAX: 416 246-2016 | +-----------------------------------------------+-------------------------+