Operating System - HP-UX
1832869 Members
3516 Online
110048 Solutions
New Discussion

Re: wierd terminal emulation

 
Paul Cross_1
Respected Contributor

wierd terminal emulation

whenever I install hpux B.11.00 A, I get strange terminal behaviour (control-c doesn't work, less reports: "terminal is not fully functional", # key doesn't work in vi, etc.). What gives?
9 REPLIES 9
Sandip Ghosh
Honored Contributor

Re: wierd terminal emulation

Do the TERM set properly. You can set as vt100 or you can set it as hp. Most Probably in HP 11.00 it takes vt100 by default.

Sandip
Good Luck!!!
Helen French
Honored Contributor

Re: wierd terminal emulation

Hi,

Some points:

1) Make sure that your terminal settings are proper ( should match with the terminal settings, in the system )

2) Check the terminal variables and key mappings.

3) Check 'stty' details.
4) Check 'env' information.

If all of these are set properly and if you have a good terminal, then it will work properly.

HTH,
Shiju
Life is a promise, fulfill it!
A. Clay Stephenson
Acclaimed Contributor

Re: wierd terminal emulation

How a terminal works depends upon what the TERM variable is set to and upon how the tty port that it is attached to is configured. I suspect that you are using a non-standard terminal. You can change the intterupt key and the erase key to whatever you like via the stty command. I suspect that if you get the TERM setting, your terminal emulator settings, and the stty settings to agree, your problems will be over. Man stty, terminfo for details.
If it ain't broke, I can fix that.
Paul Cross_1
Respected Contributor

Re: wierd terminal emulation

Thanks for the responses. Although you could say I'm new to HPUX, this isn't a newbie question. I have set my TERM variable (csh) to xterm. stty is the same as my solaris machines:

speed 300 baud; -parity hupcl
min = 1; time = 1; intr = ^C; erase = ^H; kill = ^U;
eol ;
susp = ^Z; dsusp = ^Y;
werase = ^W; lnext = ^V;
brkint -inpck icrnl ixoff onlcr tab3
-iexten echo echoe echok
-echoke
A. Clay Stephenson
Acclaimed Contributor

Re: wierd terminal emulation

Hi Paul:

I'm glad to see that you are not a UNIX newbie though that was far from obvious in your question. A non-newbiw would have listed a stty -a so that the value of icanon could have been observed. A non-newbie would have referred to control-c not working as the interrupt key not working as expected. I'm also surprised to see a 300 baud setting that too is non-typical. If icanon is set and intr is set to Ctrl-C, I can only surmise that your keyboard mapping on your PC-Emulator needs to be examined so that a Ctrl-C does indeed generate an ASCII 003.


Regards, Clay
If it ain't broke, I can fix that.
Paul Cross_1
Respected Contributor

Re: wierd terminal emulation

What's with the smart ass response? Since the CD that I have installs this way by default, I figured that someone with a lot of experience with hpux would think it was an easily recognized problem. If you don't know the answer, just say so. I won't get mad :)
Graham Cameron_1
Honored Contributor

Re: wierd terminal emulation

I think a little humility may help if you want "someone with a lot of experience with hpux" to dedicate some time to your problem.
You could help by telling us what sort of terminal you are physically at.
If its an emulator, which one.
How about the output from
stty -a
echo $TERM
ttytype -v

Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Paul Cross_1
Respected Contributor

Re: wierd terminal emulation

I don't think I was less than humble until I was insulted, generally that's when my humility meter drops...
Being a little soured by the pretentious response recieved from A. Clay Stephenson I looked elsewhere for the answer... and found it. It was a pretty simple fix, as I thought it would be. I only wish I could revoke points.
Graham Cameron_1
Honored Contributor

Re: wierd terminal emulation

Share your knowledge. What was the answer ?
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.