Apple Terminal.app (was: home and end keys not working)
Hi Will!
On Wednesday, March 8, 2006 at 22:31:46 -0800, William B. Yardley wrote:
> From my Mac, I tried: nsterm nsterm-16color nsterm+acs
Well the straight TERM=nsterm is crafted for a dead old version of
Terminal.app without colors, ACS, 8 bits characters, nor window title.
As all entries with "+", nsterm+acs should not be used directly:
They are building blocks for real _complete_ entries. Which would be for
example "nsterm-c-s-acs" with Colors, Status line (window title), and
ACS (nice thread lines).
The best definition for recent Terminal.app versions should be
TERM=nsterm-16color, provided one has a top recent database (this entry
was added only 2 weeks ago). Visibly with two lacking keys: Sorry.
> none of them seem to set home and end properly (my powerbook is
> sending [H and [F as home and end).
Both are not defined at all. Do as simple user (*not* as root):
| $ infocmp nsterm-16color > /tmp/nsterm-16color.src
| $ echo " kend=\E[F, khome=\E[H, " >> /tmp/nsterm-16color.src
| $ tic /tmp/nsterm-16color.src
This tic creates ~/.terminfo/n/nsterm-16color which will override
the system database entry.
Would you accept to do more? Could you please use the
"tack nsterm-16color" command, function n f k (begin testing ==> test
function keys ==> test function keys), and type on each and every
special key of your keyboard, alone and in combinations with modifier
keys. Then type "?" to update the display, and report us any not defined
keys. What is the "echo $TERM_PROGRAM_VERSION" of your Terminal.app, and
what is your MacOS version?
Note: You may have to use the laptop-specific blue [fn] key, but it
doesn't count as a modifier key. Pretend you have a normal keyboard.
> And why are there like freaking 50 billion different nsterm
> variations. No wonder people can't figure out all this terminal stuff.
50 billion? Come on! How can we have a serious discussion when
you're over-exagerating worse than a Massilian? There are much less: Not
even 42 billion variations:
| $ zgrep "^nsterm[^+]*|" terminfo.src.gz | wc --lines
| 41875931136
Bye! Alain.
--
When you want to reply to a mailing list, please avoid doing so with
Apple Mail (2.612). This lacks necessary references and breaks threads.