1833873 Members
1962 Online
110063 Solutions
New Discussion

Re: Sam displaying

 
SOLVED
Go to solution
arikel
New Member

Sam displaying

I'm running an hp9000 server which i command via a terminal emulator installed on a w2000pro. So far i've been trying Powerterm, Xterm (on a Debian), Telnet, and it's all ok except in the displaying of Sam, which turns really ugly in the best cases. Could anyone tell me about a terminal emulator which could really help, or is there anything i need to configure on the server for it to display the graphical interface properly?
7 REPLIES 7
John Dvorchak
Honored Contributor
Solution

Re: Sam displaying

I am guessing that you are not connected to the console via a serial port. Then you are telneting into the HPUX box with a telnet client. I am curious what you get after you establish a connection and you type env |grep TERM. If you get anything but xterm or vt100 sam won't like it, like Wyse. I use a freebe called putty and it works on all of my HPUX and Linux workstations just fine. If you really want to get the GUI you will have to run and X server on the Win2k box like Exceed etc. Then export your display and then run sam. The GUI's should pop up automagically.
If it has wheels or a skirt, you can't afford it.
Mark Greene_1
Honored Contributor

Re: Sam displaying

Try adding the following to your .profile:

if [ "$TERM" = "" -o "$TERM" = "hp" ]
then
eval ` tset -h -s -Q `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs

echo
echo "Value of TERM has been set to \"$TERM\". "
export TERM


mark
the future will be a lot like now, only later
arikel
New Member

Re: Sam displaying

Thanks a lot to you, John and Mark. I've been trying Exceed which works really fine to display the CDE, and everything went ok for a while. I didn't try yet to edit files as you indicated. But i then tried an ip-changing : the former being 192.168.24.151, i tried to put 172.16.36.66 (and my machine, which was 192.168.24.48, became 172.16.36.48).

From there on, i had troubles displaying the CDE, getting the error message "Couldn't initialize the desktop message system and connect to it. Take a look to your $HOME/.dt/errorlog for more information" at the start of Sam, and then i have no choice but to disconnect. There seems to be troubles with ToolTalk, and i have to precise that i first tried to change the ip using Sam, which may have caused problems. Could anyone explain me where or how these displaying troubles occur when changing the ip, and how to handle them?
T G Manikandan
Honored Contributor

Re: Sam displaying

I am using xmanager for some time and it is working fine.

Like the Xmanager.

http://download.com.com/3000-2340-6128455.html?tag=list

Install it.
run XManager
you will receive xdmcp broadcasts from the unix servers that are running CDE.
Then you can login into the appropriate server.
Then do a
$DISPPLAY=:0.0;export DISPLAY
Bill Hassell
Honored Contributor

Re: Sam displaying

I'm not a fan of any Xwindow program used for character mode interfaces. Not only are they poor substitutes for a real terminal, they consume a lot of network bandwidth because the font, colors and decorations are transmitted over the network (try it over a modem).

SAM (and swinstall and other interactive software distributor utilities) are designed to be used with HP terminals and the best emulator is from WRQ called Reflection for HP (aka, Reflection/1 in earlier versions). Using Reflection/1, the PC client runs all the decoration code and only simple text flows back and forth through the telnet connection. This emulator is a true HP terminal emulator (unlike dtterm and even hpterm) in that it handles every feature found in HP terminals over the last decade. (note: Reflection/X is a different product and does not contain an HP terminal emulator, just a VT-style emulator).

Using Reflection/1, you can not only see and use all the function (softkeys) keys, but the alternate character sets for line drawing are displayed correctly. Refelection/1 has numerous color schemes that can be instantly changed, along font scaling (just make the window bigger) without messing up the ROWS and COLUMNS.

The WRQ product can be configured to perform an automatic login with encrypted password storage in less than 30 seconds and the powerful macro capability (using Visual Basic) can create custom menu items like color schemes and window sizes. The latest version of Reflection/1 also supports Secure Shell (Open SSH) as a connection method.

A free alternative (without the VB scripting capability) is QCterm and while the web page talks a lot about the HP 3000, QCterm works as a usable HP terminal emulator (albeit slow, limited scalable fonts and no macro recording method).


Bill Hassell, sysadmin
Bill Hassell
Honored Contributor

Re: Sam displaying

To address the IP change...did you change the IP address on your HP-UX workstation? If so, that is a critical change and many separate locations need updating. ALWAYS use /sbin/set_parms ip_address
(and possibly /sbin/set_parms addl_netwrk) to change the local HP-UX system. CDE and Xwindows in general are critcally dependent on correct network values just to get started locally.


Bill Hassell, sysadmin
John Dvorchak
Honored Contributor

Re: Sam displaying

If after changing the IP address you get errors like the type you listed. Make sure that /etc/rc.config.d/netconf has the changes you wanted and /etc/hosts has the name and address that you changed it to listed either first or second in the file. The first entry should alwasy be 127.0.0.1 localhost and the second line should always be the new IP address and name of the server/workstation.

Another way to test this is do a nslookup on both the name and the new IP address and make sure they are what you want to see.

Good luck
If it has wheels or a skirt, you can't afford it.