home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / vms / 13810 < prev    next >
Encoding:
Text File  |  1992-08-19  |  2.0 KB  |  47 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!ukma!wupost!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!newshost.cs.rose-hulman.edu!news
  3. From: mgrthh@HYDRA.ROSE-HULMAN.EDU
  4. Subject: Connecting FTA to VTA
  5. Message-ID: <1992Aug19.125754.1851@cs.rose-hulman.edu>
  6. Sender: news@cs.rose-hulman.edu (The News Administrator)
  7. Nntp-Posting-Host: rosevc.rose-hulman.edu
  8. Reply-To: mgrthh@HYDRA.ROSE-HULMAN.EDU
  9. Organization: Rose-Hulman Institute of Technology
  10. Date: Wed, 19 Aug 1992 12:57:54 GMT
  11. Approved: wccmod@nextwork.rose-hulman.edu
  12. Lines: 33
  13.  
  14.  
  15.    I am writing an application that uses pseudoterminals (the new, FTA kind)
  16.    as the input/output device of an interactive process.  This process is
  17.    created with $CREPRC, with the flags PRC$V_INTER, PRC$V_DETACH, and
  18.    PRC$V_NOPASSWORD, executing LOGINOUT, so that an interactive process is
  19.    created without having to enter a username and password.  This happens
  20.    fine.
  21.  
  22.    What I want to do is have a virtual terminal (VTA) device be connected to
  23.    the pseudoterminal, so that the interactive process can become
  24.    disconnected from the pseudoterminal.  Virtual terminals are already set
  25.    up correctly on the system, and the pseudoterminal is being created with
  26.    the TT2$V_DISCONNECT bit set.
  27.  
  28.    What happens: If I do not create the process (but rather simply create
  29.    the pseudoterminal), input to the pseudoterminal will cause the job
  30.    controller (I believe) to create a virtual terminal, attach the
  31.    pseudoterminal to the virtual terminal, and create a process running
  32.    LOGINOUT.
  33.  
  34.    The question: How do I do what the job controller (apparently) is
  35.    doing--how do I create the VTA device and connect the "physical" FTA
  36.    device to it?
  37.  
  38.    Thanks for any help that anyone can provide!
  39.  
  40.                                                         - Tom
  41.  
  42. --
  43. Thomas H. Hopson                                mgrthh@rosevc.rose-hulman.edu 
  44. VMS System Manager                              mgrthh@rhit.bitnet
  45. Rose-Hulman Institute of Technology             
  46. Terre Haute, Indiana                  NeXTmail: mgrthh@nextwork.rose-hulman.edu
  47.