|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Valentin Nechayev 2:5020/400 18 Feb 2006 17:21:00 To : Slawa Olhovchenkov Subject : Re: Вести с полей (pty) -------------------------------------------------------------------------------- >>> Slawa Olhovchenkov wrote: SO> cognet 2006-01-26 01:30:34 UTC SO> Bring in a sysv-style pts implementation, as found in the rwatson_pts SO> perforce branch. It works the same as its SysV/linux SO> +counterpart : You obtain a fd to the master pseudo terminal by opening SO> /dev/ptmx, which craetes a node for the master as SO> +/dev/pty[num] and a node for the slave as /dev/pts/[num]. SO> It should play nicely with the existing BSD ptys. SO> By default, the system will use the BSD ptys, one can set the sysctl SO> kern.pts.enable to 1 to make it use the new pts system. SO> The max number of pty that can be allocated on a system can be changed SO> with the sysctl kern.pts.max. It defaults to 1000, and can be increased, SO> but it is not Ух ты, наконец-то. А то есть пара машинок где 256 маловато. В RELENG_6 этого не будет? SO> recommanded, as any pty with a number > 999 won't be handled by whatever SO> uses utmp(5). utmp тоже переделывать надо. -netch- --- ifmail v.2.15dev5.3 * Origin: Dark side of coredump (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/223837e9057ac.html, оценка из 5, голосов 10
|