<?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 ctrl + c and ksh ..... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989638#M295502</link>
    <description>Hi, i'm using /usr/sbin/sh  but i want to use /usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;i did:&lt;BR /&gt;export SHELL=/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;how can i do for automatic way this has been changed every time i open a new sesion?&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;i tried to enter ctrl + c but it does not work !!!!!&lt;BR /&gt;&lt;BR /&gt;sh: ^C:  not found.&lt;BR /&gt;&lt;BR /&gt;how can i fix that?&lt;BR /&gt;&lt;BR /&gt;please let me know.&lt;BR /&gt;Thanks.</description>
    <pubDate>Thu, 26 Apr 2007 11:44:09 GMT</pubDate>
    <dc:creator>Manuales</dc:creator>
    <dc:date>2007-04-26T11:44:09Z</dc:date>
    <item>
      <title>ctrl + c and ksh .....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989638#M295502</link>
      <description>Hi, i'm using /usr/sbin/sh  but i want to use /usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;i did:&lt;BR /&gt;export SHELL=/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;how can i do for automatic way this has been changed every time i open a new sesion?&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;i tried to enter ctrl + c but it does not work !!!!!&lt;BR /&gt;&lt;BR /&gt;sh: ^C:  not found.&lt;BR /&gt;&lt;BR /&gt;how can i fix that?&lt;BR /&gt;&lt;BR /&gt;please let me know.&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 26 Apr 2007 11:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989638#M295502</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2007-04-26T11:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: ctrl + c and ksh .....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989639#M295503</link>
      <description>Add that line into your .profile file located at /etc/profile , the in the next login you will load that automatically.&lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Apr 2007 11:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989639#M295503</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-04-26T11:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: ctrl + c and ksh .....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989640#M295504</link>
      <description>sorry .. /etc/.profile&lt;BR /&gt;or for root ... /root/.profile&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds,</description>
      <pubDate>Thu, 26 Apr 2007 11:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989640#M295504</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-04-26T11:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: ctrl + c and ksh .....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989641#M295505</link>
      <description>Or just change your shell with usermod: &lt;BR /&gt;&lt;BR /&gt;usermod -s /usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 26 Apr 2007 11:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989641#M295505</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-04-26T11:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: ctrl + c and ksh .....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989642#M295506</link>
      <description>Well, just setting the SHELL variable does not mean you are actually using ksh now.  It just means that the SHELL variable contains /usr/bin/ksh.&lt;BR /&gt;&lt;BR /&gt;To actually use ksh in the current session you can do:&lt;BR /&gt;&lt;BR /&gt;# /usr/bin/ksh&lt;BR /&gt;or&lt;BR /&gt;# exec /usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;To always use ksh you can change your default shell in the /etc/passwd file.  HOWEVER, NEVER EVER EVER CHANGE ROOT's DEFAULT SHELL.  It must ALWAYS be /sbin/sh.&lt;BR /&gt;&lt;BR /&gt;To change your default shell in /etc/passwd you can use the usermod command (see the usermod man page for details) or, if you have permission, you can edit /etc/passwd, preferably with vipw.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Apr 2007 11:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989642#M295506</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-04-26T11:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: ctrl + c and ksh .....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989643#M295507</link>
      <description>I need that be only for one user ..&lt;BR /&gt;and what about ctrl + c, how can i fix that?&lt;BR /&gt;y try to use that keys but they do not work ....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;:(&lt;BR /&gt;&lt;BR /&gt;please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 26 Apr 2007 11:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989643#M295507</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2007-04-26T11:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: ctrl + c and ksh .....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989644#M295508</link>
      <description>First on an HP-UX box there is no reason to run the Korn shell. /usr/bin/sh is not the Bourne shell but is rather the POSIX shell and the behavior of the POSIX is all but indistinguishable from that of the Korn shell. The POSIX shell is a superset of the Korn shell.&lt;BR /&gt;&lt;BR /&gt;As for your Ctrl-C question, I am having trouble finding a question. You may want Ctrl-C to be the default interrupt key, if that is the case then insert a line 'stty intr "^C"' in the user's .profile.</description>
      <pubDate>Thu, 26 Apr 2007 12:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989644#M295508</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-26T12:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: ctrl + c and ksh .....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989645#M295509</link>
      <description>The simplest way to change your shell is to use chsh -- no root capability required. Like this:&lt;BR /&gt; &lt;BR /&gt;chsh billh /usr/bin/ksh&lt;BR /&gt; &lt;BR /&gt;Your CTRL-C problem is caused by not logging in in a 'normal' manner (for example, using Xwindows), or someone has clobbered your .profile. All HP-UX come with a standard .profile that set CTRL-C (and several other important terminal settings). If someone has 'improved' your .profile by borrowing one from another flavor of Unix, just replace it with the standard version:&lt;BR /&gt; &lt;BR /&gt;cp /usr/newconfig/etc/skel/.profile $HOME/.profile&lt;BR /&gt; &lt;BR /&gt;If you are running Xwindows, then your terminal window is probably bypassing standard login scripts. Change to standard behavior by doing this one time for each user:&lt;BR /&gt; &lt;BR /&gt;echo "*loginShell: true" &amp;gt;&amp;gt; $HOME/.Xdefaults&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Apr 2007 19:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctrl-c-and-ksh/m-p/3989645#M295509</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-04-26T19:37:35Z</dc:date>
    </item>
  </channel>
</rss>

