SSH-ing in non-Mac systems. So how to solve it?" />

Pop search terms in here.

Feed the Birds

Mac OS X Lion and Xterm

If you’re running Lion as your desktop OS, you may well have bumped into this little one already. If you try to use commands such as nano or top or many other normal things, you may well be getting this error.

Error opening terminal: xterm-256color.

Brilliant.

It happens because there is no file defining a 256 colour session in Snow Leopard, or Leopard, or Tiger for that matter. You’re even likely come across the error when SSH-ing in non-Mac systems. So how to solve it?

Stick this in a shell script in /usr/local/bin/ or similar.

Loading from GitHub...

You’ll need the root user enabled for this to work. Cheeky.

← Recent Articles