# Apple's MacOS X includes a Terminal.app derived from the old NeXT # Terminal.app. It is a partial VT100 emulation with some extensions. # # There are no function keys, at least not in version 41. # # It supports mouse pointer position reporting using xterm-like # sequences (not used in these entries.) When using emacs, the cursor # can be positioned using option-click. # # It provides partial ANSI color support (background colors interact # badly with bold, though.) The monochrome (-m) entries are useful if # you've disabled color support. # # The configurable titlebar is set using xterm-compatible sequences; # it is used as a status bar in these entries. # # The MacRoman character encoding is used for some of the alternate # characters in the "MacRoman" entries; the "ASCII" (-ascii) entries # rely instead on Terminal.app's own buggy VT100 graphics emulation, # which seems to think the character encoding is the old NeXT charset # instead of MacRoman. # # Terminal.app reports "vt100" as the terminal type, but exports # several environment variables which may aid detection in a shell # profile: # # TERM=vt100 # TERM_PROGRAM=Apple_Terminal # TERM_PROGRAM_VERSION=41 Apple_Terminal-ascii-m|Apple MacOS X Terminal.app v41 w/ASCII charset (monochrome), cols#80, lines#24, bw, am, xenl, hs, msgr, xon, it#8, vt#3, wsl#40, bel=^G, cr=^M, csr=\E[%i%p1%d;%p2%dr, tbc=\E[3g, clear=\E[H\E[J$<50>, el=\E[K$<3>, ed=\E[J$<50>, cup=\E[%i%p1%d;%p2%dH, cud1=^J, home=\E[H, cub1=^H, cuf1=\E[C$<2>, cuu1=\E[A$<2>, dl1=\E[M, dsl=\E]2;\007, smacs=^N, blink=\E[5m$<2>, bold=\E[1m$<2>, rev=\E[7m$<2>, smso=\E[7m$<2>, smul=\E[4m$<2>, rmacs=^O, sgr0=\E[m\017$<2>, rmso=\E[m$<2>, rmul=\E[m$<2>, fsl=^G, il1=\E[L, kbs=\177, kcud1=\EOB, kcub1=\EOD, kcuf1=\EOC, kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, dl=\E[%p1%dM, cud=\E[%p1%dB, il=\E[%p1%dL, cub=\E[%p1%dD, cuf=\E[%p1%dC, cuu=\E[%p1%dA, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, rc=\E8, sc=\E7, ind=^J, ri=\EM$<5>, acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, hts=\EH, ht=^I, tsl=\E]2;, ka1=\EOq, ka3=\EOs, kb2=\EOr, kc1=\EOp, kc3=\EOn, smam=\E[?7h, rmam=\E[?7l, enacs=\E(B\E)0, kent=\EOM, el1=\E[1K$<3>, u8=\E[?1;2c, u9=\E[c, Apple_Terminal-ascii|Apple MacOS X Terminal.app v41 w/ASCII charset (color), use=Apple_Terminal-ascii-m, colors#8, pairs#64, ncv#37, op=\E[37;40m, setaf=\E[3%p1%dm, setab=\E[4%p1%dm, Apple_Terminal-m|Apple MacOS X Terminal.app v41 w/MacRoman charset (monochrome), use=Apple_Terminal-ascii-m, acsc=0#`\327a*f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377, Apple_Terminal|Apple MacOS X Terminal.app v41 w/MacRoman charset (color), use=Apple_Terminal-ascii, acsc=0#`\327a*f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377,