Operating System - HP-UX
1752781 Members
5984 Online
108789 Solutions
New Discussion юеВ

Re: SAM menu distorsioned

 
Fernando Boza
Regular Advisor

SAM menu distorsioned

I have a menu executed from SAM, but some times, when exit fron that menu.... SAM return distorsioned

see image

Any idea?
7 REPLIES 7
Fabian Brise├▒o
Esteemed Contributor

Re: SAM menu distorsioned

Hello.
Is this problem just on exit ?

Have you checked your terminal settings ?

What OS version do you have ?
Knowledge is power.
Mel Burslan
Honored Contributor

Re: SAM menu distorsioned

It sounds like you are using an incompatible or not fully functional terminal emulator.

when you see the distorted menu screen, try hitting ctrl-L to reshape the screen contents as a temporary measure but you need to figure out what your TERM value in your session is set to and use that as the terminal emulation on your terminal emulator application as the terminal emulation type.

What is your terminal emulator application ? PuTTY ? Reflection-X ? Something else ?

also please post the output of the command:

# env | grep TERM

________________________________
UNIX because I majored in cryptology...
Fernando Boza
Regular Advisor

Re: SAM menu distorsioned

HP-UX v11.11
The error appears only on return at SAN
I am using Putty

Then, I send the output to command
Mel Burslan
Honored Contributor

Re: SAM menu distorsioned

if you are using putty, your terminal emulation type by default is set to xterm and if something is not hard-coding the TERM variable in your profile, the server should be detecting it and setting the TERM as xterm

if the output of command

env | grep TERM

is NOT

TERM=xterm

you need to find in your .profile or .kshrc/.bashrc/other_rc_file where the TERM variable gets set to this value and comment it out.

Or before running SAM, you can just run

export TERM=xterm

and see if it helps you
________________________________
UNIX because I majored in cryptology...
Torsten.
Acclaimed Contributor

Re: SAM menu distorsioned

Make sure the TERM settings are correct. Refresh with CTRL - l (L).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fernando Boza
Regular Advisor

Re: SAM menu distorsioned

a possible reason is:

The client run SAM in a full screen... then reduce the sreen.
When the menu exit, return to a screen different and scrambled.
Mel Burslan
Honored Contributor

Re: SAM menu distorsioned

That pretty much explains it. If you change the screen size in the middle of running SAM, chances of your terminal and your server session following this change is pretty slim to none. Ctrl-L can re-read the size difference on the terminal and refresh the screen. And this is pretty much the only solution to re-align the menu in the middle of running SAM.
________________________________
UNIX because I majored in cryptology...