[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: Mac OS X Terminal.app, FreeBSD, ssh
From:       Kyle Wheeler <kyle-mutt () memoryhole ! net>
Date:       2010-05-04 19:27:33
Message-ID: 20100504192733.GA21532 () marvin ! we-be-smart ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tuesday, May  4 at 06:37 PM, quoth Jamie Griffin:
> Yeah, I read a few old posts in the archives where you had explained 
> the benefits of setting up Terminal.app in that way but I think the 
> OP(s) problems at the time were mostly related to locales so I 
> didn't think it to be applicable to my problem.

:)

Either fortunately or unfortunately, most display issues in mutt 
involve TERM settings in some way.

> I'm using Leopard and do you happen to know if the ncurses that 
> comes with that will include nsterm-16color?

Leopard comes with the necessary stuff for several variants of nsterm, 
but not nsterm-16color. You can install your own ncurses (e.g. via 
MacPorts), which I usually do, and that *will* contain the necessary 
nsterm-16color stuff, but system-provided programs won't use it. 
*THAT* is why I first started toting around my own copy in my home 
directory. :)

> I also had a look for an /etc/termcap file or equivilent but there 
> isn't one. I gues that's why you use your own ~.termcap ?

Termcap and terminfo aren't quite the same---termcap is older and 
harder to work with. My Ubuntu install doesn't have an /etc/termcap 
file either, and that's a good thing. However, I *do* have an 
/etc/terminfo/ directory. In any event, Leopard stores its terminfo 
files in /usr/share/terminfo.

The other reason I started toting around my own copy of nsterm-16color 
is because the standard one doesn't contain descriptions for all the 
features that Apple's Terminal can provide; in particular, it does 
support an alternate display buffer (which allows programs like mutt 
or vim to restore the previous contents of the terminal when they 
exit) which the nsterm-16color file that comes with ncurses doesn't 
include. So I had to modify it (the details are in the mutt archives) 
to get exactly what I wanted... but that's me being picky. :)

~Kyle
- -- 
Liberty means responsibility. That is why most men dread it.
                                                 -- George Bernard Shaw
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJL4HUkAAoJECuveozR/AWeSp0P/Rp7mPVAf/f+KM37lu37e8I1
2/19zXJr0bleqX1jop4xNrG0aC/KWEZ1gweCxfy93mqoSI4ZJ1vkdxypVbd4u6db
+RDdqNT+tY73pQnXjbMz7T/59UxLIGtTC5yjJIAzZiWL97+CaPOkQhXMQ4aLpcDz
doC+yHT57O7jPYSsAaoZH9LbycHYjAks5TpAvlUTd0t1vHw1IUNxFPrhsmomv0xC
uiHOW7BHB2XWoF7YQcLnVk6fY7t70vQyoMZTNeO50GjBmlMJ4wVpAerKsOWRqj7Y
lKkJ3kAfUzmm+pra6eccURf2T+Pi5jMXuiSSALP2wyLsMjFR0aaB2LnOL9ewKs8a
l370pI2U2XCX5EXB8kFRaXxHZUGTL0BrkhCtkJUDun7RAKX3oL2i00nmqhSrX86d
Qhkt4WIomS/hCRQ8bdZl7EpsS6Vunlal4XokSuzHDL/PgARlPUfLqKu0LdtwABXb
QBj/2ST1TIAU1lAEhfqpJu/71c/g1lvddwWqW0MjrHu89fSSIbUeeNsCTU4mhV+Y
9tvJOp17LnQjT+uojDFeiwRJmcuPPIydrLu+Tnd6YkOlMENlUtMI54xiifGnGbV/
mrIXSMaPORGomOkXsAyhndh7OGf5gsW4P9nVIN03WkcDQw5V/n6Pqg55XyavduZK
scycMZZWmqHaKsoax9de
=6Fyf
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic