<?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 break not working in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096268#M145950</link>
    <description>We have trap command in /etc/profile as      trap "" 1 2 3&lt;BR /&gt;      trap "echo logout" 0&lt;BR /&gt; trap 1 2 3&lt;BR /&gt;&lt;BR /&gt;The output of the trap is&lt;BR /&gt;0:echo 'logout root'&lt;BR /&gt;1:&lt;BR /&gt;2:&lt;BR /&gt;3:&lt;BR /&gt;&lt;BR /&gt;And also the other machines have the same setup, but don't have this issue.&lt;BR /&gt;&lt;BR /&gt;For Graham's response, the output is&lt;BR /&gt;0000000   ^   V   ^   C  \n&lt;BR /&gt;        136 126 136 103 012&lt;BR /&gt;0000005&lt;BR /&gt;This is also the same as the other setup, the other machines are working fine to use control c to break the tail -f.&lt;BR /&gt;&lt;BR /&gt;I still don't understand, but thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tony</description>
    <pubDate>Fri, 24 Oct 2003 14:26:55 GMT</pubDate>
    <dc:creator>Tong Hu_1</dc:creator>
    <dc:date>2003-10-24T14:26:55Z</dc:date>
    <item>
      <title>control c break not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096261#M145943</link>
      <description>We have stty intr "^c" setup in the .profile, but control c is not always working. It is working for cat more command, but if we use tail -f /var/adm/syslog/syslog.log, then the break function is not working. Can anybody help please?&lt;BR /&gt;&lt;BR /&gt;Thank&lt;BR /&gt;Tony</description>
      <pubDate>Fri, 17 Oct 2003 11:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096261#M145943</guid>
      <dc:creator>Tong Hu_1</dc:creator>
      <dc:date>2003-10-17T11:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: control c break not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096262#M145944</link>
      <description>Control C = kill -2 or SIGHUP or hangup.&lt;BR /&gt; &lt;BR /&gt;There are other options.&lt;BR /&gt; &lt;BR /&gt;control-D (* EOF?? *)&lt;BR /&gt;control \  (* not sure but it often terminates sessions *)&lt;BR /&gt;shift-] (* close telnet session and quit *)</description>
      <pubDate>Fri, 17 Oct 2003 15:48:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096262#M145944</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-10-17T15:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: control c break not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096263#M145945</link>
      <description>Try cntrl+break key or simple break key</description>
      <pubDate>Sat, 18 Oct 2003 03:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096263#M145945</guid>
      <dc:creator>sysadm_1</dc:creator>
      <dc:date>2003-10-18T03:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: control c break not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096264#M145946</link>
      <description>none of them working only except control ], which is disconnect the network. Any other suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 19 Oct 2003 20:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096264#M145946</guid>
      <dc:creator>Tong Hu_1</dc:creator>
      <dc:date>2003-10-19T20:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: control c break not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096265#M145947</link>
      <description>Tony,&lt;BR /&gt;  Check the stty entries.&lt;BR /&gt;&lt;BR /&gt;$ stty&lt;BR /&gt;speed 9600 baud; -parity hupcl&lt;BR /&gt;min = 1; time = 1; intr = ^C; erase = DEL; kill = ^U;&lt;BR /&gt;susp = ^Y;&lt;BR /&gt;brkint -inpck -istrip icrnl onlcr tab3&lt;BR /&gt;-iexten echo echoe echok&lt;BR /&gt;-echoctl -echoke&lt;BR /&gt;&lt;BR /&gt;$stty intr ^C.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
      <pubDate>Mon, 20 Oct 2003 04:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096265#M145947</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-10-20T04:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: control c break not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096266#M145948</link>
      <description>Or it could be that something on your network is intercepting the ^C. &lt;BR /&gt;Try this, in vi insert mode:&lt;BR /&gt;Type ^V^C (control-v, control-c). You should see a ^C on the screen, and if you save the file and run "od  -cb FILE" you should see the first byte is 003.&lt;BR /&gt;If not, talk to your network guys.&lt;BR /&gt;-- Graham</description>
      <pubDate>Mon, 20 Oct 2003 04:16:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096266#M145948</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-20T04:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: control c break not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096267#M145949</link>
      <description>&lt;BR /&gt;I willing to bet 10 points that you're setting an interrupt trap in your profile. The more command resets these traps, but tail does not. To check, simple enter:&lt;BR /&gt;&lt;BR /&gt;trap&lt;BR /&gt;&lt;BR /&gt;You should see something like this:&lt;BR /&gt;&lt;BR /&gt;trap -- '&lt;COMMAND&gt;' INT&lt;BR /&gt;&lt;BR /&gt;Look for any traps in /etc/profile and .profile.&lt;BR /&gt;&lt;BR /&gt;&lt;/COMMAND&gt;</description>
      <pubDate>Mon, 20 Oct 2003 13:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096267#M145949</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2003-10-20T13:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: control c break not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096268#M145950</link>
      <description>We have trap command in /etc/profile as      trap "" 1 2 3&lt;BR /&gt;      trap "echo logout" 0&lt;BR /&gt; trap 1 2 3&lt;BR /&gt;&lt;BR /&gt;The output of the trap is&lt;BR /&gt;0:echo 'logout root'&lt;BR /&gt;1:&lt;BR /&gt;2:&lt;BR /&gt;3:&lt;BR /&gt;&lt;BR /&gt;And also the other machines have the same setup, but don't have this issue.&lt;BR /&gt;&lt;BR /&gt;For Graham's response, the output is&lt;BR /&gt;0000000   ^   V   ^   C  \n&lt;BR /&gt;        136 126 136 103 012&lt;BR /&gt;0000005&lt;BR /&gt;This is also the same as the other setup, the other machines are working fine to use control c to break the tail -f.&lt;BR /&gt;&lt;BR /&gt;I still don't understand, but thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tony</description>
      <pubDate>Fri, 24 Oct 2003 14:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-c-break-not-working/m-p/3096268#M145950</guid>
      <dc:creator>Tong Hu_1</dc:creator>
      <dc:date>2003-10-24T14:26:55Z</dc:date>
    </item>
  </channel>
</rss>

