From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,38d2da18c4f88ad5 X-Google-Attributes: gidfee84,public From: peter@vtd.volvo.se (peter hakanson) Subject: Re: Terminal type Date: 1997/07/15 Message-ID: <5qg47m$qh8@nike.volvo.se>#1/1 X-Deja-AN: 257019059 References: <01bc8cd1$c7161d20$24c8c8c8@doug> Organization: Volvo Corp. Newsgroups: comp.unix.osf.osf1 No i don't think that is available as general tool. The reason is that more terminal types are available then the limited set VMS handles. (VMS could send a few escape sequences and listen for reply for all vt-xx type terminals). Many terminals has no "who are you" questions/answer strings defined, and thus will remain silent whatever they are asked. And some types may screw up if given enough "unrecognized" sequences. But, don't give up, if you use a limited set of terminals 'tset' might do the job, at least to the point where a user is prompted to answer 'vt-320' or something like that. Additionaly, if your terminal population is limited, you might write a small program that figures out (by sending questions and listening for the reply) what type of terminal gets connected. (which is what you asked for in the first place :-) Regards Peter h Doug Hamilton (ndh01@konica.com.au) wrote: : This is a repost because I didn't get any replies. : Does anyone know how to determine the type of a terminal, like VMS's set : term/inquire? : Thanks : -- : Doug Hamilton : ndh01 at konica dot com dot au -- Unsolicited commercial/propaganda email subject to legal action. Under US Code Title 47, Sec.227(a)(2)(B), Sec.227(b)(1)(C), and Sec.227(b)(3)(C), a State may impose a fine of not less than $500 per message. Read the full text of Title 47 Sec 227 at http://www.law.cornell.edu/uscode/47/227.html (remove ".devnull" before use!) Peter H�kanson,Volvo Technological Development. Dep 6970,Gothenburg