FreeBSD Bugzilla – Attachment 88916 Details for
Bug 125772
Increasing the number of ptys based on the FAQ results compilation error on FreeBSD 7.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
books.faq.ptys.patch.1.diff
books.faq.ptys.patch.1.diff (text/plain), 2.56 KB, created by
Gabor Pali
on 2008-07-23 20:29:33 UTC
(
hide
)
Description:
books.faq.ptys.patch.1.diff
Filename:
MIME Type:
Creator:
Gabor Pali
Created:
2008-07-23 20:29:33 UTC
Size:
2.56 KB
patch
obsolete
>Index: book.sgml >=================================================================== >RCS file: /doc/en_US.ISO8859-1/books/faq/book.sgml,v >retrieving revision 1.1075 >diff -u -u -r1.1075 book.sgml >--- book.sgml 19 Jul 2008 07:42:11 -0000 1.1075 >+++ book.sgml 23 Jul 2008 19:21:56 -0000 >@@ -6290,43 +6290,21 @@ > > <answer> > >- <para>If you have lot of <command>telnet</command>, <command>ssh</command>, X, or <command>screen</command> users, >- you will probably run out of pseudoterminals. Here is how to >- add more:</para> >+ <para>If you have a lot of telnet, ssh, X, or screen users, >+ you might run out of pseudoterminals. By default, >+ &os; 6.2 and earlier support 256 pseudoterminals, while >+ &os; 6.3 and later support 512 pseudoterminals.</para> > >- <procedure> >- <step> >- <para>Build and install a new kernel with the line in >- the configuration file:</para> >- >- <programlisting>device pty <replaceable>N</replaceable></programlisting> >- >- <para>where <replaceable>N</replaceable> is the number >- of requested pseudoterminals.</para> >- </step> >- >- <step> >- <para>Edit <filename>/etc/ttys</filename> and add lines >- for each of the <replaceable>N</replaceable> terminals. They should match the form >- of the existing entries, i.e. they look like this:</para> >- >- <programlisting>ttyqc none network</programlisting> >- >- <para>The order of the letter designations is >- <literal>tty[pqrsPQRSlmnoLMNO][0123456789abcdefghijklmnopqrstuv]</literal>, using a >- regular expression.</para> >- </step> >- >- <step> >- <para>Reboot the system with the new kernel and you are >- ready to go.</para> >- </step> >- </procedure> >- >- <note> >- <para>Using more than 256 (up to 512) &man.pty.4; devices requires >- &os; 6.3 or later.</para> >- </note> >+ <tip> >+ <para>If needed, more pseudoterminals can be added. >+ However, this requires patching the standard C library, >+ the kernel, and <filename>/etc/ttys</filename>. For >+ example, <ulink >+ url="http://www.freebsd.org/~jhb/patches/pty_1152.patch"></ulink> >+ expands the number of pseudoterminals to 1152. Note that >+ the patch will only apply cleanly to &os; 6.3 or >+ later.</para> >+ </tip> > </answer> > </qandaentry> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 125772
:
88915
| 88916