*BSD News Article 23221


Return to BSD News archive

Xref: sserve comp.os.386bsd.bugs:1702 comp.unix.bsd:12854 comp.unix.pc-clone.32bit:4833
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!nntp.msstate.edu!darwin.sura.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!cs.utexas.edu!uunet!auspex-gw!guy
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.os.386bsd.bugs,comp.unix.bsd,comp.unix.pc-clone.32bit
Subject: Re: setting TIOCSCTTY on /dev/tty
Message-ID: <18779@auspex-gw.auspex.com>
Date: 27 Oct 93 21:50:48 GMT
References: <CFKJGp.1v2n@austin.ibm.com>
Sender: news@auspex-gw.auspex.com
Followup-To: comp.os.386bsd.bugs
Organization: Auspex Systems, Santa Clara
Lines: 7
Nntp-Posting-Host: bootme.auspex.com

>What is the expected behaviour of opening /dev/tty and issuing a ioctl
>to make it the controlling terminal?

I can't speak for the creators of any of the assorted BSD flavors, but
*I'd* expect it either to return an error, or to do nothing whatsoever -
such a request amounts to "make my controlling terminal my controlling
terminal".