Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!sauer From: sauer@auschs.UUCP (Charlie Sauer) Newsgroups: comp.sys.ibm.pc.rt Subject: Re: Why is AIX not "useful"? (was "Re: BSD Unix on 6150-135?") Summary: max pty's strategies; man pages clarification Message-ID: <1865@auschs.UUCP> Date: 5 Mar 89 17:08:45 GMT References: <2650@spdcc.SPDCC.COM> <583@jc3b21.UUCP> <2854@stpstn.UUCP> <560@Portia.Stanford.EDU> Organization: IBM AWD, Austin, TX Lines: 48 In article <560@Portia.Stanford.EDU>, karish@forel.stanford.edu (Chuck Karish) writes: > In article <2854@stpstn.UUCP> aad@stepstone.com wrote: > >A default of 16 maximum > >ptys is also bad, as is having to create them one at a time. > > I agree with both points. There should be a utility to do all the > 'devices' stuff from batch files, like the 'dsldxprof' program for > Distributed Services. Yes, this should/will be better. Here's how I personally deal with this now: 1. use 'tee /etc/addpty.cmds | devices' to create a script of commands to feed to devices. There is some minor trickiness here, so I'm embedding a uuencode of my version of addpty.cmds: begin 644 /etc/addpty.cmds ;82!P='ED978@<'1S(`H*;F\*"@H;6S`P,W$* ` end Then use 'devices < /etc/addpty.cmds' up to the limits of your desires or the configured maximums. Note that this sort of strategy also works with other menu oriented commands, e.g., ndtable, that don't have a non-menu version. If anyone wants my ndtable scripts, I'll be glad to mail/post them. 2. If you want to go above the default maximum of 16, in /etc/master up the ptybuffers value and the maxminor values for uptc and upts. Rebuild the kernel (cd /usr/sys;make), put it in place and shutdown/reboot. Then add additional stanzas to /etc/ddi/pty for the new pty's. ("Yes, this should/ will be better.") > >I find it > >amazing that online manual pages are a seperate product ... > > I found it annoying that my IBM sales rep told me they were available > only for AIX/370. Has anyone else bought them? man pages come by default with AIX/370. With the RT, they are a separate $50 PRPQ, with the number I and others have previously posted: P91026. Charlie -- C.H. Sauer IBM Advanced Workstations Div. !'s: cs.utexas.edu!ibmaus!sauer 11400 Burnet Road, D75/802 @'s: @CS.UTEXAS.EDU:sauer@ibmaus.uucp Austin, Texas 78758-2502 !&@: ibmaus!sauer@CS.UTEXAS.EDU (512) 823-3692 vnet: SAUER at AUSVM6