home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / osf / osf1 / 38 next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.3 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!warwick!dcs.warwick.ac.uk!rince
  2. From: rince@dcs.warwick.ac.uk (James Bonfield)
  3. Newsgroups: comp.unix.osf.osf1
  4. Subject: /dev/ptm
  5. Summary: How to become controlling tty
  6. Keywords: terminals
  7. Message-ID: <1992Dec22.091437.11429@dcs.warwick.ac.uk>
  8. Date: 22 Dec 92 09:14:37 GMT
  9. Sender: news@dcs.warwick.ac.uk (Network News)
  10. Organization: Department of Computer Science, Warwick University, England
  11. Lines: 21
  12. Nntp-Posting-Host: stone
  13.  
  14. Hello,
  15.     Why does the 'script' command allocate itself a new controlling tty
  16. and yet no other 'standard' (eg emacs, fep) program seem able to? I've read
  17. the manuals for other machines and written programs to grab themselves a new
  18. tty by dissociating, becoming a session leader, and opening a terminal that
  19. current has no controlling process.
  20.  
  21.     This works on all machines I've tried except an Alpha running OSF1. By
  22. debugging script a bit I figured out it opens (read-write) /dev/ptm. This is
  23. not in any of the online manuals as far as I can see, and neither is how to
  24. become the controlling process. Can anyone offer assistance here?
  25.  
  26.     Cheers,
  27.  
  28.         James
  29.  
  30.  
  31. -- 
  32. James Bonfield (jkb@mrc-lmba.cam.ac.uk / rince@dcs.warwick.ac.uk)
  33. Medical Research Council Laboratory of Molecular Biology, Hills Road,
  34. Cambridge, CB2 2QH, England. Tel: 0223 402499   Fax: 0223 412282
  35.