<?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: control C not set up in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860278#M396348</link>
    <description>Thanks</description>
    <pubDate>Wed, 23 Feb 2005 09:08:09 GMT</pubDate>
    <dc:creator>Ratzie</dc:creator>
    <dc:date>2005-02-23T09:08:09Z</dc:date>
    <item>
      <title>control C not set up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860272#M396342</link>
      <description>How do you set up the control C (EOF) in your enviroment.</description>
      <pubDate>Thu, 09 Sep 2004 08:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860272#M396342</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2004-09-09T08:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: control C not set up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860273#M396343</link>
      <description>In /etc/profile (for all users), we put the following:&lt;BR /&gt;&lt;BR /&gt;#########################################################&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;#########################################################&lt;BR /&gt;if [[ -t 0 ]]&lt;BR /&gt;then&lt;BR /&gt;        eval ` tset -s -Q `&lt;BR /&gt;        stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        stty susp ""&lt;BR /&gt;        stty dsusp ""&lt;BR /&gt;        tabs&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 09 Sep 2004 08:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860273#M396343</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-09-09T08:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: control C not set up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860274#M396344</link>
      <description>with the stty command.&lt;BR /&gt;stty KILL ^C&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 08:45:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860274#M396344</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-09-09T08:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: control C not set up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860275#M396345</link>
      <description>Depends on your terminal setup but the basic setup is usually stty setup in /etc/profile&lt;BR /&gt;&lt;BR /&gt;Attaching an example.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 09 Sep 2004 08:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860275#M396345</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-09T08:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: control C not set up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860276#M396346</link>
      <description>I have had a look at your script, thankyou. I have question relating to your root login.&lt;BR /&gt;&lt;BR /&gt;What are you doing below... What is a terminal file?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;chkname=`who am i | awk {'print $1'}`&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if [ "$chkname" = "root" ]&lt;BR /&gt;then&lt;BR /&gt; echo "..........."&lt;BR /&gt;else&lt;BR /&gt;#       echo "making the terminal file secure from hackers."&lt;BR /&gt;  mesg n &amp;gt;/dev/null&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;if [ "$LOGNAME" = "root" ]&lt;BR /&gt;then&lt;BR /&gt;  echo "Native root login. Securing the terminal file."&lt;BR /&gt;  mesg n &amp;gt;/dev/null&lt;BR /&gt;fi&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 08:57:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860276#M396346</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2004-09-09T08:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: control C not set up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860277#M396347</link>
      <description>We have to setup with stty command to enable EOF as,&lt;BR /&gt;&lt;BR /&gt;stty intr "^C" on /etc/profile (normal users)&lt;BR /&gt;&lt;BR /&gt;And for,&lt;BR /&gt;chkname=`who am i | awk {'print $1'}`&lt;BR /&gt;if [ "$chkname" = "root" ]&lt;BR /&gt;It is real root user's (when login) not the step up users with su. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if [ "$LOGNAME" = "root" ]&lt;BR /&gt;It will be applicable to root users (when they login and step up users with su  command )&lt;BR /&gt;&lt;BR /&gt;Get all stty settings as,&lt;BR /&gt;stty -a&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 09:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860277#M396347</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-09T09:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: control C not set up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860278#M396348</link>
      <description>Thanks</description>
      <pubDate>Wed, 23 Feb 2005 09:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-not-set-up/m-p/4860278#M396348</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2005-02-23T09:08:09Z</dc:date>
    </item>
  </channel>
</rss>

