/*
 *  Network Node Manager Terminal Connect
 *
 *  $Revision: /main/PULSAR/5 $
 *  $Date: 1998/07/10 22:29 UTC $
 */

Application "Terminal Connect"
{
    Description {
	"HP OpenView",
	"Enables you to create a terminal emulator window ",
	"on a local system that is connected to a remote system ",
	"via a network virtual terminal protocol."
    }
    
    DisplayString "Terminal Connect ";

    Version "NNM Release B.06.01  Apr 09 1999";

    Copyright {
	"Copyright (c) 1990-1999 Hewlett-Packard Company",
	"All rights reserved"
    }

    /*
    **  Tools
    */

    MenuBar <100> "Tools" _T
    {
		<100> "Terminal Connect"   _T   f.menu "Terminal Connect";
    }

    Menu "Terminal Connect"
    {
#ifdef HPUX
		<100> "Telnet (hpterm)"   _h CONTEXT "AllContexts || isIP" f.action "HPTerm Telnet";
#endif /* HPUX */

#ifndef NT
		<100> "Telnet (xterm)"    _x CONTEXT "AllContexts || isIP" f.action "XTerm Telnet";
#else /* !NT */
		<100> "Telnet"	    _h CONTEXT "AllContexts || isIP" f.action "Telnet";
#endif /* !NT */

#ifdef HPUX
		/** Remove comments if you have vt3k on HPUX 10 **
		<100> "Vt3k (hp3000): Block Mode"   _B CONTEXT "AllContexts || isIP" f.action "Block vt3k";
		<100> "Vt3k (hp3000): Type Ahead"   _T CONTEXT "AllContexts || isIP" f.action "Typeahead vt3k";
		** Remove comments if you have vt3k on HPUX 10 **/
#endif /* HPUX */

#ifdef SOLARIS
		<100> "Telnet (cmdtool)"	_c CONTEXT "AllContexts || isIP" f.action "Cmdtool Telnet";
#endif /* SOLARIS */
    }

#ifdef HPUX
    Action "HPTerm Telnet"
    {
		MinSelected 1;
		MaxSelected 1;
		SelectionRule (isNode || isInterface) && isIP;
		NameField "IP Hostname", "IP Address";
		Command "xnmtelnet hpterm";
    }
#endif /* HPUX */

#ifndef NT
    Action "XTerm Telnet"
    {
		MinSelected 1;
		MaxSelected 1;
		SelectionRule (isNode || isInterface) && isIP;
		NameField "IP Hostname", "IP Address";
		Command "xnmtelnet xterm";
    }
#else /* !NT */
    Action "Telnet"
    {
		MinSelected 1;
		MaxSelected 1;
		SelectionRule (isNode || isInterface) && isIP;
		NameField "IP Hostname", "IP Address";
		Command "telnet $OVwSelections";
	}
#endif /* !NT */

#ifdef HPUX
    /** Remove comments if you have vt3k on HPUX 10 **
    Action "Block vt3k"
    {
		MinSelected 1;
		MaxSelected 1;
		SelectionRule (isNode || isInterface) && (vendor=="Hewlett-Packard");
		NameField "IP Hostname", "IP Address";
		Command "xnmvt3k block";
    }
    Action "Typeahead vt3k"
    {
		MinSelected 1;
		MaxSelected 1;
		SelectionRule (isNode || isInterface) && (vendor=="Hewlett-Packard");
		NameField "IP Hostname", "IP Address";
		Command "xnmvt3k typeahead";
    }
    ** Remove comments if you have vt3k on HPUX 10 **/
#endif /* HPUX */

#ifdef SOLARIS
    Action "Cmdtool Telnet"
    {
		MinSelected 1;
		MaxSelected 1;
		SelectionRule (isNode || isInterface) && isIP;
		NameField "IP Hostname", "IP Address";
		Command "xnmtelnet cmdtool";
    }
#endif /* SOLARIS */
}
