<?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: VT320 Terminal troubles in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525240#M878720</link>
    <description>That gibberish resulted form  me trying to up the speed. I did it on both the terminal and in the gettydefs file, but it just didn't sync right or something. So, now it' working, but each time a user logs in they must export TERM to be vt220, else the control codes start coming up. &lt;BR /&gt;&lt;BR /&gt;I played with tset for a while, so now I know that &lt;BR /&gt;&lt;BR /&gt;tset - -m vt220:vt220 xterm&lt;BR /&gt;&lt;BR /&gt;will test the term type, and if it's vt220, say so, elxe default to xterm which is what everything else on our network uses. &lt;BR /&gt;&lt;BR /&gt;Clay, thanks for your help, and thanks to others who replied. &lt;BR /&gt;&lt;BR /&gt;Now it's just a matter of putting this in the .profile. I can't figure out where in the file to put  it, or how to get just the first output line (the terminal name) (I tried to pipe it to head -n 1 but for some reason it wouldn't work.)  So, my problem has been solved.&lt;BR /&gt;</description>
    <pubDate>Sun, 06 May 2001 20:25:40 GMT</pubDate>
    <dc:creator>Phillip Anderson_1</dc:creator>
    <dc:date>2001-05-06T20:25:40Z</dc:date>
    <item>
      <title>VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525229#M878709</link>
      <description>I can't seem to get my VT320 to work. It's connected with the 6 pin cable to the 9 pin serial post on this HP 712/80i, (through two adapters) and ther computer won't send it a prompt. I'm pretty sure that I used the right entry in /etc/inittab:&lt;BR /&gt;&lt;BR /&gt;a0:4:respawn:/usr/sbin/getty tty1p0 9600&lt;BR /&gt;&lt;BR /&gt;but it still won't recognize it. can anyone help?Thanks,&lt;BR /&gt;&lt;BR /&gt;-phil</description>
      <pubDate>Sat, 05 May 2001 01:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525229#M878709</guid>
      <dc:creator>Phillip Anderson_1</dc:creator>
      <dc:date>2001-05-05T01:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525230#M878710</link>
      <description>Please check the following ;&lt;BR /&gt;&lt;BR /&gt;1. At the System End unplug the cable and short 2and3 of the interface , then see whether what you type appears on the screen , this test that the connection till that is fine including the cable in FD mode . &lt;BR /&gt;&lt;BR /&gt;2. ps -ef | grep getty should show you the list of tty's on which it is enabled.So in case getty is not enabled then enable it or just kill the process for that tty this will restart the getty.&lt;BR /&gt;&lt;BR /&gt;3. Instead of 3 please change to 2345 so taht it gives getty in these states of Unix.&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Sat, 05 May 2001 06:38:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525230#M878710</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-05-05T06:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525231#M878711</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try to change your /etc/inittab entry into&lt;BR /&gt;&lt;BR /&gt;a0:4:respawn:/usr/sbin/getty tty1p0 H &lt;BR /&gt;&lt;BR /&gt;Often for hard-wired terminals the label H should be used instead of 9600. Records of /etc/gettydefs labeled by H and 9600 are not equivalent (compare for example CS8 and CS7).&lt;BR /&gt;&lt;BR /&gt;And sth more, are you sure, that you are at the run level 4, what assumes your entry in the inittab file.&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 May 2001 10:06:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525231#M878711</guid>
      <dc:creator>Wieslaw Krajewski</dc:creator>
      <dc:date>2001-05-05T10:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525232#M878712</link>
      <description>Well, thanks for your replies. I connected the pins and it does recieve the signals, so the terminal is OK, But the 712 still won't see it. Is there anything special that one must do? turn it on at a special time or something? I'm still boggled.&lt;BR /&gt;&lt;BR /&gt;I changed it to 2345, but ps-ef grep getty shows only one getty running, that for the system console, andnot the VT. SO,,,&lt;BR /&gt;&lt;BR /&gt;-do I need to change tty1p0? It's a 712 and so only has 1 external RS-232, but I got this line from oue 735 mail server which uses the VT as the main console. &lt;BR /&gt;-does the name, surrently set as a0, matter? if so what should it be set to?&lt;BR /&gt;&lt;BR /&gt;thanks for your time and help,&lt;BR /&gt;-phil</description>
      <pubDate>Sat, 05 May 2001 16:28:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525232#M878712</guid>
      <dc:creator>Phillip Anderson_1</dc:creator>
      <dc:date>2001-05-05T16:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525233#M878713</link>
      <description>OK. I dug around and found a VT420, which is much happier. Iit works with the inittab, (thanks guys!) but there are still some problems. It doesn't seem to understand cursor position instructions: it won't do a clear screen because when the host sends it the position data it spits it our as raw characters on the screen.  for a clear these look like &lt;BR /&gt;&lt;BR /&gt;101 smaug: / $clear&lt;BR /&gt;0y0C102 smaug: $&lt;BR /&gt;&lt;BR /&gt; Does anyone know how to remedy this? I'd appreciate it.&lt;BR /&gt;&lt;BR /&gt;-phil, the man who just killed the server by adding an extra "-1"</description>
      <pubDate>Sat, 05 May 2001 19:53:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525233#M878713</guid>
      <dc:creator>Phillip Anderson_1</dc:creator>
      <dc:date>2001-05-05T19:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525234#M878714</link>
      <description>Hi Phillip:&lt;BR /&gt;&lt;BR /&gt;You solved the hardware problem now we need to solve the software side of things:&lt;BR /&gt;&lt;BR /&gt;I don't have a VT420 (or documentation) but&lt;BR /&gt;we need to set your TERM environment variable. Unfortunately, a vt420 terminfo does not typically come with HP but I suspect that a vt320,vt220,vt100, etc. entry will work just fine.&lt;BR /&gt;&lt;BR /&gt;Try this from the shell:&lt;BR /&gt;TERM=vt320&lt;BR /&gt;export TERM&lt;BR /&gt;tput clear&lt;BR /&gt;If that works try editing a textfile with vi.&lt;BR /&gt;If that works great otherwise try another TERM setting and export it.&lt;BR /&gt;&lt;BR /&gt;You may also be able to put the VT420 in a VT320 emulation mode or an ANSI mode.&lt;BR /&gt;&lt;BR /&gt;If you examine /usr/lib/terminfo/*&lt;BR /&gt;you will find a ton of terminfo entries; all of the vtxxx entries are under the 'v' directory. Likewise the 'ansi' entry would be under the 'a' directory. I'm betting that one of the vt's will do the trick.&lt;BR /&gt;&lt;BR /&gt;When you've found a suitable entry then edit your .profile and add an entry like&lt;BR /&gt;export TERM=vt320 and your all set.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, Clay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 May 2001 20:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525234#M878714</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-05T20:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525235#M878715</link>
      <description>that worked. You're the man! But just one thing:&lt;BR /&gt;it's in a public lab so the non usix inclined will be using it. So, it there any way to set it up for all users? so they don't have to export TERM every time?&lt;BR /&gt;&lt;BR /&gt;thanks for the help&lt;BR /&gt;-phil&lt;BR /&gt;&lt;BR /&gt;ps. I set TERM to vt220 and went into the terminal setup and switched it to vt220 mode.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 May 2001 20:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525235#M878715</guid>
      <dc:creator>Phillip Anderson_1</dc:creator>
      <dc:date>2001-05-05T20:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525236#M878716</link>
      <description>no sooner had I posted that  then did I log out of the terminal. Now it's worse: it's complete gibberish. Random characters come up everytime I press something. erk...&lt;BR /&gt;</description>
      <pubDate>Sat, 05 May 2001 20:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525236#M878716</guid>
      <dc:creator>Phillip Anderson_1</dc:creator>
      <dc:date>2001-05-05T20:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525237#M878717</link>
      <description>Hi Phil,&lt;BR /&gt;&lt;BR /&gt;You have three options.&lt;BR /&gt; 1) As I mentioned earlier&lt;BR /&gt;simply place the export TERM=vt220 statement in each user's .profile; it will then be set at login&lt;BR /&gt;or&lt;BR /&gt;2) Man tset to get some ideas. tset can query a terminal and attempt to determine what kind of terminal is attached and build a TERM=xxx command for you. It consult's a file called /etc/ttytype. Again man tset and man ttytype for details.  (I like this one - it makes you learn; notice I intentionally didn't fill in all the blanks)&lt;BR /&gt;or&lt;BR /&gt;3)&lt;BR /&gt;You could modify /etc/skel/.profile so that when new users are added the export TERM is already in their profile. (This won't fix existing users however).&lt;BR /&gt;&lt;BR /&gt;This should point you in the right direction,&lt;BR /&gt;Clay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 May 2001 20:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525237#M878717</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-05T20:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525238#M878718</link>
      <description>Hi Phil, that gibberish is probably the terminfo's 'reset' string. Power cycle the terminal to restore normal operation. You probably need to try another TERM setting and/or set and save the terminals emulation mode. If you can emulate a vt320 and TERM is set to vt320 everything should be fine; Also pay attention to 7-bit and 8-bit modes, on the vt's the differences in some sequences was profound. &lt;BR /&gt;Your other option is to pick up an HP terminal.&lt;BR /&gt;(you can get them on the used market for well under $200).&lt;BR /&gt;</description>
      <pubDate>Sat, 05 May 2001 20:59:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525238#M878718</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-05T20:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525239#M878719</link>
      <description>Ok Phil, One other thing to check. Which entry in /etc/gettydefs are you using? Determine that by looking at the last field of /etc/inittab which corresponds to your serial port. I'm guessing that you are using a gettydef that wrapsaround to another entry. The last field in a gettydef entry points to the next gettydef to try. With a hard-wired terminal you want to have one thatwraparound to itself so that the baudrate, parity, &amp;amp; wordsize remains constant. You can always edit the existing gettydefs and copy an existing entry and give it a new name like 19200H and let it point back to itself. I think that is what is happening. Obviously the baudrate, etc. of the terminal must match that of the port and associated gettydef.&lt;BR /&gt;&lt;BR /&gt;You can do a stty -a &amp;lt; /dev/ttyxx to see the current port settings.&lt;BR /&gt;&lt;BR /&gt;Clay&lt;BR /&gt;</description>
      <pubDate>Sun, 06 May 2001 18:10:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525239#M878719</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-06T18:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: VT320 Terminal troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525240#M878720</link>
      <description>That gibberish resulted form  me trying to up the speed. I did it on both the terminal and in the gettydefs file, but it just didn't sync right or something. So, now it' working, but each time a user logs in they must export TERM to be vt220, else the control codes start coming up. &lt;BR /&gt;&lt;BR /&gt;I played with tset for a while, so now I know that &lt;BR /&gt;&lt;BR /&gt;tset - -m vt220:vt220 xterm&lt;BR /&gt;&lt;BR /&gt;will test the term type, and if it's vt220, say so, elxe default to xterm which is what everything else on our network uses. &lt;BR /&gt;&lt;BR /&gt;Clay, thanks for your help, and thanks to others who replied. &lt;BR /&gt;&lt;BR /&gt;Now it's just a matter of putting this in the .profile. I can't figure out where in the file to put  it, or how to get just the first output line (the terminal name) (I tried to pipe it to head -n 1 but for some reason it wouldn't work.)  So, my problem has been solved.&lt;BR /&gt;</description>
      <pubDate>Sun, 06 May 2001 20:25:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt320-terminal-troubles/m-p/2525240#M878720</guid>
      <dc:creator>Phillip Anderson_1</dc:creator>
      <dc:date>2001-05-06T20:25:40Z</dc:date>
    </item>
  </channel>
</rss>

