<?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: Junk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619967#M38445</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Check your TERM variable, especially if you are setting it and/or using 'tput' commands in your menu script.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 26 Nov 2001 15:23:18 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-11-26T15:23:18Z</dc:date>
    <item>
      <title>Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619966#M38444</link>
      <description>Hi,&lt;BR /&gt;  Recently we have upgraded our os from 10.20 to hp-ux 11.0 64 bit on l-class 2000.&lt;BR /&gt;After login to system we r getiing some junk char. like,&lt;BR /&gt;" 4;80R "  or " ^[[24;8 ". perticularly in menu based user.&lt;BR /&gt;&lt;BR /&gt;How to solve this prob.&lt;BR /&gt;pl help.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Nov 2001 15:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619966#M38444</guid>
      <dc:creator>N.S. WARGHADE</dc:creator>
      <dc:date>2001-11-26T15:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619967#M38445</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Check your TERM variable, especially if you are setting it and/or using 'tput' commands in your menu script.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 26 Nov 2001 15:23:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619967#M38445</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-26T15:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619968#M38446</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This could be your terminal setting problem. Export your terminal setting to vt100 or hp depending on what kind of terminals you are using&lt;BR /&gt;the command would be&lt;BR /&gt;TERM=hp;export TERM. Replace hp with appropriate terminal type&lt;BR /&gt;Goodluck&lt;BR /&gt;-USA..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Nov 2001 15:23:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619968#M38446</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-11-26T15:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619969#M38447</link>
      <description>Most definitely your TERM variable is screwed up. When you said you "upgrade" from 10.20 to 11.0, did you do a fresh install of 11.0 or actually upgraded?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 26 Nov 2001 15:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619969#M38447</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-26T15:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619970#M38448</link>
      <description>tput is the way to go for scripts that spawn menus.&lt;BR /&gt;&lt;BR /&gt;Check your TERM variable and set it appropriately otherwise.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 26 Nov 2001 15:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619970#M38448</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-11-26T15:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619971#M38449</link>
      <description>Thanks for quick responce friends.&lt;BR /&gt;&lt;BR /&gt;I have installed fresh 11.x. I have set TERM=vt100; &lt;BR /&gt;Also using tput in scripts.&lt;BR /&gt;But the junk appears in unix script menu as well as forms field also.&lt;BR /&gt;&lt;BR /&gt;THanks&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Nov 2001 15:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619971#M38449</guid>
      <dc:creator>N.S. WARGHADE</dc:creator>
      <dc:date>2001-11-26T15:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619972#M38450</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try some other termcap.&lt;BR /&gt;&lt;BR /&gt;TERM=vt220;export TERM&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;export TERM=vt220&lt;BR /&gt;&lt;BR /&gt;If you are using hp console, use&lt;BR /&gt;&lt;BR /&gt;export TERM=hp&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Nov 2001 15:47:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619972#M38450</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-26T15:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619973#M38451</link>
      <description>This is a common problem, especially on the console. Start by identifying the terminal you are using: &lt;BR /&gt;&lt;BR /&gt;Is it a real terminal, you know, the kind with a keyboard and no disk or mouse or soundcard or USB or LAN...you get the picture--a 'real' terminal.  If so, is it an HP terminal? If yes, then the value for TERM should be a minimum of "hp". This is handled automatically by /etc/profile with the ttytype program (more about that later).  If it is a modern HP smart terminal, the value will be more specific such as TERM=hp70094.&lt;BR /&gt;&lt;BR /&gt;If it is a non-HP terminal (or a cheap imitation of the real thing called a terminal emulator), then things get complicated. The terminal must match the capabilities listed for that terminal's model. To see the capabilities, use untic &lt;TERMINAL-ID&gt; as in:&lt;BR /&gt;&lt;BR /&gt;$ untic vt100&lt;BR /&gt;&lt;BR /&gt;and you'll see some cryptic information. You can decode these details with the terminfo man page (big manpage warning!). So if the terminal is truly a vt100 or proper subset, then TERM=vt100 will get things going.  &lt;BR /&gt;&lt;BR /&gt;Note that there is NO guarenteed way to accurately identify every terminal! Dumb terminals are just that--too stupid to answerback anything useful. Smart terminals do a better job, but emulators are quite random in features.&lt;BR /&gt;&lt;BR /&gt;HOWEVER: The proper behavior of a terminal is very dependent on the application program (you mentioned menu program) using the curses library or a script using tput. If the program is not using curses, then most likely there are hardcoded escape sequences (bad design) which will have to be handled with a rewrite.&lt;BR /&gt;&lt;BR /&gt;Now for the LKFAQs (Little-Known FAQs): The A,N and L-class computers have a separate processor called the GSP and it runs independently of the main CPU(s) and HP-UX. It can be reached via the console, the remote support modem and/or the LAN console if equipped. The designers of the GSP made changes to communication drivers such that regardless of the terminal actually connected to the console port (and only the console port), the value for TERM would be overridden by the GSP code.&lt;BR /&gt;&lt;BR /&gt;This means that by default, an HP terminal such as an HP 700/94 connected to an A-,N-, or L-class machine will have TERM=vt100 when /etc/profile runs, and this causes the cursor to jump around and mess up other programs such as sam and swinstall.  The fix is usually stated: change the 700/9x emulation to EM100 (emulate vt100) which is not a good workaround.  vt100 emulation performs very poorly for tools like sam, swinstall and glance as there are no such things as function keys.&lt;BR /&gt;&lt;BR /&gt;Instead, the fix is (on the console) to type CTLR-B so you can get the GSP prompt.  You will be asked to login but is never setup before, just press Return a couple of times. Then type the command CA (UPPERCASE or lowercase OK) to configure the serial port. Answer Y then Return for the next couple of questions, then Y to modify the Current Terminal Type. Change from vt100 to hpterm, and press Return. Answer N to change the Remote Console and you are done.&lt;BR /&gt;&lt;BR /&gt;BTW: if you want to turn off that blinking ATTN light, type the command: SL then E, then read what you like, and finally, type Q to exit back to GSP.&lt;BR /&gt;&lt;BR /&gt;Finally, return the GSP back to console mode by typing CO. Now, when you login at the console using an HP smart terminal, the TERM value will be set correctly (assuming you have configured the HP terminal to HP mode and not EM100 mode).&lt;BR /&gt;&lt;/TERMINAL-ID&gt;</description>
      <pubDate>Mon, 26 Nov 2001 18:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619973#M38451</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-11-26T18:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619974#M38452</link>
      <description>Hi Bill Hassell ,&lt;BR /&gt;  I am using dumb terminal. The same had working fine with 10.20 hp-ux, the junk problem is coming when it is connected 11.x hp-ux.&lt;BR /&gt;&lt;BR /&gt;Any solution.</description>
      <pubDate>Mon, 26 Nov 2001 19:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619974#M38452</guid>
      <dc:creator>N.S. WARGHADE</dc:creator>
      <dc:date>2001-11-26T19:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Junk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619975#M38453</link>
      <description>am not begging for points.. but sometimes we do not want to elaborate minor things like "how to set TERM" variable. So I simply mentioned to set it  appropriately so that you could try with different TERM types.&lt;BR /&gt;&lt;BR /&gt;We had a post by Dan previously about assigning the points. By seeing the time stamps of the first four posts one could easily understand that they were posted simultaneously.&lt;BR /&gt;&lt;BR /&gt;Interestingly all other posts got some acknowledgements (I prefer to call than points) except for mine.  &lt;BR /&gt;&lt;BR /&gt;Again. It's not about points. It's about showing courtesy that someone tried to spend sometime how small it might be.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 26 Nov 2001 20:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/junk/m-p/2619975#M38453</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-11-26T20:27:53Z</dc:date>
    </item>
  </channel>
</rss>

