Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!ginosko!usc!apple!bbn!aoa!mbr From: mbr@aoa.UUCP (Mark Rosenthal) Newsgroups: comp.unix.ultrix Subject: Re: "max N" clause on "pseudo-device pty" in config file Message-ID: <957@aoa.UUCP> Date: 5 Oct 89 21:52:24 GMT References: <952@aoa.UUCP> <439@shodha.dec.com> Reply-To: mbr@aoa (Mark Rosenthal) Organization: Adaptive Optics assoc., Cambridge, Ma Lines: 28 In article <952@aoa.UUCP>, I asked how to configure a kernel for additional ptys. I mistakenly interpreted (italic)"max n" in the manual as if it were (bold)"max" (italic) "n", which led me to include "max" as a keyword in the pseudo-device line in the config file. Thanks for the responses. I've got it working now. In article <439@shodha.dec.com> alan@shodha.dec.com ( Alan's Home for Wayward Notes File.) writes: > It sounds like the documentation is being unclear about > what you're supposed to do. The part about the default > being 16 also seems to be a bit of a mystery to me. Check > the file pty.h in your kernel build directory and see > how many it says. For the configuration file for my VAX > 8800 it said 64, but a test configuration file gave 1. I can explain this mystery. The file /sys/data/tty_pty_data.c contains the following code: #if NPTY == 1 #undef NPTY #define NPTY 32 /* crude XXX */ #endif The documentation clearly should say that the default is 32, not 16. Thanks to all who responded. -- Mark of the Valley of Roses ...!bbn.com!aoa!mbr