delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/16/18:01:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B7C42A2.77984F60@corp.earthlink.net>
Date: Thu, 16 Aug 2001 15:01:06 -0700
From: "Robert L. Brown JR" <rbrownjr AT corp DOT earthlink DOT net>
X-Mailer: Mozilla 4.5 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: void tty association
Note-from-DJ: This may be spam

Hello,

  I'm trying to figure out how to remove the  "tty association" of the control
terminal
from a child process in CYGWIN  .

Under SYSV I would call setpgrp()

In BSD, I would call
   fd=open("/dev/tty", _O_RDRW);
   ioctl(fd, TIOCNOTTY, 0);

The CYGWIN API Reference mentions tcsetpgrp().
When I do "man tcsetpgrp" under CYGWIN, I get nothing.
I've looked at the tcsetpgrp() call manpage under Solaris and
it says that it only change the pgid of the controlling terminal.

How do you remove the tty association in CYGWIN?


Any help appreciated,
Robert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019