1 /* from http://jwz.livejournal.com/817438.html */
13 if ((pid
= forkpty(&fd
, NULL
, NULL
, NULL
)) < 0)
17 printf ("0123456789\n");
19 /* #### Uncommenting this makes it work! */
30 main (int argc
, char **argv
)
36 /* On 10.4, this prints the whole 10 character line, 1 char per second.
37 On 10.5, it prints 1 character and stops.
41 if (n
> 0) fprintf (stderr
, "%c", *s
);