<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: correct insf syntax needed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896908#M403387</link>
    <description>Correct commands are&lt;BR /&gt;&lt;BR /&gt;# insf -d ptym -n &lt;NPTY&gt; -e -v&lt;BR /&gt;# insf -d ptys -n &lt;NPTY&gt; -e -v&lt;BR /&gt;&lt;BR /&gt;First command creates master devices:&lt;BR /&gt;&lt;BR /&gt;/dev/ptym/clone&lt;BR /&gt;/dev/ptym/pty&lt;INDEX&gt;&lt;NUMBER&gt;&lt;BR /&gt;&lt;BR /&gt;Second command creates slave devices&lt;BR /&gt;&lt;BR /&gt;/dev/pty/tty&lt;INDEX&gt;&lt;NUMBER&gt;&lt;BR /&gt;&lt;BR /&gt;The last two commands can be replaced by a single command&lt;BR /&gt;&lt;BR /&gt;# insf -d pty -n &lt;NPTY&gt; -e -v&lt;BR /&gt;&lt;BR /&gt;These devices are used by xterm and hpterm.&lt;BR /&gt;&lt;BR /&gt;&lt;/NPTY&gt;&lt;/NUMBER&gt;&lt;/INDEX&gt;&lt;/NUMBER&gt;&lt;/INDEX&gt;&lt;/NPTY&gt;&lt;/NPTY&gt;</description>
    <pubDate>Wed, 20 Apr 2005 00:03:59 GMT</pubDate>
    <dc:creator>Ermin Borovac</dc:creator>
    <dc:date>2005-04-20T00:03:59Z</dc:date>
    <item>
      <title>correct insf syntax needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896903#M403382</link>
      <description>i have allowed several more users onto my 11.00 L2000 server recently and right now they are having problems starting "xterm"s&lt;BR /&gt;&lt;BR /&gt;there are no errors in dmesg or in syslog.log&lt;BR /&gt;&lt;BR /&gt;but i think i see the problem ...below run as root from the server:&lt;BR /&gt;&lt;BR /&gt;kmtune -q npty | grep npty&lt;BR /&gt;   npty                 512&lt;BR /&gt;kmtune -q nstrpty | grep nstrpty&lt;BR /&gt;   nstrpty              512&lt;BR /&gt;cd /dev/pty; ls | wc -w&lt;BR /&gt;   60&lt;BR /&gt;cd /dev/ptym; ls | grep pty | wc -w&lt;BR /&gt;   60&lt;BR /&gt;&lt;BR /&gt;basically i forgot to run insf when i tweaked the kernel years ago on this server. so my question is what should be the syntax of insf to impact only device files used by xterm?&lt;BR /&gt;&lt;BR /&gt;i do not want to run "insf -e" ...i want to be very specific about what i want insf to do. i just am wondering if i only need to run the following&lt;BR /&gt;   insf -v -e -d pty -n 512&lt;BR /&gt;or do i also need to run&lt;BR /&gt;   insf -v -e -d ptm -n 512&lt;BR /&gt;again i am only concerned about "xterm" not telnet, rlogin, etc... at this point in time&lt;BR /&gt;&lt;BR /&gt;thx, marc&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2005 12:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896903#M403382</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2005-04-19T12:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: correct insf syntax needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896904#M403383</link>
      <description>Hi Marc,&lt;BR /&gt;&lt;BR /&gt;insf is not going to cut the mustard here.&lt;BR /&gt;You'll need to increase some kernel parameters - specifically.&lt;BR /&gt;&lt;BR /&gt;npty&lt;BR /&gt;nstrpty&lt;BR /&gt;nstrtel&lt;BR /&gt;&lt;BR /&gt;This will require a reboot.&lt;BR /&gt;Increase them all at the same time &amp;amp; it's recommended that you keep them all the same value. for xterms the key one is nstrpty because they are all streams based connections - so are telnet connections for that matter.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 19 Apr 2005 12:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896904#M403383</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-04-19T12:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: correct insf syntax needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896905#M403384</link>
      <description>insf -d pty -s 512 -ev&lt;BR /&gt;insf -d ptm -s 512 -ev&lt;BR /&gt;insf -d telm ss 512 -ev&lt;BR /&gt;insf -d tels -s 512 -ev &lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2005 12:58:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896905#M403384</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-04-19T12:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: correct insf syntax needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896906#M403385</link>
      <description>jeff, the kernel is OK since the parameters of concern are set to 512 as shown in my original post ...but the devices files have a count of 60 (which is the main problem)</description>
      <pubDate>Tue, 19 Apr 2005 12:58:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896906#M403385</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2005-04-19T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: correct insf syntax needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896907#M403386</link>
      <description>RAC, are you sure those are the right commands?&lt;BR /&gt;&lt;BR /&gt;insf -d pty -s 512 -ev&lt;BR /&gt;(should that be a "-n" not "-s")&lt;BR /&gt;insf -d ptm -s 512 -ev&lt;BR /&gt;(should that be a "-n" not "-s")&lt;BR /&gt;insf -d telm ss 512 -ev&lt;BR /&gt;(i thought this was only needed for telnet not xterm)&lt;BR /&gt;insf -d tels -s 512 -ev&lt;BR /&gt;(i thought this was only needed for telnet not xterm)&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2005 13:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896907#M403386</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2005-04-19T13:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: correct insf syntax needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896908#M403387</link>
      <description>Correct commands are&lt;BR /&gt;&lt;BR /&gt;# insf -d ptym -n &lt;NPTY&gt; -e -v&lt;BR /&gt;# insf -d ptys -n &lt;NPTY&gt; -e -v&lt;BR /&gt;&lt;BR /&gt;First command creates master devices:&lt;BR /&gt;&lt;BR /&gt;/dev/ptym/clone&lt;BR /&gt;/dev/ptym/pty&lt;INDEX&gt;&lt;NUMBER&gt;&lt;BR /&gt;&lt;BR /&gt;Second command creates slave devices&lt;BR /&gt;&lt;BR /&gt;/dev/pty/tty&lt;INDEX&gt;&lt;NUMBER&gt;&lt;BR /&gt;&lt;BR /&gt;The last two commands can be replaced by a single command&lt;BR /&gt;&lt;BR /&gt;# insf -d pty -n &lt;NPTY&gt; -e -v&lt;BR /&gt;&lt;BR /&gt;These devices are used by xterm and hpterm.&lt;BR /&gt;&lt;BR /&gt;&lt;/NPTY&gt;&lt;/NUMBER&gt;&lt;/INDEX&gt;&lt;/NUMBER&gt;&lt;/INDEX&gt;&lt;/NPTY&gt;&lt;/NPTY&gt;</description>
      <pubDate>Wed, 20 Apr 2005 00:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896908#M403387</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-04-20T00:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: correct insf syntax needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896909#M403388</link>
      <description>thx ermin, that was what i was trying to confirm</description>
      <pubDate>Fri, 22 Apr 2005 12:08:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/correct-insf-syntax-needed/m-p/4896909#M403388</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2005-04-22T12:08:50Z</dc:date>
    </item>
  </channel>
</rss>

