<?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 Issue with user Terminal or Shell or Profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-with-user-terminal-or-shell-or-profile/m-p/5393241#M476722</link>
    <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting some geniunen issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever a user sapadm is looging into the server, he needs to set the terminay tty.&lt;/P&gt;&lt;P&gt;and the vi is working in open mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;abcd:/home/sapadm#su - sapadm&lt;BR /&gt;Authorized uses, only. All activity may be monitored and reported&lt;BR /&gt;You have mail.&lt;BR /&gt;TERM = (hp) tty&lt;BR /&gt;avggspbh 21: vi abcd&lt;/P&gt;&lt;P&gt;[Using open mode]&lt;/P&gt;&lt;P&gt;"abcd" [New file]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;avggspbh 22: echo $TERM&lt;BR /&gt;tty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what would be the issue&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2011 08:32:49 GMT</pubDate>
    <dc:creator>Indrajit Bhagat</dc:creator>
    <dc:date>2011-11-17T08:32:49Z</dc:date>
    <item>
      <title>Issue with user Terminal or Shell or Profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-with-user-terminal-or-shell-or-profile/m-p/5393241#M476722</link>
      <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting some geniunen issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever a user sapadm is looging into the server, he needs to set the terminay tty.&lt;/P&gt;&lt;P&gt;and the vi is working in open mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;abcd:/home/sapadm#su - sapadm&lt;BR /&gt;Authorized uses, only. All activity may be monitored and reported&lt;BR /&gt;You have mail.&lt;BR /&gt;TERM = (hp) tty&lt;BR /&gt;avggspbh 21: vi abcd&lt;/P&gt;&lt;P&gt;[Using open mode]&lt;/P&gt;&lt;P&gt;"abcd" [New file]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;avggspbh 22: echo $TERM&lt;BR /&gt;tty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what would be the issue&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 08:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-with-user-terminal-or-shell-or-profile/m-p/5393241#M476722</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2011-11-17T08:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with user Terminal or Shell or Profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-with-user-terminal-or-shell-or-profile/m-p/5393283#M476723</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Best think i Had done, is copied the home directory from the server, in which his profile was working. Seems issue resolved&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 09:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-with-user-terminal-or-shell-or-profile/m-p/5393283#M476723</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2011-11-17T09:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with user Terminal or Shell or Profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-with-user-terminal-or-shell-or-profile/m-p/5393437#M476724</link>
      <description>&lt;P&gt;The problem is that your login profiles are not setup to properly handle terminals. The $TERM value must never be set manually as in: TERM=vt100, but instead, should be set using ttytype -s. The default /etc/profile and .profile have not been updated in more than 20 years and are very poor at handling different terminals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All user .profile files should have this line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; eval $(ttytype -s)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There may be the deprecated (obsolete, don't use) command tset, possibly in a convoluted if-then-else clause. You can just add the above line after the finish of this part of the code or just put it at the bottom of .profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now your terminal will be automatically identified and vi will run normally (along with any other terminal-dependent programs).&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 12:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-with-user-terminal-or-shell-or-profile/m-p/5393437#M476724</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-11-17T12:39:07Z</dc:date>
    </item>
  </channel>
</rss>

