Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Aug 22 '10 at 8:56

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

    
Maybe your question will be better in superuser.com –  Erik Escobedo Aug 22 '10 at 0:48
    
or unix.stackexchange.com –  Eli Frey Aug 22 '10 at 0:53
    
Indeed, that does sound very odd, because I've a stock Terminal.app 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
add comment

2 Answers

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
add comment

Is your shell bash?

What does this print:

$ echo LINES=$LINES COLUMNS=$COLUMNS

Does running this help:

$ shopt -s checkwinsize
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.