<?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: Key mapping in .profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710846#M60506</link>
    <description>Hi again Christian&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check out this thread, I also pushed the bash here, mainly cuz I am lazy ;-)&lt;BR /&gt;&lt;BR /&gt;But it may help.....&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc59f03bbece8d5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc59f03bbece8d5118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;MND&lt;BR /&gt;</description>
    <pubDate>Fri, 26 Apr 2002 12:42:44 GMT</pubDate>
    <dc:creator>Marc Dijkstra</dc:creator>
    <dc:date>2002-04-26T12:42:44Z</dc:date>
    <item>
      <title>Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710838#M60498</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Is there any way to map keys in a .profile file. I specifically want to map function keys.&lt;BR /&gt;&lt;BR /&gt;thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Christian Briddon</description>
      <pubDate>Thu, 25 Apr 2002 09:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710838#M60498</guid>
      <dc:creator>Christian Briddon</dc:creator>
      <dc:date>2002-04-25T09:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710839#M60499</link>
      <description>If this is under an Xwindows enviroment I guess you could call xmodmap to alter the mapping ... see man xmodmap and the output from xmodmap -pke ... a .profile entry would take the form of &lt;BR /&gt;&lt;BR /&gt; xmodmap -e "keycode ## = &lt;NEW_MAPPING&gt;"&lt;/NEW_MAPPING&gt;</description>
      <pubDate>Thu, 25 Apr 2002 09:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710839#M60499</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2002-04-25T09:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710840#M60500</link>
      <description>It's not under an X environment. Everything is at the shell.&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Thu, 25 Apr 2002 09:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710840#M60500</guid>
      <dc:creator>Christian Briddon</dc:creator>
      <dc:date>2002-04-25T09:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710841#M60501</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you might be talking about "bash" as used on Linux systems, but we do not have that functionality in POSIX-sh or Korn-sh under HP-UX...&lt;BR /&gt;&lt;BR /&gt;Sorry,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 10:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710841#M60501</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-04-25T10:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710842#M60502</link>
      <description>I dont know exactly what you are looking for...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;maybe teminfo definitions ( see man tic, terminfo)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;or maybe keysh ( see man sh, man 1 keysh) ??&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 10:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710842#M60502</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2002-04-25T10:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710843#M60503</link>
      <description>Wodish asked the question, I interpret your question the same way ..&lt;BR /&gt;&lt;BR /&gt;If you want the Bourne again shell (bash) functionality that exists in linux (ie: up arrow etc.) you will have to install bash.&lt;BR /&gt;&lt;BR /&gt;You can get it from one of the software porting and archive areas. Advise on getting it is easy, but take care using it it is CHUNKY and a bit of a slow shell!&lt;BR /&gt;&lt;BR /&gt;MND</description>
      <pubDate>Thu, 25 Apr 2002 11:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710843#M60503</guid>
      <dc:creator>Marc Dijkstra</dc:creator>
      <dc:date>2002-04-25T11:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710844#M60504</link>
      <description>Do you want to map the function keys because you have some application that requires the keys?  &lt;BR /&gt;If so, the application may have an alterative key sequence for you.&lt;BR /&gt;For example: I have an application called pcmiler.  It lets me use control-f 2 as the f2 key. &lt;BR /&gt;&lt;BR /&gt;Do you want to map the function keys because you have a pile of users with a special key in their application?  &lt;BR /&gt;If so, perhaps you could look at what they use to get into the application.  A few jobs ago I was "tasked" to get the "gold-select-backout-key" to work.  This key was the "end" key on the PC.  I had to map it to "escape _ 1 \ escape 0".  I know that's pretty goofy.  But it was easy.  The terminal emulator they used allowed me to map keys.  And the vi command allowed me to see the weird junk the "end" key was supposed to send.  &lt;BR /&gt;&lt;BR /&gt;Both cases here, did not mess with terminfo.  I just tried to avoid it, becuase I did not want to hurt what was already working fine. &lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 26 Apr 2002 11:36:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710844#M60504</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2002-04-26T11:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710845#M60505</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The reason I need to do this is because an application needs the function keys and the arrow keys.&lt;BR /&gt;&lt;BR /&gt;They apparently use DEC type keys.&lt;BR /&gt;&lt;BR /&gt;If we connect to our server with a terminal emulator we can map the keys but if we connect via a winterm wqe can not.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Fri, 26 Apr 2002 11:55:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710845#M60505</guid>
      <dc:creator>Christian Briddon</dc:creator>
      <dc:date>2002-04-26T11:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710846#M60506</link>
      <description>Hi again Christian&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check out this thread, I also pushed the bash here, mainly cuz I am lazy ;-)&lt;BR /&gt;&lt;BR /&gt;But it may help.....&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc59f03bbece8d5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc59f03bbece8d5118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;MND&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 12:42:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710846#M60506</guid>
      <dc:creator>Marc Dijkstra</dc:creator>
      <dc:date>2002-04-26T12:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710847#M60507</link>
      <description>I don't know bash.  That's the only reason why I'm not suggesting that too. I don't want to send you down the wrong road with BAD advice.  So take what I say with a big grain of salt.&lt;BR /&gt;&lt;BR /&gt;Don't use winterm.  Use something that allows you to map keys.  Find a terminal emulator that's works in windows, that's free, that lets you modify the keys.     I have a free thing called Tera Term.  It uses keymap files.  &lt;BR /&gt;&lt;BR /&gt;Now about the keys though.  You say your terminial emulator work right?  Ok.  Log in, vi  a bogus file.  Type i for insert.  Type control-v, the a key (like the up arrow), you will see the text that comes out when you hit that key.  &lt;BR /&gt;For me it's ^[[A which is.... &lt;ESCAPEKEY&gt;[A.  In my case here, now I know that the up arrow key needs to map to &lt;ESCAPEKEY&gt;[A.  If I log in with telnet from windows, I can type &lt;ESCAPEKEY&gt;[A, and it would look like I hit the up arrow key. &lt;BR /&gt;&lt;BR /&gt;I take it this bash thing would allow you to.?????&lt;BR /&gt;alias UPARROW="^[[A" ??&lt;BR /&gt;&lt;BR /&gt;steve&lt;BR /&gt;&lt;BR /&gt;&lt;/ESCAPEKEY&gt;&lt;/ESCAPEKEY&gt;&lt;/ESCAPEKEY&gt;</description>
      <pubDate>Fri, 26 Apr 2002 13:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710847#M60507</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2002-04-26T13:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710848#M60508</link>
      <description>Steve&lt;BR /&gt;&lt;BR /&gt;bash -- the bourne again shell, was ported from linux (I believe). Yes, it has arrow character mapping for the HISTORY instead of the old ESC-K, and no h-j-k-l for editing of HISTORY. ESC-ESC for predictive text is now &lt;TAB&gt; etc.&lt;BR /&gt;&lt;BR /&gt;It has a number of other features, which I have not fully used, not even sure *how* much character/key mapping is there, but, as I stated, it is chunky and a wee bit slow (it is very large)&lt;BR /&gt;&lt;BR /&gt;MND&lt;/TAB&gt;</description>
      <pubDate>Fri, 26 Apr 2002 13:28:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710848#M60508</guid>
      <dc:creator>Marc Dijkstra</dc:creator>
      <dc:date>2002-04-26T13:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Key mapping in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710849#M60509</link>
      <description>Mark,&lt;BR /&gt;I was just using the uparrow key as an example.  I guess I should have used the F6 key instead. ( &lt;ESCKEY&gt;[17~ ).&lt;BR /&gt;or the F10 ( &lt;ESCKEY&gt;[21~ ).  I figure the author is looking for some fancy keys that have nothing to do with shell history capability.&lt;/ESCKEY&gt;&lt;/ESCKEY&gt;</description>
      <pubDate>Fri, 26 Apr 2002 13:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/key-mapping-in-profile/m-p/2710849#M60509</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2002-04-26T13:33:17Z</dc:date>
    </item>
  </channel>
</rss>

