From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,41792a0389a0d94a X-Google-Attributes: gidf7344,public X-Google-Thread: f678f,df16b1468bf9036c X-Google-Attributes: gidf678f,public X-Google-Thread: 10b612,f13c609775990fb2 X-Google-Attributes: gid10b612,public X-Google-Thread: 10fc0e,41792a0389a0d94a X-Google-Attributes: gid10fc0e,public X-Google-ArrivalTime: 1995-01-18 07:21:50 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!news.sprintlink.net!matlock.mindspring.com!nntp.mindspring.com!nntp.mindspring.com!libove From: libove@libove.mindspring.com (Jay Vassos-Libove) Newsgroups: vmsnet.networks.misc,comp.os.vms,comp.unix.ultrix,comp.unix.osf.misc Subject: How to make DECnet connection to CTERM object from program? Followup-To: vmsnet.networks.misc Date: 18 Jan 1995 15:21:50 GMT Organization: MindSpring Enterprises, Inc. Distribution: world Message-ID: NNTP-Posting-Host: libove.mindspring.com Xref: nntp.gmd.de vmsnet.networks.misc:137 comp.os.vms:63443 comp.unix.ultrix:16592 comp.unix.osf.misc:2363 Can someone please email to me with information about creating a DECnet connection from an OSF/1 machine (the commands are probably the same from an ULTRIX machine) in a program, to the CTERM service on a VMS machine, and "negotiate" the connection so that I can then take that file descriptor and use it to read the USERNAME prompt, "log in", and have my program act as though it were a human user? I've found the dnet_conn() library call, and been able to use it to open the connection to object '#42' at the remote end (either on a VMS system or on an OSF/1 system), but there is a protocol negotiation phase that must then be completed, which I don't understand. A challenge arrives once the connection is established to object '#42' (CTERM) which consists of: ^A^B^D^@^G^@^P^@ (that is, ASCII [decimal] codes 1, 2, 4, 0, 7, 0, 16, 0) I've found and skimmed through the documents on gatekeeper.dec.com in the pub/DEC/DECnet/PhaseIV/ directory, and though I think they describe what is happenning, I'm unable to convert those old protocol descriptions in to actual codes/responses. For my purposes, it would be sufficient to know simply what to send back to that challenge so that the connection is put in to passall mode (in the sense that there's nothing special about the connection - if it looked just like the result of "dlogin" [SET HOST] that would be fine). My e-mail address is libove@libove.mindspring.com, though hopefully a reply to this posting address libove@compgen.com or uunet!cgi!libove should also work. Thanks!! -- Jay Vassos-Libove libove@MindSpring.com 11575 Laurel Lake Drive +1 404 552 0543 Roswell, GA 30075 Ask me about MindSpring U.S.A. Internet access in Atlanta!