1832897 Members
2877 Online
110048 Solutions
New Discussion

Dec VT Terminals

 
Mike Stanley
New Member

Dec VT Terminals

As a company we are moving from Digital Vax running VMS to HP running HP-UX.
We have many VT320's that seem to work well on the HP box - BUT - how on earth do I get the ? (pound) sign to work properly. I can sort of get the # (hash) and ? (pound) swapped - but however I try I can not get them both to work together.
Maybe it's easy, maybe it's hard. But being new to Unix it's hard!!!

Please help ..... arghhhhhhhhhh
4 REPLIES 4
Marcel Eken_2
Frequent Advisor

Re: Dec VT Terminals

Have you tried setting the correct TERM variable?

Depending on which shell you use the syntax of setting variables is different
Try if using the the:

ksh or sh:
export TERM=vt320

csh:
setenv TERM vt320

All the available terminals can be found in the directory:
/usr/share/lib/terminfo

If you need to modify terminals check the man pages of:
tic(1m) or untic(1m)
Mike Stanley
New Member

Re: Dec VT Terminals

Thanks, this answer got me moving:

VT320's can only support either hash of pound and I have got these working by setting TERM=vt320 plus setting the vt with the following (in the vt setup)
ID = VT320
VT400 Mode with 7 bit controls
7 bit characters
UPSS Dec Supplemental CHaracter.
British Keyboard
GREAT!!!

We have PC's that emulate (using reflections product) VT320. These on the VMS platform can do both hash (ascii 35) and pound (ascii minus 93 - i think).
On the HP though choosing in Refections the equivalent setup:
Host Character Set = Dec Supplemental
National replacement Set = British
Use 7 bit NRC - ticked
I get pound sign when I press the pound key or the hash key.

I have checked tic, untic and terminfo and can not see anything to help.

To solve this problem would be icing on the cake.
Andreas Voss
Honored Contributor

Re: Dec VT Terminals

Have you tried to setup your reflection with 8 Bit ?
Mike Stanley
New Member

Re: Dec VT Terminals

Yes.

8 Bit all hashes
7 Bit all pounds

(on HP / Reflections)