<?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 HP-UX enable history command navigation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768770#M657670</link>
    <description>The problem is I want to access history of command I typed by using up and down arrows it is not working for some reason.&lt;BR /&gt;&lt;BR /&gt;does it is not supported by hpux v11.11??&lt;BR /&gt;&lt;BR /&gt;thanx for the help!</description>
    <pubDate>Wed, 23 Mar 2011 05:57:47 GMT</pubDate>
    <dc:creator>Renz Malabanan</dc:creator>
    <dc:date>2011-03-23T05:57:47Z</dc:date>
    <item>
      <title>HP-UX enable history command navigation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768770#M657670</link>
      <description>The problem is I want to access history of command I typed by using up and down arrows it is not working for some reason.&lt;BR /&gt;&lt;BR /&gt;does it is not supported by hpux v11.11??&lt;BR /&gt;&lt;BR /&gt;thanx for the help!</description>
      <pubDate>Wed, 23 Mar 2011 05:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768770#M657670</guid>
      <dc:creator>Renz Malabanan</dc:creator>
      <dc:date>2011-03-23T05:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX enable history command navigation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768771#M657671</link>
      <description>&lt;P&gt;Refer the below similar threads.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/General/Enabling-arrow-keys-for-history-recall/m-p/3308853#M96703" target="_blank"&gt;http://h30499.www3.hp.com/t5/General/Enabling-arrow-keys-for-history-recall/m-p/3308853#M96703&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/HP-UX-11-00-cshell-history-key/m-p/3989794#M295548" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/HP-UX-11-00-cshell-history-key/m-p/3989794#M295548&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Problem-using-arrow-key-for-History/m-p/2454782#M12142" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Problem-using-arrow-key-for-History/m-p/2454782#M12142&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Getting-previous-commands-using-up-arrows/m-p/3658853#M5974" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Getting-previous-commands-using-up-arrows/m-p/3658853#M5974&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Rgds...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 18:22:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768771#M657671</guid>
      <dc:creator>P Arumugavel</dc:creator>
      <dc:date>2011-07-12T18:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX enable history command navigation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768772#M657672</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you are using sh, esc+k combination gives you history.</description>
      <pubDate>Wed, 23 Mar 2011 06:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768772#M657672</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2011-03-23T06:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX enable history command navigation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768773#M657673</link>
      <description>use esc+k combination or user history command.</description>
      <pubDate>Wed, 23 Mar 2011 06:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768773#M657673</guid>
      <dc:creator>Shibin_2</dc:creator>
      <dc:date>2011-03-23T06:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX enable history command navigation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768774#M657674</link>
      <description>&amp;gt; does it is not supported by hpux v11.11??&lt;BR /&gt; &lt;BR /&gt;This is not an OS question, it is a question concerning the shell you are using. By default, you are probably using the POSIX shell (/usr/bin/sh), or possibly the Korn shell (/usr/bin/ksh). There are two requirements to enable the shell history:&lt;BR /&gt; &lt;BR /&gt;touch $HOME/.sh_history&lt;BR /&gt; &lt;BR /&gt;and export these variables in /etc/profile:&lt;BR /&gt; &lt;BR /&gt;export HISTFILE=$HOME/.sh_history&lt;BR /&gt;export HISTSIZE=20000&lt;BR /&gt;export EDITOR=/usr/bin/vi&lt;BR /&gt; &lt;BR /&gt;Now exit and login again. Type a command like pwd and then type the command: history. The history command shows your current history file. You recall the last command by type ESC then k. You can search for the most recent command containing a string using ESC /.&lt;BR /&gt; &lt;BR /&gt;Some user may be accustomed to EMACS style recall so they can change that in their personal .profile file. Arrow keys are not functional in the POSIX and ksh shells.</description>
      <pubDate>Wed, 23 Mar 2011 12:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768774#M657674</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-03-23T12:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX enable history command navigation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768775#M657675</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Certain things are in built to the K-shell and as Bill mentioned you have to add those three lines for command line history on a POSIX shell that would be /usr/bin/sh or /sbin/sh. You may also try esc and then j if you have crossed the command you wanted to execute , in other words forward... Esc Esc also allows for file name completion. As you see, there are reasons why people prefer bash!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ismail Azad</description>
      <pubDate>Mon, 28 Mar 2011 07:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768775#M657675</guid>
      <dc:creator>Ismail Azad</dc:creator>
      <dc:date>2011-03-28T07:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX enable history command navigation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768776#M657676</link>
      <description>Hi Renz,&lt;BR /&gt;&lt;BR /&gt;If you only want arrow-key history navigation in ksh, you can set emacs mode in your profile:&lt;BR /&gt;&lt;BR /&gt;set -o emacs&lt;BR /&gt;&lt;BR /&gt;and have these lines also added to your .kshrc :&lt;BR /&gt;&lt;BR /&gt;alias __A='^P'&lt;BR /&gt;alias __B='^N'&lt;BR /&gt;alias __C='^F'&lt;BR /&gt;alias __D='^B'&lt;BR /&gt;alias __H='^A'&lt;BR /&gt;alias __P='^D'&lt;BR /&gt;&lt;BR /&gt;Let me know if it worked, it should!&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Mar 2011 08:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-enable-history-command-navigation/m-p/4768776#M657676</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-03-28T08:59:22Z</dc:date>
    </item>
  </channel>
</rss>

