<?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: VT420 and VT220/VT320 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113185#M149183</link>
    <description>If the application is written correctly, you shouldn't ned to re-define the keys.  The application should be using terminfo to get the  specification for each function key.  Are you sure that the users who use these terminals have there TERM set to vt420 and that the entry  for vt420 is correct.  &lt;BR /&gt; &lt;BR /&gt;If you don't use terminfo, then look in /etc/termcap and see if there is an entry for the 420.  If not, make one and make the entries  for the function keys correct for the terminal.  If you don't know what the function keys are sending, you might try opening a file with  "vi", pressing all the function keys and saving the file.  Then do a  "cat -v" on the file to get the characters sent by the terminal.&lt;BR /&gt; &lt;BR /&gt;I can't remember off hand which termcap/terminfo entries relate to the function keys but a quick "man terminfo" should help.&lt;BR /&gt; &lt;BR /&gt;</description>
    <pubDate>Fri, 07 Nov 2003 06:35:23 GMT</pubDate>
    <dc:creator>Mark Grant</dc:creator>
    <dc:date>2003-11-07T06:35:23Z</dc:date>
    <item>
      <title>VT420 and VT220/VT320</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113184#M149182</link>
      <description>Our database application uses most of the function keys on our DEC VT220/VT320 terminals as hotkeys into the application.&lt;BR /&gt;&lt;BR /&gt;Recently purchased a load of VT420 terminals and the function keys are not working in the application.&lt;BR /&gt;&lt;BR /&gt;Set the emulation to be VT100 and the ID to be VT220.&lt;BR /&gt;&lt;BR /&gt;I've poked around in F3 SETUP and nothing I've changed in there regarding function keys has had any effect.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Nov 2003 06:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113184#M149182</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-11-07T06:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: VT420 and VT220/VT320</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113185#M149183</link>
      <description>If the application is written correctly, you shouldn't ned to re-define the keys.  The application should be using terminfo to get the  specification for each function key.  Are you sure that the users who use these terminals have there TERM set to vt420 and that the entry  for vt420 is correct.  &lt;BR /&gt; &lt;BR /&gt;If you don't use terminfo, then look in /etc/termcap and see if there is an entry for the 420.  If not, make one and make the entries  for the function keys correct for the terminal.  If you don't know what the function keys are sending, you might try opening a file with  "vi", pressing all the function keys and saving the file.  Then do a  "cat -v" on the file to get the characters sent by the terminal.&lt;BR /&gt; &lt;BR /&gt;I can't remember off hand which termcap/terminfo entries relate to the function keys but a quick "man terminfo" should help.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Fri, 07 Nov 2003 06:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113185#M149183</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-11-07T06:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: VT420 and VT220/VT320</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113186#M149184</link>
      <description>Fred&lt;BR /&gt;&lt;BR /&gt;You need to either:&lt;BR /&gt;1. Make the vt420 behave like a 220/320.&lt;BR /&gt;2. Make the app recoginise a vt420.&lt;BR /&gt;&lt;BR /&gt;If 1...&lt;BR /&gt;You say you set the emulation to be vt100, it needs to be vt220 or vt320. &lt;BR /&gt;&lt;BR /&gt;If 2...&lt;BR /&gt;Does the app support vt420? You say it's a database app. If oracle this is controlled by resource files, maintained by the oracle terminal application.&lt;BR /&gt;&lt;BR /&gt;Best I can do, haven't seen a dumb terminal in years.&lt;BR /&gt;&lt;BR /&gt;-- Graham</description>
      <pubDate>Fri, 07 Nov 2003 06:39:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113186#M149184</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-11-07T06:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: VT420 and VT220/VT320</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113187#M149185</link>
      <description>Ok; my termcap file has no reference to anything VT except VT52.&lt;BR /&gt;&lt;BR /&gt;There are files in /usr/share/lib/terminfo for the VT100, VT220, VT320 - but not VT420.&lt;BR /&gt;&lt;BR /&gt;I thought though, that if the terminal setting was to ID a VT220, and the user's TERM variable was set to VT220, that I wouldn't need to get into this stuff.&lt;BR /&gt;&lt;BR /&gt;The software runs fine on a VT100 and doesn't need any features beyond what that would provide.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Nov 2003 10:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113187#M149185</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-11-07T10:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: VT420 and VT220/VT320</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113188#M149186</link>
      <description>That would depend on wether the vt420 keys are actually the same as the vt220.  If you set TERM to vt220, the application is supposed to read terminfo and find out what codes will be sent by the terminal when function keys are pressed.  If the vt420 key codes are different, it isn't going to work.  Now, you could re-program the keys (I don't know how as I don't have a vt420) but that way lies continually having to do this every time someone resets the terminal or accidently manages to restore to factory default.  The correct way would be to find out what keycodes are being sent and to create a vt420 terminfo entry for it.&lt;BR /&gt; &lt;BR /&gt;If the application doesn't behave properly, it might keep it's own database of terminal types (I know a lot of applications used to).  If that is the case you are either going to have to find it and update it or bite the bullet and re-program the keys.</description>
      <pubDate>Fri, 07 Nov 2003 10:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113188#M149186</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-11-07T10:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: VT420 and VT220/VT320</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113189#M149187</link>
      <description>If I'm not sure what a function key is generating. I launch "vi", go into insert mode, press ctrl-v followed by the function key.&lt;BR /&gt; &lt;BR /&gt;You can then see what the function key is generating. Do this for your 2 terminal types.&lt;BR /&gt; &lt;BR /&gt;If I remember right, F1-F4 can generate different codes depending even for the same terminal ID.&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Fri, 07 Nov 2003 10:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113189#M149187</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2003-11-07T10:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: VT420 and VT220/VT320</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113190#M149188</link>
      <description>I have it behaving partially now.  I set the mode to be VT400-7 and the term ID to be VT220 (in setup) and the application behaves now except for the function keys F1 through F5, which are actually listed in the setup.&lt;BR /&gt;&lt;BR /&gt;For example F5 can be one of: ignore, fkey, or break&lt;BR /&gt;&lt;BR /&gt;Unfortunately none of these works with my application.&lt;BR /&gt;&lt;BR /&gt;And, the application does in fact have its own termcap file.  I've decided to contact them to see if the VT420 is something they need to add.&lt;BR /&gt;&lt;BR /&gt;I'll let you know how they respond.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Nov 2003 12:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113190#M149188</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-11-07T12:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: VT420 and VT220/VT320</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113191#M149189</link>
      <description>Actually all is well, now.  Using mode VT400-7 and term ID VT220 the software does in fact operate properly.  That was the only hurdle I needed to cross.  As for the rest, I was fooled by that F5 break; I was unaware that on the older VT220 and VT320s, F5 is also break.  I thought the software used F5 for a function.&lt;BR /&gt;&lt;BR /&gt;Thanks folks.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Nov 2003 16:15:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt420-and-vt220-vt320/m-p/3113191#M149189</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-11-07T16:15:03Z</dc:date>
    </item>
  </channel>
</rss>

