Re: trouble using a PTY

2002-11-03 Thread Fred_Smith
Egor: Thanks for the info! Fred egor duda <[EMAIL PROTECTED]> on 11/03/2002 09:47:53 AM Please respond to egor duda <[EMAIL PROTECTED]> To: Fred Smith/Computrition cc: [EMAIL PROTECTED] Subject: Re: trouble using a PTY Hi! Sunday, 03 November, 2002 [EMAIL PROTE

Re: trouble using a PTY

2002-11-03 Thread egor duda
Hi! Sunday, 03 November, 2002 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Fcc> I'm trying to run some very simple code that uses ptys. The Fcc> code is from W. Richard Stevens APUE book. The only change is This code is non-portable. The names of ptys are system-specific, and not guaranteed to be

trouble using a PTY

2002-11-03 Thread Fred_Smith
I'm trying to run some very simple code that uses ptys. The code is from W. Richard Stevens APUE book. The only change is the printf you see below. In this routine: int ptym_open(char *pts_name) { int fdm; char*ptr1, *ptr2; strcpy(pts_name, "/dev/ptyXY");