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