<?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: C shell features in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322557#M187640</link>
    <description>Hi,&lt;BR /&gt;This is called as command line editing feature.&lt;BR /&gt;This is not supported by c shell but by K shell in hp-ux.&lt;BR /&gt;To achieve this feature in HP-UX we have to use.&lt;BR /&gt;#ksh -o vi &lt;BR /&gt;After this you can view all the previous commands and run them.You have to move forth and back in this by using the same keys as we use in vi.&lt;BR /&gt;E.g.&lt;BR /&gt;esc k will show you the earlier command you can edit this command by using normail h,j,k,l etc.., keys as we use it in vi.&lt;BR /&gt;&lt;BR /&gt;To make this permanent put this entry in &lt;BR /&gt;.profile or /etc/profile files.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 04 Jul 2004 23:28:19 GMT</pubDate>
    <dc:creator>Shaikh Imran</dc:creator>
    <dc:date>2004-07-04T23:28:19Z</dc:date>
    <item>
      <title>C shell features</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322556#M187639</link>
      <description>Hi Champs..&lt;BR /&gt;&lt;BR /&gt;I need a small help.&lt;BR /&gt;&lt;BR /&gt;In Linux if we use bash / C SHELL, we can get previous commands using arrow (up / down) keys.&lt;BR /&gt;&lt;BR /&gt;But in HP unix it is not working for C Shell.&lt;BR /&gt;&lt;BR /&gt;How can enable this feature. ????&lt;BR /&gt;&lt;BR /&gt;Thanks in advance to each and everyone....</description>
      <pubDate>Sun, 04 Jul 2004 22:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322556#M187639</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2004-07-04T22:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: C shell features</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322557#M187640</link>
      <description>Hi,&lt;BR /&gt;This is called as command line editing feature.&lt;BR /&gt;This is not supported by c shell but by K shell in hp-ux.&lt;BR /&gt;To achieve this feature in HP-UX we have to use.&lt;BR /&gt;#ksh -o vi &lt;BR /&gt;After this you can view all the previous commands and run them.You have to move forth and back in this by using the same keys as we use in vi.&lt;BR /&gt;E.g.&lt;BR /&gt;esc k will show you the earlier command you can edit this command by using normail h,j,k,l etc.., keys as we use it in vi.&lt;BR /&gt;&lt;BR /&gt;To make this permanent put this entry in &lt;BR /&gt;.profile or /etc/profile files.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Jul 2004 23:28:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322557#M187640</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-07-04T23:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: C shell features</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322558#M187641</link>
      <description>Hai,&lt;BR /&gt;&lt;BR /&gt; To get the previous commands,we have to enable the HISTORY. This history of commands started from C shell.&lt;BR /&gt;&lt;BR /&gt; To enable the history ,use this.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=624933" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=624933&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt; We cannot use the up/down key on HP-UX. For that we have to use Esc k  or &lt;BR /&gt; Esc\&lt;PATTERN&gt; enter then&lt;BR /&gt;  key n or key N to UP and DOWN&lt;BR /&gt;&lt;BR /&gt; Check this one.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=616828" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=616828&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Muthukumar.&lt;/PATTERN&gt;</description>
      <pubDate>Sun, 04 Jul 2004 23:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322558#M187641</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-04T23:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: C shell features</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322559#M187642</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;it can be set from the C shell prompt.&lt;BR /&gt;&lt;BR /&gt;% set history=5&lt;BR /&gt;&lt;BR /&gt;or you can set the history environment variable in the .cshrc file as&lt;BR /&gt;history=5&lt;BR /&gt;&lt;BR /&gt;as far as the C shell is concerned, the features available in linux is available in HPUX also. &lt;BR /&gt;&lt;BR /&gt;with best wishes&lt;BR /&gt;Naveej</description>
      <pubDate>Sun, 04 Jul 2004 23:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322559#M187642</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2004-07-04T23:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: C shell features</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322560#M187643</link>
      <description>Thanks Naveej. it worked. Thanks to you all for the help</description>
      <pubDate>Sun, 04 Jul 2004 23:46:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322560#M187643</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2004-07-04T23:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: C shell features</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322561#M187644</link>
      <description>Hi Naveej,&lt;BR /&gt;&lt;BR /&gt;I am sorry to interfere. I am using HPUX 11i. I have tried the same command. It did not help me. I have added following lines in .cshrc file.&lt;BR /&gt;&lt;BR /&gt;history=10&lt;BR /&gt;&lt;BR /&gt;When I give csh, I got the following error.&lt;BR /&gt;root# # csh &lt;BR /&gt;history=10: Command not found.&lt;BR /&gt;root#&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jul 2004 02:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-shell-features/m-p/3322561#M187644</guid>
      <dc:creator>vasundhara</dc:creator>
      <dc:date>2004-07-06T02:24:17Z</dc:date>
    </item>
  </channel>
</rss>

