Hello, > allocating pseudo-terminals in a portable way is a nightmare.
I agree. You also find some source code in this direction in glibc, in xterm (horrible mess of #ifdefs), in kdebase/konsole, in rxvt, in gnome-terminal, ... > It would be nice if gnulib included portable > replacements for GNU C library functions getpt, > grantpt, unlockpt, ptsname, ptsname_r, openpty, > forkpty, Is this API sufficient? The example in the glibc manual indicates that some STREAMS operations are necessary as well, no? The usual way for some code to come into gnulib is that someone who needs it writes it, and then submits it into gnulib. Bruno _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib