<?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: Ctrl+C problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199160#M324461</link>
    <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;I tried to remark the line "   trap 1 2 3" in /etc/profile , it works, can advise what is the function of this line ? if disable it , what is the impact ?&lt;BR /&gt;&lt;BR /&gt;thx</description>
    <pubDate>Tue, 20 May 2008 09:29:21 GMT</pubDate>
    <dc:creator>haeman</dc:creator>
    <dc:date>2008-05-20T09:29:21Z</dc:date>
    <item>
      <title>Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199154#M324455</link>
      <description>In my system  , root user can use the ctrl+C ( break the running process ) , but general user can't use it , I tried to export the stty as below , both user ( root and general) are the same , can advise what is wrong ? thx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#stty -a&lt;BR /&gt;speed 9600 baud; rows 25; columns 80; line = 0;&lt;BR /&gt;intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = &lt;UNDEF&gt;;&lt;BR /&gt;eol2 = &lt;UNDEF&gt;; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;&lt;BR /&gt;lnext = ^V; flush = ^O; min = 1; time = 0;&lt;BR /&gt;-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts&lt;BR /&gt;-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff&lt;BR /&gt;-iuclc -ixany -imaxbel&lt;BR /&gt;opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0&lt;BR /&gt;isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt&lt;BR /&gt;echoctl echoke&lt;/UNDEF&gt;&lt;/UNDEF&gt;</description>
      <pubDate>Fri, 16 May 2008 06:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199154#M324455</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-05-16T06:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199155#M324456</link>
      <description>Hi Haeman,&lt;BR /&gt;&lt;BR /&gt;what kind of shell does your general user use?&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 16 May 2008 07:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199155#M324456</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2008-05-16T07:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199156#M324457</link>
      <description>bash &lt;BR /&gt;&lt;BR /&gt;thx</description>
      <pubDate>Fri, 16 May 2008 08:24:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199156#M324457</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-05-16T08:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199157#M324458</link>
      <description>&amp;gt;bash&lt;BR /&gt;&lt;BR /&gt;Why don't you use a real shell to see if cntl-C works at all?  (ksh or sh)</description>
      <pubDate>Fri, 16 May 2008 10:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199157#M324458</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-16T10:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199158#M324459</link>
      <description>&amp;gt; [...] my system [...]&lt;BR /&gt;&lt;BR /&gt;This does not describe the system very well.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  bash&lt;BR /&gt;&lt;BR /&gt;This does not describe the shell very well.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] general user can't use it &lt;BR /&gt;&lt;BR /&gt;This does not describe the problem very well.&lt;BR /&gt;&lt;BR /&gt;Ctrl/C seems to work as expected on my local&lt;BR /&gt;system (PA-RISC, 11.11, bash 3.2 (I&lt;BR /&gt;believe)), and on a TestDrive system like&lt;BR /&gt;td176.testdrive.hp.com (IA64, 11.23, "GNU&lt;BR /&gt;bash, version 3.00.14(1)-release&lt;BR /&gt;(ia64-hp-hpux11.23)").&lt;BR /&gt;&lt;BR /&gt;td176&amp;gt; stty -a&lt;BR /&gt;speed 9600 baud; line = 0;&lt;BR /&gt;rows = 24; columns = 80&lt;BR /&gt;min = 4; time = 0;&lt;BR /&gt;intr = ^C; quit = ^\; erase = DEL; kill = ^U&lt;BR /&gt;eof = ^D; eol = ^@; eol2 &lt;UNDEF&gt;; swtch &lt;UNDEF&gt;&lt;BR /&gt;stop = ^S; start = ^Q; susp = ^Z; dsusp = ^Y&lt;BR /&gt;werase &lt;UNDEF&gt;; lnext &lt;UNDEF&gt;&lt;BR /&gt;parenb -parodd cs7 -cstopb hupcl -cread -clocal -loblk -crts&lt;BR /&gt;-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc&lt;BR /&gt;ixon -ixany -ixoff -imaxbel -rtsxoff -ctsxon -ienqak&lt;BR /&gt;isig icanon -iexten -xcase echo echoe echok -echonl -noflsh&lt;BR /&gt;-echoctl -echoprt -echoke -flusho -pendin&lt;BR /&gt;opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3&lt;BR /&gt;&lt;BR /&gt;It might also help to know where you're&lt;BR /&gt;sitting (HP-UX workstation, Windows box with&lt;BR /&gt;some mal-configured terminal emulator, a&lt;BR /&gt;real VT220, ...), how you're connected, and&lt;BR /&gt;what you're doing.&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;</description>
      <pubDate>Fri, 16 May 2008 13:26:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199158#M324459</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-05-16T13:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199159#M324460</link>
      <description>I had a similar problem.&lt;BR /&gt;Try commenting out the "trap" commands in&lt;BR /&gt;/etc/profile&lt;BR /&gt;I never fully understood why in should help but it did !!?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 May 2008 06:54:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199159#M324460</guid>
      <dc:creator>Garry Ferguson</dc:creator>
      <dc:date>2008-05-19T06:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199160#M324461</link>
      <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;I tried to remark the line "   trap 1 2 3" in /etc/profile , it works, can advise what is the function of this line ? if disable it , what is the impact ?&lt;BR /&gt;&lt;BR /&gt;thx</description>
      <pubDate>Tue, 20 May 2008 09:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199160#M324461</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-05-20T09:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199161#M324462</link>
      <description>&amp;gt;can advise what is the function of this line? if disable it, what is the impact?&lt;BR /&gt;&lt;BR /&gt;When signals 1, 2 or 3 are issued, it goes to the commands in the trap command.  If none, the signal is ignored.&lt;BR /&gt;&lt;BR /&gt;Typically in a real shell, the trap commands in /etc/profile are ignored after the shell is set up.  If you remove it, it is possible to break out of the commands that /etc/profile is executing.&lt;BR /&gt;&lt;BR /&gt;You may want to just reset the traps at the end of the script:&lt;BR /&gt;trap - 1 2 3</description>
      <pubDate>Tue, 20 May 2008 10:08:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199161#M324462</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-20T10:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ctrl+C problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199162#M324463</link>
      <description>&lt;!--!*#--&gt;&amp;gt;You may want to just reset the traps at the end of the script:&lt;BR /&gt;trap - 1 2 3&lt;BR /&gt;&lt;BR /&gt;A similar statement is at the end of my /etc/profile:&lt;BR /&gt;# Leave defaults in user environment.&lt;BR /&gt;   trap 1 2 3&lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2008 06:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-problem/m-p/4199162#M324463</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-21T06:38:02Z</dc:date>
    </item>
  </channel>
</rss>

