Operating System - HP-UX
1833827 Members
2300 Online
110063 Solutions
New Discussion

Re: Terminal settings for textbased GUI

 
Kenneth_18
Frequent Advisor

Terminal settings for textbased GUI

Hello,

I have an L2000 with HP OpenCall SS7 software installed. I'm only telnetting to the machine and I would like to access the text-base version of ss7RMonStart which is HPSS7RMON. WHen I ran HPSS7RMON, I always get garbage displayed for the borders of the shell and the menus are not outline correctly which almost makes it impossible to use the tool. When I run SAM though, the SAM shell is displayed correctly. Setting TERM=vt100 does not help. Any suggestions?

Thanks,

Kenneth
8 REPLIES 8
James A. Donovan
Honored Contributor

Re: Terminal settings for textbased GUI

Try this:

export TERM=`ttytype -a`

and then try your program.
Remember, wherever you go, there you are...
Kenneth_18
Frequent Advisor

Re: Terminal settings for textbased GUI

Thanks, just tried your suggestion but it still does not work.
Bill Hassell
Honored Contributor

Re: Terminal settings for textbased GUI

Terminals can be a real challenge now that there are so many imitators (ie, emulators). What are you typing on? Is it a PC? If so, what terminal emulator program are you using (a PC is NOT a terminal--you need a special program to accomplish this). Or is it a 'real' HP terminal such as the 700/9x or a C1099? Changing TERM to some random value accomplishes nothing if the value does not reflect the terminal's capability.

Start with:

echo $TERM

just after you login. Is it an HP terminal? And if so, when you run SAM, are the f1-f8 sioftkeys functional? If so, then the SS7 program was not written to use typical Unix terminal handling standards like the Curses library. Most likely, the SS7 documentation says something like: must use a vt100 terminal or similar. HP terminals have the ability to have their smart terminal capability lobotomized but then SAM (and swinstall, etc) will be difficult to navigate.

So try using a PC with a true dumb terminal emulator like Hyperterminal (although it is a poor imitation of a 'real' vt100). If that works better, then the SS7 program has apparently hardcoded dumb terminal code into the program, in which case, you'll have to switch terminals to use the program.

The Curses library is a very sophisticated library of routines that handle common terminal features (see man terminfo) and as long as TERM matches the terminal's capabilities, a program using the Curses library will run unchanged on hundreds of different terminals (see: ll -R /usr/lib/terminfo)


Bill Hassell, sysadmin
Joshua Scott
Honored Contributor

Re: Terminal settings for textbased GUI

If you are using an HP terminal, then you can reset to the default by turning the terminal off, then holding Ctrl-d and turning it back on. continue to hold Ctrl-d. The terminal will beep as you power it on, and then about 3-5 seconds later, it will make a different sounding beep. release the key at this point. The Terminal should come on and display a message in the lower left hand corner of the screen indicating that the default settings were used.

This may not solve the problem, but 9 times out of 10 this will fix terminal errors & display corruptions.

Hope this helps your problem.
What are the chances...
Michael Steele_2
Honored Contributor

Re: Terminal settings for textbased GUI

export TERM=HP
Support Fatherhood - Stop Family Law
Kenneth_18
Frequent Advisor

Re: Terminal settings for textbased GUI

Thanks all,

Unfortunately, I still cant get it to work. Even on an hpterm console directly connected to the server, the display is not properly displayed for HPSS7RMON.
T G Manikandan
Honored Contributor

Re: Terminal settings for textbased GUI

ss7MgrStart starts the ss7 monitor automatically.

how is the display when you do a ss7MgrStart.
Kenneth_18
Frequent Advisor

Re: Terminal settings for textbased GUI

Yes you are right. But HP OC also has this commandline version of ss7MgrStart or ss7RMonStart which is HPSS7RMON which I want to use to configure SS7 when I dont have a GUI. The problem is the display is somewhat garbled as in the supposed to be borders of the shell are displayed as garbage text. Executing sam displays the menu shell correctly but with HPSS7RMON, it is not displayed correctly.

Thanks for your inpputs.