<?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: Problem with ttytype and wyse terminal on AClass server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192077#M791837</link>
    <description>The only 'compatible mode' options I'm seeing in the terminal settings are as follows:&lt;BR /&gt;ADDSVP&lt;BR /&gt;HZ1500&lt;BR /&gt;WY50&lt;BR /&gt;TVI910&lt;BR /&gt;TVI920&lt;BR /&gt;TVI925&lt;BR /&gt;I don't have a vt100 option.&lt;BR /&gt;&lt;BR /&gt;Thanks-&lt;BR /&gt;Stacey</description>
    <pubDate>Mon, 16 Feb 2004 10:36:40 GMT</pubDate>
    <dc:creator>Stacey Akerstrom</dc:creator>
    <dc:date>2004-02-16T10:36:40Z</dc:date>
    <item>
      <title>Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192075#M791835</link>
      <description>Hello-&lt;BR /&gt;I have a wyse term attached to an A-Class, and am having problems getting it to work with certain homegrown apps (that are menu driven).&lt;BR /&gt;If I type 'eval $( ttytype -a -s ), I do not get a response.&lt;BR /&gt;I have the following line in /etc/ttytypes:&lt;BR /&gt;wyse50  tty2a1&lt;BR /&gt;and the terminal ID setting on the terminal itself is wyse50.&lt;BR /&gt;Any ideas as to how I can get this to work correctly?&lt;BR /&gt;&lt;BR /&gt;Thanks-&lt;BR /&gt;Stacey</description>
      <pubDate>Fri, 13 Feb 2004 15:53:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192075#M791835</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2004-02-13T15:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192076#M791836</link>
      <description>Try setting the term type to vt100 or hp&lt;BR /&gt;&lt;BR /&gt;See if that works any bettter. It may seem counter intuitive, but it might.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Feb 2004 16:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192076#M791836</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-13T16:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192077#M791837</link>
      <description>The only 'compatible mode' options I'm seeing in the terminal settings are as follows:&lt;BR /&gt;ADDSVP&lt;BR /&gt;HZ1500&lt;BR /&gt;WY50&lt;BR /&gt;TVI910&lt;BR /&gt;TVI920&lt;BR /&gt;TVI925&lt;BR /&gt;I don't have a vt100 option.&lt;BR /&gt;&lt;BR /&gt;Thanks-&lt;BR /&gt;Stacey</description>
      <pubDate>Mon, 16 Feb 2004 10:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192077#M791837</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2004-02-16T10:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192078#M791838</link>
      <description>You could cheat.&lt;BR /&gt; &lt;BR /&gt;How about putting "[ `tty` = "/dev/tty2a1" ] &amp;amp;&amp;amp; export TERM=wyse50" instead of teh "tty" command.</description>
      <pubDate>Mon, 16 Feb 2004 10:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192078#M791838</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-16T10:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192079#M791839</link>
      <description>Where would I put "[ `tty` = "/dev/tty2a1" ] &amp;amp;&amp;amp; export TERM=wyse50"?&lt;BR /&gt;&lt;BR /&gt;Thanks-&lt;BR /&gt;Stacey</description>
      <pubDate>Mon, 16 Feb 2004 11:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192079#M791839</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2004-02-16T11:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192080#M791840</link>
      <description>Well, you could put it in the users ".profile" or in /etc/profile for system wide.  However, it will only work if you log on to a terminal attached to /dev/tty2a1.  If all terminals are wyse 50 terminals, then you only need to put "export TERM=wyse50" in /etc/profile.</description>
      <pubDate>Mon, 16 Feb 2004 11:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192080#M791840</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-16T11:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192081#M791841</link>
      <description>I've added export TERM=wyse50 to /etc/profile, however, some of my screens are still messed up. Cursor doesn't appear in correct field, etc...</description>
      <pubDate>Mon, 16 Feb 2004 13:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192081#M791841</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2004-02-16T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192082#M791842</link>
      <description>Ok Stacey,&lt;BR /&gt;&lt;BR /&gt;are you saying some terminals work correctl now?   If so, there will be some difference in the set up of the ones that don't work.  Failing that, I think you need to do a bit more investigating.  See if the users with a problem still have a problem if they try one of the working screens.  If they do, then their TERM is being overwritten either in their personal .profile or somewhere in the chain between logging in and running the app.&lt;BR /&gt; &lt;BR /&gt;If still no luck, check your homegrown apps, you need to find out if they use termcap or terminfo.  Also, what they use for cursor positioning.  Do they use the "curses" routines.  The definition for each terminal is held in /etc/termcap or the termcap database depending on how they were linked at compile time.  These files (/etc/termcap you can just have a look at, whereas termcap you need to "decompile" with "untic") describe the sequences to control the terminal.   Make sure that a) the entry for wyse50 is correct (probably is) and make sure that the application is using them correctly.  If using "curses" this isn't an issue.&lt;BR /&gt; &lt;BR /&gt;Hope that give syou some more to be going on with!</description>
      <pubDate>Mon, 16 Feb 2004 14:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192082#M791842</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-16T14:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192083#M791843</link>
      <description>The /etc/ttytype (note: singular spelling) file is used to hardcode the TERM value ofr login and tset. The man page is man 4 ttytype. This mechanism is a real kludge, sort of a bandaid for truly dumb terminals. Note that login and tset will quietly ignore /etc/ttytypes since it is misspelled.&lt;BR /&gt; &lt;BR /&gt;Set the terminal to WY50 mode. No amount of playing with TERM settings will work right until you match TERM with the type of terminal you have. The other settings correspond to ADDS, TVI and Hazeltine terminals. These are truly pre-historic terminals so the first problem is to pick an emulation that actually has an answer-back capability. Don't bother using the eval $(ttytype -s) command until ttytype -s works by itself. You'll have to look inside the terminal settings for any automated response settings so that ttytype will actually work. If ttytype gets no response then the terminal is not replying to a standard Wyse query.&lt;BR /&gt; &lt;BR /&gt;Now it's important that your homegrown apps use the Curses library (scripts use tput for terminal control). If not, then it is very likely the scripts were hardcoded for a particular terminal (very bad design), the very reason that Curses was written. In that case, the value of TERM is meaningless and you'll have to either scrap all your terminals and buy new ones that match the hardcoded sequences, or rewrite the code to use Curses (and get the terminals to reply to a status inquiry.&lt;BR /&gt; &lt;BR /&gt;Now once you get an emulation that replies back (or are stuck with using /etc/ttytype), if a particular screen is messed up, you'll have to track down the code and see if it is a hardcoded escape sequence, or it is a valid Curses capability, in which case, the terminal apparently does not understand the codes. Use tput to test the Curses code as in:&lt;BR /&gt; &lt;BR /&gt;tput clear | xd -xc&lt;BR /&gt; &lt;BR /&gt;where clear is the capname used in the Curses library call.</description>
      <pubDate>Mon, 16 Feb 2004 14:19:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192083#M791843</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-16T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192084#M791844</link>
      <description>I am currently only working with one terminal. &lt;BR /&gt;I'm really starting to think that you may be right in that something is hardcoded in the programs.&lt;BR /&gt;We've run into this in the past when we were trying to get our serial devices functioning.&lt;BR /&gt;As far as I can tell, my terminal settings (and yes, that /etc/ttytypes was *my* typo) appear to be correct, so I'm going to start looking to see where and how terminfo and termcap are being referenced.&lt;BR /&gt;Thanks guys-&lt;BR /&gt;Stacey</description>
      <pubDate>Mon, 16 Feb 2004 15:20:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192084#M791844</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2004-02-16T15:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ttytype and wyse terminal on AClass server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192085#M791845</link>
      <description>Note that termcap and $TERM may not be referenced at all in the program. If it uses Curses, then you'll find many of the functions referenced in man 5 curses documentation. The Curses routines (libcurses) are the ones that pay attention to the $TERM value.</description>
      <pubDate>Mon, 16 Feb 2004 23:16:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ttytype-and-wyse-terminal-on-aclass-server/m-p/3192085#M791845</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-16T23:16:50Z</dc:date>
    </item>
  </channel>
</rss>

