This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: kvt can't open pseudo terminal


On Mon, May 28, 2001 at 08:47:06AM -0400, Suhaib Siddiqi wrote:
> 
> 
> > -----Original Message-----
> > From: Ralf Habacker [mailto:Ralf.Habacker@saght.tessag.com]
> > Sent: Monday, May 28, 2001 2:34 AM
> > To: Cygwin-Xfree
> > Subject: kvt can't open pseudo terminal
> > 
> > Hi,
> > 
> > while porting kde I have found, that kvt can't open a pseudo terminal
> > device
> > /dev/ptv.. like on linux available.
> > I have searched this mailing list but don't found any relating mail.
> > 
> > Can anynone tell me, how this is implemented on cygwin ?
> 
> 
> I do not think /dev/ptv is implemented in Cygwin.  You need to add
> It to cygwin, yourself.  You can ask at cygwin mailing list.

Try streams ptys:

	master = open ("/dev/ptmx", ...);
	grantpt(master);
	unlockpt(master);
	slave = open (ptsname(master), ...);

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]