1752573 Members
4535 Online
108788 Solutions
New Discussion юеВ

Re: Qterm

 
TheJuiceman
Super Advisor

Qterm

Hey gang,

I need to be able to get the terminal info for our emulator so I can edit qtermtab (it is not listed and so takes a while to go to default). I have tried echoing the ESC Z by 'echo "^[Z"' but do not get the desired info. Here is what I am needing...

The contents of qtermtab are like so...

#KEY SEND RECEIVE TERM NEXT DESCRIPTION
#---- ------- --------------- ------ ------ -------------------------------
prime ^[[c ^[[?63;1;2;6;8;9;11;14;17c vt320-k -

I need to get the RECEIVE information so I can set it to the vt320-k term.

How can I get this? Thanks
6 REPLIES 6
Steven Schweda
Honored Contributor

Re: Qterm

I don't understand the question. What,
exactly, is "our emulator", and how is it
related to a "Qterm", and what's a Qterm?
What's "not listed", where?

> I have tried echoing [...]

Huh? You did _what_?

"Esc [ c" is a DEC/ANSI terminal inquiry for
Device Attributes (DA).

"Esc [ ? blah; blah; blah" looks as if it
might be what a VT320 would send back. ("63"
= VT320-class. "1" = 32 columns, "2" =
printer port, "6" = selective erase, ...)

What your actual problem is, is a complete
mystery to me, however.
Steven Schweda
Honored Contributor

Re: Qterm

> [...] "1" = 32 columns, [...]

Oops. Make that:

[...] "1" = 132 columns, [...]
ww424245
Super Advisor

Re: Qterm

hi juicman,

can you provide ur product details?
Jose Mosquera
Honored Contributor

Re: Qterm

Bill Hassell
Honored Contributor

Re: Qterm

If you are logging in to HP-UX systems, there is no need to use Qterm. HP supplies a very capable program called ttytype (and it replaces tset).

To see how it works, type:

ttytype -s

To set the shell variables at login, put this into /etc/profile:

eval $(ttytype -s)

Now your TERM, LINES, COLUMNS and ERASE will be set automatically for whatever terminal you are using.


Bill Hassell, sysadmin
TheJuiceman
Super Advisor

Re: Qterm

I was able to do what I needed.
Running "qterm +watch" allowed me to see what I needed to put in the qtermtab file. This has resolved my issue. Thanks