Terminal Emulation--Messy Screen--Fix?

In FreeBSD 2.2.5, with TERM cons25 or vt100, the screen
becomes messy when I dial and log in to another FreeBSD
system (or any unix).  "screen" doesn't help. (X-Windows
does, but I'd like to be able to work without X.) What's
wrong here?
andrsnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

admintcCommented:
Isn't the terminal type for the  FreeBSD console pc? Also, make sure the terminal
 type is set right on the remote system too.
If bash is your shell:  export TERM=pc      (or vt102/cons25/vt100/console)
sh                        TERM=pc; export TERM
csh/tcsh                setenv TERM pc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
braveheartCommented:
If X works fine, remember that you can still define your terminal type as xterm without having to use X. xterm is compatible with a whole variety of proprietary variants too, as well as vt100 (if the screen size is right), so it is a very useful option.

You may have to communicate your screen size to the remote host but this will depend on the UNIX flavour (at the remote host). The usual default is 80x24 or 80x22 characters so if your screen is different, that is probably why things are going wrong. You could try setting shell variables (rows,columns or cols) and similarly named environment variables to appropriate values.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.