Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vt220 on aix 4.3.3 and console

Status
Not open for further replies.

SAIMike

IS-IT--Management
Jun 18, 2005
8
0
0
US
Everyone,
I have an ibm3153 console. I am running aix 4.3.3. when we try and login at the console the screen keeps overwriting itself.
After doing some testing i am stumped.
tty is set to ibm3151
console is the same. compared everything in console to another machine running the same system and they both match.
Swapped a good terminal to see if the terminal went bad. still didn't work.
when i do an echo $TERM it shows that its set to vt220 instead of ibm3151.
here is my tty0
TTY tty0
TTY type tty
TTY interface rs232
Description Asynchronous Terminal
Status Available
Location 01-S1-00-00
Parent adapter sa0
PORT number [0] +
Enable LOGIN enable +
BAUD rate [9600] +
PARITY [none] +
BITS per character [8] +
Number of STOP BITS [1] +
TIME before advancing to next port setting [0] +#
TERMINAL type [ibm3151]
FLOW CONTROL to be used [xon] +
OPEN DISCIPLINE to be used [dtropen] +
STTY attributes for RUN time [hupcl,cread,brkint,icrnl,opost,tab3,onlcr,> +
STTY attributes for LOGIN [hupcl,cread,echoe,cs8]

Can anyone help me with this problem?
 
Have a look in your login scripts. I'll bet there's some script along the way which overrides your TERM setting.

If you can't fathom it out, here's a tip:

in /etc/profile as very first line, put

echo "TERM='${TERM}'"

And put it at again some points where you think it might have changed.

Also put it in your ${HOME}/.profile at the very beginning of the code and at the very end.

Other login env scripts may be in place, so take a good look at it all. E.g. for csh - ${HOME}/.cshrc or ${HOME}/.login


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top