home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!ukma!wupost!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!newshost.cs.rose-hulman.edu!news
- From: mgrthh@HYDRA.ROSE-HULMAN.EDU
- Subject: Connecting FTA to VTA
- Message-ID: <1992Aug19.125754.1851@cs.rose-hulman.edu>
- Sender: news@cs.rose-hulman.edu (The News Administrator)
- Nntp-Posting-Host: rosevc.rose-hulman.edu
- Reply-To: mgrthh@HYDRA.ROSE-HULMAN.EDU
- Organization: Rose-Hulman Institute of Technology
- Date: Wed, 19 Aug 1992 12:57:54 GMT
- Approved: wccmod@nextwork.rose-hulman.edu
- Lines: 33
-
-
- I am writing an application that uses pseudoterminals (the new, FTA kind)
- as the input/output device of an interactive process. This process is
- created with $CREPRC, with the flags PRC$V_INTER, PRC$V_DETACH, and
- PRC$V_NOPASSWORD, executing LOGINOUT, so that an interactive process is
- created without having to enter a username and password. This happens
- fine.
-
- What I want to do is have a virtual terminal (VTA) device be connected to
- the pseudoterminal, so that the interactive process can become
- disconnected from the pseudoterminal. Virtual terminals are already set
- up correctly on the system, and the pseudoterminal is being created with
- the TT2$V_DISCONNECT bit set.
-
- What happens: If I do not create the process (but rather simply create
- the pseudoterminal), input to the pseudoterminal will cause the job
- controller (I believe) to create a virtual terminal, attach the
- pseudoterminal to the virtual terminal, and create a process running
- LOGINOUT.
-
- The question: How do I do what the job controller (apparently) is
- doing--how do I create the VTA device and connect the "physical" FTA
- device to it?
-
- Thanks for any help that anyone can provide!
-
- - Tom
-
- --
- Thomas H. Hopson mgrthh@rosevc.rose-hulman.edu
- VMS System Manager mgrthh@rhit.bitnet
- Rose-Hulman Institute of Technology
- Terre Haute, Indiana NeXTmail: mgrthh@nextwork.rose-hulman.edu
-