<?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: allocating fixed tty name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942191#M577233</link>
    <description>Nope,&lt;BR /&gt;&lt;BR /&gt;Not possible I'm afraid. Do a man on tels - it goes through the process of pty allocation (not something you can change to ensure that a certain user always gets a particular tty).&lt;BR /&gt;&lt;BR /&gt;Sorry!</description>
    <pubDate>Wed, 02 Apr 2003 17:18:39 GMT</pubDate>
    <dc:creator>Colin Topliss</dc:creator>
    <dc:date>2003-04-02T17:18:39Z</dc:date>
    <item>
      <title>allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942189#M577231</link>
      <description>Thanks for all answers.&lt;BR /&gt;&lt;BR /&gt;maybe I focus the problem wrongly.&lt;BR /&gt;My problem is as follow:&lt;BR /&gt;I have a HP/UX server with 20 windows 9x workstations running a informix/4GL aplication. Some of the windows boxes have epson's printers. They connect the server via telnet and can print their reports onto any printer. They write in the aplication the terminal where they wants to send printing. So they ask the person who has a printer his ttyxx and print their reports. The problem is that when a user with a printer logout the system reallocate him a new ttyzz and users have to ask him his new ttyzz. I would like to avoid this. Some guy can send me any idea.&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Wed, 02 Apr 2003 16:44:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942189#M577231</guid>
      <dc:creator>Juan Chipoco</dc:creator>
      <dc:date>2003-04-02T16:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942190#M577232</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To save users from asking for the new "tty", why dont you give them a nice little shell script which would show the users the tty details of the logged-in users? They can then choose the tty from your output. &lt;BR /&gt;&lt;BR /&gt;TTY assigned to logins would differ everytime unless they are connected through serial ports/mux/MDP. &lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;~AM</description>
      <pubDate>Wed, 02 Apr 2003 17:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942190#M577232</guid>
      <dc:creator>Anu Mathew</dc:creator>
      <dc:date>2003-04-02T17:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942191#M577233</link>
      <description>Nope,&lt;BR /&gt;&lt;BR /&gt;Not possible I'm afraid. Do a man on tels - it goes through the process of pty allocation (not something you can change to ensure that a certain user always gets a particular tty).&lt;BR /&gt;&lt;BR /&gt;Sorry!</description>
      <pubDate>Wed, 02 Apr 2003 17:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942191#M577233</guid>
      <dc:creator>Colin Topliss</dc:creator>
      <dc:date>2003-04-02T17:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942192#M577234</link>
      <description>As said in your previous thread, you can not dedicate a tty port to a user.&lt;BR /&gt;&lt;BR /&gt;You can see what users are on which tty's via the 'who' command.</description>
      <pubDate>Wed, 02 Apr 2003 17:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942192#M577234</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-04-02T17:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942193#M577235</link>
      <description>&lt;BR /&gt;Sounds link something similar to pass-through printing, but you want users to send print jobs to others' terminals...&lt;BR /&gt;&lt;BR /&gt;Why not work with symlinks? Attached is a posix shell script designed to be a wrapper for the 4GL application. When it scarts, it creates a symlink by username to the tty. If it already exists and the target tty is owned by the effective user, it skips. Otherwise it attempts create a new link. Then it invokes the 4GL program. When that's done, it deletes the symlink if it was previously created.&lt;BR /&gt;&lt;BR /&gt;So the users do not need to know the tty, just the standard symlink path, /dev/print/joeuser.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Apr 2003 23:32:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2942193#M577235</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2003-04-02T23:32:52Z</dc:date>
    </item>
  </channel>
</rss>

