Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

No matter what the TERM variable is set to, vt-100, xterm, xterm-color the terminal does wierd things, like force a carriage return after 80 characters, and only address the upper left corner of the screen.

It's very odd.

Curses is well named it's been the irritation in my side for 25 years of nix development.

share|improve this question

migrated from Aug 22 '10 at 8:56

This question came from our site for professional and enthusiast programmers.

Maybe your question will be better in – Erik Escobedo Aug 22 '10 at 0:48
or – Eli Frey Aug 22 '10 at 0:53
Indeed, that does sound very odd, because I've a stock on Snow Leopard which I use to log into many different Linux distributions roughly in my day to day work, and I've yet to come across any such issues. I have the terminal declared as "xterm-color", which doesn't seem to work for you, though. – ayaz Aug 22 '10 at 18:05

You didn't specify what terminal software you are using in OSX.

But if you happen to use OSX's default Terminal, then go to "Preferences -> Settings -> Advanced" and change "Declare terminal as" to "rxvt".

This has solved many problems for me, maybe it helps in your case as well.

share|improve this answer

Is your shell bash?

What does this print:


Does running this help:

$ shopt -s checkwinsize
share|improve this answer

You must log in to answer this question.