|
|
A custom terminfo to restore 10.2 Terminal behavior
*phew* that's a long, difficult solution. My alternative is to just add
to my .bashrc file in my home directory. :-)
A custom terminfo to restore 10.2 Terminal behavior
failed for me…no change in my terminal behavior.
Would there be any way to do this hint without installing into /usr? I have a habit of wiping system directories as part of a re-install, and hate stuff that isn't in ~.
A custom terminfo to restore 10.2 Terminal behavior
d1taylor wrote:
*phew* that's a long, difficult solution. My alternative is to just addsorry for the excessive verbosity ... had i chosen to be even more long-winded, you would have been able to read, had you chosen to do so, that TERM=ansi was one of those "less than optimal" solutions. biggest problem with ansi is that it doesn't have decent support for syntax coloring in vim. the other hint robg mentioned in his editorial comment also contains a good deal of interesting information. if i'd found it earlier, i might not have even written my hint, although mine does solve all my problems (which of course may not be yours) ... in answer to capn hector, there is some evidence that some programs can look for and use a TERMINFO environment variable, or will pay attention to terminfo entries in a ".terminfo" directory in your home directory, but i wasn't able to achieve anything useful by playing around with those things. it seems to me that probably Terminal is not one of those that bothers checking ... i seem to recall scrolling through the output of strings having been run on the Terminal executable, and not seeing anything that would indicate its support for such a feature. unfortunately, we are thus pretty much stuck with having to put stuff in /usr/share/terminfo. one thing that may help there is to just keep all your custom stuff somewhere under ~/, and then just symlink to that from the "real" locations. at least that way, only the links will get overwritten by system updates and installs, and you won't lose your custom stuff, although you'll of course have to recreate the links. in another hint/thread somewhere, i have a link to my "checklist" of custom stuff that i have to redo every time a new system dot-release comes out. it's a couple pages long, full of stuff i'd forget to do if i didn't have it written down.
A custom terminfo to restore 10.2 Terminal behavior
Thanks jpf for the hint. A couple comments on the hint and your followup:
A custom terminfo to restore 10.2 Terminal behavior
That's probably useless unless you've also gone into Terminal's Preferences and set the Declare terminal type ($TERM) as: pull-down menu entry to ansi as well.
And, as others have noted already, ansi has only a subset of capabilities compared to that menu's xterm-color entry (or rxvt, which is another feature-rich entry). |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|