Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!think!snorkelwacker!mit-eddie!uw-beaver!uw-entropy!dataio!gtenmc!fst From: fst@gtenmc.UUCP (Fariborz "Skip" Tavakkolian) Newsgroups: comp.unix.wizards Subject: Re: Termid (was: Re: Login (unique) problems with terminal emulations.) Message-ID: <371@gtenmc.UUCP> Date: 5 Jan 90 09:18:52 GMT References: <1030@dialogic.UUCP> <3153@taux01.UUCP> <266@zircon.UUCP> <1075@maxim.erbe.se> Reply-To: fst@gtenmc.UUCP (Fariborz Skip Tavakkolian) Organization: GTE Telecom, Inc. Bothell, WA Lines: 32 In article <1075@maxim.erbe.se> prc@erbe.se (Robert Claeson) writes: >In article <266@zircon.UUCP>, davidb@Pacer.UUCP (David Barts) writes: >> This is a neat trick, basically what SET TERMINAL/INQUIRE does on >> VAX/VMS. [delete] >In fact, there are even a couple of VTxxx- compatible terminals and >PC-based emulators that hangs when they see the Z or the other [deleted] >-- > Robert Claeson E-mail: rclaeson@erbe.se I have always used the following with almost all ANSI terminals I have worked with: 1) Set the ``answer-back'' string to your terminal type followed by RETURN (i.e. 4424 or vt100, etc.) 2) Then inquire about the term type by sending '^E' or '\005' to the terminal. This causes the term to return the ``answer-back'' string. i.e. echo "Enter term type: \005\c" ; read TERM This has worked on AT&T 442X, 542X, DEC vt1XX and compatibles. Hope this helps. Skip -- ---------------------------------------------------------------------------- Fariborz "Skip" Tavakkolian -of- Automated Cellular Engineering Currently consulting -at- GTE Telecom, Inc. Bothell, Wa Mail: tiny1!fst@mcgp1 -or- fst@gtenmc