Operating System - HP-UX
1748169 Members
4170 Online
108758 Solutions
New Discussion юеВ

Re: 11.0 terminal emulation nightmare

 
Cindy Wolford
Frequent Advisor

11.0 terminal emulation nightmare

Hi there,

I'm hoping someone has some ideas/suggestions for me on this one.

My windows pc is not displaying correctly when I telnet to our UNIX 11.0 L3000 server.

I've tried 2 different emulation packages, neither of which I can get working well. I notice the problem mostly when I'm in swinstall (the words are joinned, are cut off, lines are cut off or messed up....) it's so ugly that I cannot install the patch bundle because I can't figure out the screen! ugh!

I'm using NetTerm and Relection X for UNIX. Both of these I've setup for vt100, vt220, ansi emulation but nothing seems to be working for me. I've tried changing font sizes, maximizing the screen....but I can't find the right combo.

Has anyone been down this path? Anyone have any ideas on how I can correct this?

TIA
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: 11.0 terminal emulation nightmare

I you are using Reflection X, why not take advantage of the X version of swinstall?

If you have an xterm up with Reflection X, export your DISPLAY variable so it points to your PC and then run swinstall.

# export DISPLAY=ip.addr.of.pc

# swinstall &
Rodney Hills
Honored Contributor

Re: 11.0 terminal emulation nightmare

I have been using NetTerm without problems (except for function keys) within swinstall, swremove, sam, etc...

Here is some of the entries from my NETTERM.INI file-

HTH

-- Rod Hills

[KEYS-VT220]
36[Home]=^[[2~|||^[[2~||
45[Ins]=^[[1~||^l|^[[1~||
35[End]=^[[5~||^e|^[[5~||
33[PgUp]=^[[3~|||^[[3~||
34[PgDn]=^[[6~|||^[[6~||
116[f5]=^[[26~||^[[26~||
117[f6]=^[[17~|^[[32~|||
118[f7]=^[[18~|^[[33~|||
119[f8]=^[[19~|^[[34~|||
120[f9]=^[[20~||||
121[f10]=^[[21~||||
122[f11]=^[[23~||||
123[f12]=^[[24~||||
112[f1]=^[OP|^[[25~||||
113[f2]=^[OQ|^[[26~||||
46[Del]=^[[4~|^u|^k|^[[4~||
39[Right]=^[[C|||^[[C||^n
37[Left]=^[[D|||^[[D||^v
9[Tab]=^I|^I||^I||^p||
38[Up]=^[[A||^t|^[[A||
40[Down]=^[[B||^o|^[[B||

[MYHOST]
ANSWERBACK=COLOR NETTERM
KEYNAME=VT220
TELNETPORT=23
NOAPPMODE=0
FSECURE=0
TERMID=vt220
BOLDOVERRIDE=1
LINEOVERRIDE=0
SCANCODES=0
TBI=0
LMC=0
QUICK=0
FIREWALL=0
TIME=0
CURSOR=1
MAXROWS=24
MAXCOLS=132
SCRIPT=
Phone=<<<<<<>>>>>>>>
SUFFIX=
BackSpace=0
SCROLL_LINES=1000
NEWLINE=0
AUTOWRAP=1
Duplex=0
network=2
emulation=13
Deslogin=0
FORCECR=0
FORCELF=0
LINEMODE=0
bg=0,0,0
fg=255,255,0
bold_color=0,255,0
underscore_color=0,255,255
blink_color=255,0,0
rev_color=0,0,0
rev_color_bg=255,128,0
ldFG=192,192,192
ldBG=0,0,128
PIN=
TONE=1
FLOWCONTROL=2
Baud=-1
Parity=0
ByteSize=8
StopBits=0
PINFLAG=0
Direct=0
FONT=19,0,0,0,400,0,1,0,255,1,2,0,1[isi_oem]
MAPPING=
ColorName=
RLOGIN_USERID=
ACTIVEBUTTONS=0
COLOROVERRIDE=0
PosX=-100
PosY=-100
There be dragons...
Sridhar Bhaskarla
Honored Contributor

Re: 11.0 terminal emulation nightmare

And here is my netterm.ini and it works like a charm.

Take a copy of your netterm.ini and replace it with this attachment.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Martin Johnson
Honored Contributor

Re: 11.0 terminal emulation nightmare

How is the terminal defined in your session? Do "echo $TERM". If your emulator is emulating a vt100 or a vt220, TERM should be set to that. If not, you will experience problems like the ones you are mentioning.

To set TERM, do "TERM=vt100; export TERM". NOTE: While HP supports vt220, other unix OS's do not (like solaris), so set TERM to vt100.

HTH
Marty
Bill Hassell
Honored Contributor

Re: 11.0 terminal emulation nightmare

Actually, swinstall (and sam and others) are much easier to use if you use an HP terminal emulation rather than a dumb vt100. While swinstall and sam understand vt100, there are far too many 'emulators' that are very bad imitations of the real thing. The emulator must match the definitions of vt100 (which are found in /usr/lib/terminfo). You can see these definitions with: untic vt100

The easiest method for the software you have is to use Reflection/X. Don't login or run CDE, etc. Just run Reflection/X in the background, then telnet from your PC to the L3000 using the PC's DOS prompt. Once logged into the server, set the DISPLAY value as in:

export DISPLAY=12.34.56.78:0

Set the IP address equal to your PC. To find the IP for your PC, use: who -muR | awk '{print $NF}'

Also set the TERM variable to hp as in: export TERM=hp, then start hpterm. It's important that $TERM match the emulator you are using.

The better way is to get Reflection for HP (not to be confused with Reflection/X) which is a pure HP terminal emulator with scalable fonts and an excellent macro recorder. Navigation in swinstall and sam (using Reflection/HP) is very fast and ideal for modem connections.


Bill Hassell, sysadmin
T G Manikandan
Honored Contributor

Re: 11.0 terminal emulation nightmare

i use Xmanager.

you can just do a
"xmanager download" in google.com

Download Xmanager and install it on the PC.

Just do a

start--->programs---->Xmanager-->Xmanager

This should give the xdmcp broadcast ip's of the unix machines.
connect to the machine you require.

Just login.

set your DISPLAY as

$DISPLAY=:0.0
$export DISPLAY

Then things should go normal.

Revert