| [ CnUnix ] in KIDS 글 쓴 이(By): hello (Yang S.S.) 날 짜 (Date): 1996년04월02일(화) 17시20분47초 KST 제 목(Title): [Re] pty수 늘리기. 선 faq에 보면 다음과 같이 나와있습니다. How do I increase the number of "pseudo" terminals(ptys)? For SunOS4.1.x: To add more ptys you must install a new kernel. The default number of "ptys" is 48. To get more "ptys" change the kernel config line "pseudo-device pty" to "pseudo-device pty#" where '#" is the number of "ptys" you want. Be warned the maximum number you can have is 256. You will need to run /dev/MAKEDEV pty[0-5] to create the /dev/ entries. For SunOS5.x: In /etc/system, add the line: set pt_cnt=nnn -- nnn can have a value up to 3000. touch /reconfigure and reboot using 'init 6'. For BSD style ptys set npty in /etc/system to the desired value(ie set npty=64). You may need to make the ptys by hand and you will need to make likes from /dev to /devices for these devices. Finally, you will need to edit /etc/iu.ap to automatically push the appropriate streams compatibility modules onto the new devices. You need to replace the line reading "ptsl 0 15 ldterm ttcompat" with "ptsl 0 <NUM> ldterm ttcompat" where <NUM> was one less than the number of compatibility ptys you need. 도움이 되었기를. ------------------------------------------- 안녕하세요? <o>------< HELLO e-mail : ssyang@metro.telecom.samsung.co.kr ------------------------------------------- |