# xnuppc - Darwin PowerPC/Mac OS X Console (a.k.a. "darwin") # $Id: xnuppc.ti,v 1.32 2009/11/18 04:44:52 bsittler Exp bsittler $ # # On Intel and PowerPC platforms, Apple's Darwin operating system and # Mac OS X use a full-screen system console derived from a NetBSD # framebuffer console. It is an ANSI-style terminal, and is not really # VT100 compatible. It may be related to the older Mach consoles # described in the "mach" and "mach-color" entries. # # Under Mac OS X (both PowerPC and Intel), this is the system console # driver used while in single-user mode [reachable by holding down # Command-S during the boot process] and when logged in using console # mode [reachable by typing ">console" at the graphical login prompt.] # # If you're looking for a description of the Terminal.app terminal # emulator which runs under the Mac OS X Quartz windowing system, see # the "nsterm" entry instead. # # NOTE: Under Mac OS X version 10.4, you'll need to enable the # password dialog inside the System Preferences | Accounts | Login # Options panel by disabling the "Automatically log in as" option and # setting the "Display login window as" option to "Name and password" # # NOTE: Under Mac OS X version 10.1, the default login window does not # prompt for user name, instead requiring an icon to be selected from # a list of known users. Since the special ">console" login is not in # this list, you must make one of two changes in the Login Window # panel of the Login section of System Prefs to make the special # ">console" login accessible. The first option is to enable 'Show # "Other User" in list for network users', which will add a special # "Other..." icon to the graphical login panel. Selecting "Other..." # will present the regular graphical login prompt. The second option # is to change the 'Display Login Window as:' setting to 'Name and # password entry fields', which replaces the login panel with a # graphical login prompt. # # There are no function keys, at least not in Darwin 1.3 through # 8.11.1. # # It has no mouse support. # # It has full ANSI color support, and color combines correctly with # all three supported attributes: bold, inverse-video and underline. # However, bold colored text is almost unreadable (bolding is # accomplished using shifting and or-ing, and looks smeared) so bold # has been excluded from the list of color-compatible attributes # [using (ncv)]. The monochrome entry (-m) is useful if you use a # monochrome monitor. # # There is one serious bug with this terminal emulation's color # support: repositioning the cursor onto a cell with non-matching # colors obliterates that cell's contents, replacing it with a blank # and displaying a colored cursor in the "current" colors. There is # no complete workaround at present [other than using the monochrome # (-m) entries,] but removing the (msgr) capability seemed to help. # # The "standout" chosen was simple reverse-video, although a colorful # standout might be more aesthetically pleasing. Similarly, the bold # chosen is the terminal's own smeared bold, although a simple # color-change might be more readable. The color-bold (-b) entries # uses magenta colored text for bolding instead. The fancy color (-f # and -f2) entries use color for bold, standout and underlined text # (underlined text is still underlined, though.) # # Apparently the terminal emulator does support a VT100-style # alternate character set, but all the alternate character set # positions have been left blank in the font. For this reason, no # alternate character set capabilities have been included in this # description. The console driver appears to be ASCII-only, so (enacs) # has been excluded [although the VT100 sequence does work.] # It is possible to add VT100 alternate character set support to a # running kernel at boot time; for details see: # # http://xent.com/~bsittler/mach_acs # # If you have added alternate character set to your kernel, use a # "-acs" variants. # # The default Mac OS X and Darwin installation reports "vt100" as the # terminal type, and exports no helpful environment variables. To fix # this, change the "console" entry in /etc/ttys from "vt100" to # "xnuppc-WxH", where W and H are the character dimensions of your # console (see below.) # # The font used by the terminal emulator is apparently one originally # drawn by Ka-Ping Yee and subsequently modified by Apple, and uses # 8x16-pixel characters. This file includes descriptions for the # following geometries: # # Pixels Characters Entry Name (append -m for monochrome) # ------------------------------------------------------------------- # 640x400 80x25 xnuppc-80x25 # 640x480 80x30 xnuppc-80x30 # 720x480 90x30 xnuppc-90x30 # 800x600 100x37 xnuppc-100x37 # 896x600 112x37 xnuppc-112x37 # 1024x640 128x40 xnuppc-128x40 # 1024x768 128x48 xnuppc-128x48 # 1152x768 144x48 xnuppc-144x48 # 1280x1024 160x64 xnuppc-160x64 # 1600x1024 200x64 xnuppc-200x64 # 1600x1200 200x75 xnuppc-200x75 # 2048x1536 256x96 xnuppc-256x96 # # The basic "xnuppc" entry includes no size information, and the # emulator includes no reporting capability, so you'll be at the mercy # of the TTY device (which reported incorrectly in older versions, cut # seems to work fine now.) The color-bold and VT100 alternate character set # entries do not include size information. # The '+' entries are building blocks xnuppc+basic|Darwin PowerPC/Mac OS X Console basic capabilities, am, xenl, mir, it#8, cr=^M, .msgr, csr=\E[%i%p1%d;%p2%dr, tbc=\E[3g, clear=\E[H\E[J, el=\E[K, ed=\E[J, cup=\E[%i%p1%d;%p2%dH, cud1=\E[B, home=\E[H, cub1=\E[D, cuf1=\E[C, cuu1=\E[A, dsl=\E]2;\007, bold=\E[1m, rev=\E[7m, smso=\E[7m, smul=\E[4m, sgr0=\E[m\017, rmso=\E[m, rmul=\E[m, kbs=\177, kcud1=\EOB, kcub1=\EOD, kcuf1=\EOC, kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, cud=\E[%p1%dB, 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, sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, hts=\EH, ht=^I, ka1=\EOq, ka3=\EOs, kb2=\EOr, kc1=\EOp, kc3=\EOn, smam=\E[?7h, rmam=\E[?7l, el1=\E[1K, xnuppc+acs|Darwin PowerPC/Mac OS X Console VT100 alternate charset support, acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, enacs=\E(B\E)0, rmacs=^O, sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;, smacs=^N, use=xnuppc+basic, xnuppc+c|Darwin PowerPC/Mac OS X Console ANSI color support, colors#8, pairs#64, ncv#32, op=\E[37;40m, setaf=\E[3%p1%dm, setab=\E[4%p1%dm, bce, xnuppc+b|Darwin PowerPC/Mac OS X Console color-bold support, sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, ncv#32, bold=\E[35m, use=xnuppc+basic, xnuppc+b+acs|Darwin PowerPC/Mac OS X Console color-bold support, sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;, ncv#32, bold=\E[35m, use=xnuppc+acs, xnuppc+f|Darwin PowerPC/Mac OS X Console fancy color support, sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%p3%t;7%;m, ncv#35, smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b, xnuppc+f+acs|Darwin PowerPC/Mac OS X Console fancy color support, sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%p3%t;7%;m%?%p9%t\016%e\017%;, ncv#35, smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b+acs, xnuppc+f2|Darwin PowerPC/Mac OS X Console alternate fancy color support, sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%p3%t;7%;m, ncv#35, smso=\E[31;47m, smul=\E[34m, bold=\E[33m, use=xnuppc+basic, xnuppc+f2+acs|Darwin PowerPC/Mac OS X Console alternate fancy color support, sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%p3%t;7%;m%?%p9%t\016%e\017%;, ncv#35, smso=\E[31;47m, smul=\E[34m, bold=\E[33m, use=xnuppc+acs, # Building blocks for specific screen sizes xnuppc+80x25|Darwin PowerPC/Mac OS X Console 80x25 support (640x400 pixels), cols#80, lines#25, xnuppc+80x30|Darwin PowerPC/Mac OS X Console 80x30 support (640x480 pixels), cols#80, lines#30, xnuppc+90x30|Darwin PowerPC/Mac OS X Console 90x30 support (720x480 pixels), cols#90, lines#30, xnuppc+100x37|Darwin PowerPC/Mac OS X Console 100x37 support (800x600 pixels), cols#100, lines#37, xnuppc+112x37|Darwin PowerPC/Mac OS X Console 112x37 support (896x600 pixels), cols#112, lines#37, xnuppc+128x40|Darwin PowerPC/Mac OS X Console 128x40 support (1024x640 pixels), cols#128, lines#40, xnuppc+128x48|Darwin PowerPC/Mac OS X Console 128x48 support (1024x768 pixels), cols#128, lines#48, xnuppc+144x48|Darwin PowerPC/Mac OS X Console 144x48 support (1152x768 pixels), cols#144, lines#48, xnuppc+160x64|Darwin PowerPC/Mac OS X Console 160x64 support (1280x1024 pixels), cols#160, lines#64, xnuppc+200x64|Darwin PowerPC/Mac OS X Console 200x64 support (1600x1024 pixels), cols#200, lines#64, xnuppc+200x75|Darwin PowerPC/Mac OS X Console 200x75 support (1600x1200 pixels), cols#200, lines#75, xnuppc+256x96|Darwin PowerPC/Mac OS X Console 256x96 support (2048x1536 pixels), cols#256, lines#96, # These are different combinations of the building blocks xnuppc-m|darwin-m|Darwin PowerPC/Mac OS X Console (monochrome), use=xnuppc+basic, xnuppc|darwin|Darwin PowerPC/Mac OS X Console (color), use=xnuppc+c, use=xnuppc+basic, xnuppc-m-b|darwin-m-b|Darwin PowerPC/Mac OS X Console (monochrome w/color-bold), use=xnuppc+b, xnuppc-b|darwin-b|Darwin PowerPC/Mac OS X Console (color w/color-bold), use=xnuppc+b, use=xnuppc+c, xnuppc-m-f|darwin-m-f|Darwin PowerPC/Mac OS X Console (fancy monochrome), use=xnuppc+f, xnuppc-f|darwin-f|Darwin PowerPC/Mac OS X Console (fancy color), use=xnuppc+f, use=xnuppc+c, xnuppc-m-f2|darwin-m-f2|Darwin PowerPC/Mac OS X Console (alternate fancy monochrome), use=xnuppc+f2, xnuppc-f2|darwin-f2|Darwin PowerPC/Mac OS X Console (alternate fancy color), use=xnuppc+f2, use=xnuppc+c, # The smae combinations, with a working VT100 alternate character set xnuppc-acs-m|darwin-acs-m|Darwin PowerPC/Mac OS X Console (monochrome w/VT100 alternate character set), use=xnuppc+acs, xnuppc-acs|darwin-acs|Darwin PowerPC/Mac OS X Console (color w/VT100 alternate character set), use=xnuppc+c, use=xnuppc+acs, xnuppc-m-b-acs|darwin-m-b-acs|Darwin PowerPC/Mac OS X Console (monochrome w/color-bold and VT100 alternate character set), use=xnuppc+b+acs, xnuppc-b-acs|darwin-b-acs|Darwin PowerPC/Mac OS X Console (color w/color-bold and VT100 alternate character set), use=xnuppc+b+acs, use=xnuppc+c, xnuppc-m-f-acs|darwin-m-f-acs|Darwin PowerPC/Mac OS X Console (fancy monochrome w/VT100 alternate character set), use=xnuppc+f+acs, xnuppc-f-acs|darwin-f-acs|Darwin PowerPC/Mac OS X Console (fancy color w/VT100 alternate character set), use=xnuppc+f+acs, use=xnuppc+c, xnuppc-m-f2-acs|darwin-m-f2-acs|Darwin PowerPC/Mac OS X Console (alternate fancy monochrome w/VT100 alternate character set), use=xnuppc+f2+acs, xnuppc-f2-acs|darwin-f2-acs|Darwin PowerPC/Mac OS X Console (alternate fancy color w/VT100 alternate character set), use=xnuppc+f2+acs, use=xnuppc+c, # Combinations for specific screen sizes xnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC/Mac OS X Console (monochrome) 80x25, use=xnuppc+80x25, use=xnuppc+basic, xnuppc-80x25|darwin-80x25|Darwin PowerPC/Mac OS X Console (color) 80x25, use=xnuppc+c, use=xnuppc+80x25, use=xnuppc+basic, xnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC/Mac OS X Console (monochrome) 80x30, use=xnuppc+80x30, use=xnuppc+basic, xnuppc-80x30|darwin-80x30|Darwin PowerPC/Mac OS X Console (color) 80x30, use=xnuppc+c, use=xnuppc+80x30, use=xnuppc+basic, xnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC/Mac OS X Console (monochrome) 90x30, use=xnuppc+90x30, use=xnuppc+basic, xnuppc-90x30|darwin-90x30|Darwin PowerPC/Mac OS X Console (color) 90x30, use=xnuppc+c, use=xnuppc+90x30, use=xnuppc+basic, xnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC/Mac OS X Console (monochrome) 100x37, use=xnuppc+100x37, use=xnuppc+basic, xnuppc-100x37|darwin-100x37|Darwin PowerPC/Mac OS X Console (color) 100x37, use=xnuppc+c, use=xnuppc+100x37, use=xnuppc+basic, xnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC/Mac OS X Console (monochrome) 112x37, use=xnuppc+112x37, use=xnuppc+basic, xnuppc-112x37|darwin-112x37|Darwin PowerPC/Mac OS X Console (color) 112x37, use=xnuppc+c, use=xnuppc+112x37, use=xnuppc+basic, xnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC/Mac OS X Console (monochrome) 128x40, use=xnuppc+128x40, use=xnuppc+basic, xnuppc-128x40|darwin-128x40|Darwin PowerPC/Mac OS X Console (color) 128x40, use=xnuppc+c, use=xnuppc+128x40, use=xnuppc+basic, xnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC/Mac OS X Console (monochrome) 128x48, use=xnuppc+128x48, use=xnuppc+basic, xnuppc-128x48|darwin-128x48|Darwin PowerPC/Mac OS X Console (color) 128x48, use=xnuppc+c, use=xnuppc+128x48, use=xnuppc+basic, xnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC/Mac OS X Console (monochrome) 144x48, use=xnuppc+144x48, use=xnuppc+basic, xnuppc-144x48|darwin-144x48|Darwin PowerPC/Mac OS X Console (color) 144x48, use=xnuppc+c, use=xnuppc+144x48, use=xnuppc+basic, xnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC/Mac OS X Console (monochrome) 160x64, use=xnuppc+160x64, use=xnuppc+basic, xnuppc-160x64|darwin-160x64|Darwin PowerPC/Mac OS X Console (color) 160x64, use=xnuppc+c, use=xnuppc+160x64, use=xnuppc+basic, xnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC/Mac OS X Console (monochrome) 200x64, use=xnuppc+200x64, use=xnuppc+basic, xnuppc-200x64|darwin-200x64|Darwin PowerPC/Mac OS X Console (color) 200x64, use=xnuppc+c, use=xnuppc+200x64, use=xnuppc+basic, xnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC/Mac OS X Console (monochrome) 200x75, use=xnuppc+200x75, use=xnuppc+basic, xnuppc-200x75|darwin-200x75|Darwin PowerPC/Mac OS X Console (color) 200x75, use=xnuppc+c, use=xnuppc+200x75, use=xnuppc+basic, xnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC/Mac OS X Console (monochrome) 256x96, use=xnuppc+256x96, use=xnuppc+basic, xnuppc-256x96|darwin-256x96|Darwin PowerPC/Mac OS X Console (color) 256x96, use=xnuppc+c, use=xnuppc+256x96, use=xnuppc+basic, # $Log: xnuppc.ti,v $ # Revision 1.32 2009/11/18 04:44:52 bsittler # added a note about mach/mach_color. # # Revision 1.31 2008/01/12 19:01:16 bsittler # cleanup # # Revision 1.30 2008/01/12 18:55:01 bsittler # more info on reaching the console (tested in 10.4) # # Revision 1.29 2008/01/12 18:48:22 bsittler # these days, Quartz is the only place Terminal.app runs. AFAIK. # # Revision 1.28 2008/01/12 18:46:19 bsittler # minor comment cleanup # # Revision 1.27 2008/01/12 07:55:50 bsittler # acs! # # Revision 1.26 2008/01/12 07:52:48 bsittler # *** empty log message *** # # Revision 1.25 2004/01/08 18:20:43 bsittler # Updated comment about the font; it turns out Apple modified a few # characters relative to Ka-Ping Yee's original font, including the # letters A and V -- but it still looks pretty good. # # Revision 1.24 2001/12/23 00:11:57 bsittler # moved into xnuppc+c from xnuppc+m # # Revision 1.23 2001/12/12 22:13:45 bsittler # switched back to "delete" for on Apple keyboards # # Revision 1.22 2001/12/12 20:34:48 bsittler # Swapped and , which I'll probably regret # at some point. This means ASCII BS deletes forward, and # ASCII DEL deletes backward! # # Revision 1.21 2001/12/10 01:38:25 bsittler # fixed some termcap-vs.-terminfo syntax in the comments # # Revision 1.20 2001/12/10 01:27:50 bsittler # switched kbs to shift-delete, and kdch1 to delete. # it's slightly inconvenient, but more correct. # # Revision 1.19 2001/11/14 18:14:06 bsittler # re-added msgr, but commented out # # Revision 1.18 2001/11/13 23:28:45 bsittler # added a note on finding the login prompt under Mac OS X 10.1 # # Revision 1.17 2001/11/13 20:03:55 bsittler # Re-removed (msgr). Ick. # # Revision 1.16 2001/11/13 19:58:55 bsittler # re-added (msgr), since removing it seemed to cause other undesirable # side-effects # # Revision 1.15 2001/11/13 19:39:58 bsittler # Removed (msgr) in an attempt to work around the "deadly red cursor" bug # # Revision 1.14 2001/11/13 05:23:38 bsittler # added alternate fancy color (-f2) entries; # these use yellow for bold, blue for underline, and # red on white for standout # # Revision 1.13 2001/11/12 20:22:25 bsittler # added docs for fancy color (-f) entries # # Revision 1.12 2001/11/12 20:18:03 bsittler # Improved the color-bold entries (by correcting sgr) and # added new fancy entries with color-bold, color-underline and # color-standout. # # Revision 1.11 2001/11/03 23:04:23 bsittler # added color-bold (-b) entries # # Revision 1.10 2001/09/23 06:46:45 bsittler # Reordered use= entries to reflect last-highest precedence # # Revision 1.9 2001/07/18 21:13:32 bsittler # added "darwin" aliases # # Revision 1.8 2001/07/13 00:23:22 bsittler # renamed nsterminal to nsterm to work around Solaric tic inadequacies # # Revision 1.7 2001/07/12 23:32:01 bsittler # fixed left-over reference to terminal.app to refer to nsterminal instead # # Revision 1.6 2001/07/12 23:29:07 bsittler # added missing sizes # # Revision 1.5 2001/07/12 21:28:12 bsittler # renamed to xnuppc, which is more accurate # # Revision 1.4 2001/07/11 18:27:23 bsittler # Added RCS tags #