Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

nano Error opening terminal: xterm-256color.

Hi,


I have installed OSx Lion 10.7, on MacBook Air, now when i try to use nano, i get that error


$ nano Error opening terminal: xterm-256color.


Also when try to use less


less a

WARNING: terminal is not fully functional


If i change terminal preferences from "xterm-256corlor" to "xterm-color" these issues go away,

but that also means my terminal will not support 256 color, so, any ideas of what is going on?


Bests regards,

Jose

XCode-OTHER, Mac OS X (10.6.7)

Posted on Jul 21, 2011 7:48 AM

Reply
20 replies

Jul 23, 2011 6:09 PM in response to Luca.IT

Link to terminfo: http://www.sendspace.com/file/hc2dus


If you would rather grab the files from the Lion installer:

1. Download Lion Installer from the App Store

2. Download unpkg: http://www.macupdate.com/app/mac/16357/unpkg

3. Open Lion Installer app in Finder (Right click -> Show Package Contents)

4. Open InstallESD.dmg (under SharedSupport)

5. Unpack BSD.pkg with unpkg (Located under Packages)


Term info will be located in the new BSD folder in /usr/share/terminfo

nano Error opening terminal: xterm-256color.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.