<?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: Customizing shell prompt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/customizing-shell-prompt/m-p/5052786#M745632</link>
    <description>Thanks for the solution.</description>
    <pubDate>Wed, 13 Jun 2007 13:08:25 GMT</pubDate>
    <dc:creator>Ridzuan Zakaria</dc:creator>
    <dc:date>2007-06-13T13:08:25Z</dc:date>
    <item>
      <title>Customizing shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/customizing-shell-prompt/m-p/5052784#M745630</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am writing a script to automate some database jobs. The script will prompt use to enter password their password. To avoid the password from being display on the screen while user entering it, I am setting the foreground and background to the same color using setaf and setab.&lt;BR /&gt;&lt;BR /&gt;But I am still having an issue. The cursor is still moving when user typing their password.&lt;BR /&gt;&lt;BR /&gt;How do I hide the cursor too?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 13 Jun 2007 12:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/customizing-shell-prompt/m-p/5052784#M745630</guid>
      <dc:creator>Ridzuan Zakaria</dc:creator>
      <dc:date>2007-06-13T12:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/customizing-shell-prompt/m-p/5052785#M745631</link>
      <description>Rather than doing tputs setaf why don't you instead do a 'stty -echo'?&lt;BR /&gt;&lt;BR /&gt;It is very important when doing stty's or tputs that you have a trap that does a "stty sane" so that the terminal is restored to a sane state after you process termimates normally or receives a signal. The stty's and tput's apply not to the process but to the terminal so even after the process terminates, if the terminal has not been restored, it is left in the state as of the last stty or tputs.</description>
      <pubDate>Wed, 13 Jun 2007 12:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/customizing-shell-prompt/m-p/5052785#M745631</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-13T12:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/customizing-shell-prompt/m-p/5052786#M745632</link>
      <description>Thanks for the solution.</description>
      <pubDate>Wed, 13 Jun 2007 13:08:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/customizing-shell-prompt/m-p/5052786#M745632</guid>
      <dc:creator>Ridzuan Zakaria</dc:creator>
      <dc:date>2007-06-13T13:08:25Z</dc:date>
    </item>
  </channel>
</rss>

