# console
linux|console|cons25|console:\
	:Ct=QWERTY8:\
	:Cs=:Ce=:\
	:m3=\E[m\E[1m:\
	:gs=\E[1m:ge=\E[0m:\
	:gt=\235\253\272\230\232\214\234\236\211\231\277\213\53\203\203\203:\
	:do=^J:co#80:li#25:cl=\E[H\E[J:sf=\ED:sb=\EM:\
	:le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
	:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[m:\
	:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:is=\E[1;25r\E[25;1H\E[?31h:\
	:ll=\E[1;25r\E[25;1H:al=\E[L:dc=\E[P:dl=\E[M:\
	:it#8:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:ti=\E[r\E[H:\
	:ho=\E[H:kP=\E[5~:kN=\E[6~:kH=\E[4~:kh=\E[1~:kD=\E[3~:kI=\E[2~:\
	:f.=\E[23~:f-=\E[24~:\
	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:K1=\E[23~:K2=\E[24~:\
	:K4=\E[4~:K5=\E[6~:\
	:pt:sr=\EM:vt#3:xn:km:bl=^G:vi=\E[?25l:ve=\E[?25h\E[212m:vs=\E[?25h\E[340m:\
	:CY:Cs=:Ce=:Ct=/usr/lib/red/QWERTY8:\
	:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:Cf=vt:

# vt100
vt|vt100:\
	:Ct=QWERTY8:xn:\
	:m3=\E[m\E[1m:\
	:gs=\E[1m:ge=\E[m:\
	:gt=\235\253\272\230\232\214\234\236\211\231\277\213\53\203\203\203:\
	:hR=/usr/lib/red/220ix:\
	:CY:Cs=:Ce=:Ct=/usr/lib/red/QWERTY8:\
	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
	:c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d@:\
	:DC=\E[%dP:nw=\E[E:le=\E[D:mb=\E[5m:mr=\E[7m:md=\E[1m:me=\E[10m\E[m:\
	:mk=\E[8m:gs=\E[12m:ge=\E[10m:\
	:f1=\E[M:f2=\E[N:f3=\E[O:f4=\E[P:f5=\E[Q:f6=\E[R:\
	:f7=\E[S:f8=\E[T:f9=\E[U:f0=\E[V:f.=\E[W:f-=\E[X:\
	:kI=\E[L:kB=\E[Z:kD=\177:kH=\E[F:kN=\E[G:kP=\E[I:kh=\E[H:\
	:C2:Nf#16:Nb#16:Co=\E[2;%d;%dm:\
	:Cf=\E[2;%d;%dm:

# This entry is designed for XFree86 version 3.1.2E.
# It is *way* more featureful than the stock X consortium entry (has <acsc>,
# for starters -- note that this only works for some fonts, including the
# `fixed' series).  The <kmous> key is actually the \E[M prefix returned by
# xterm's internal mouse-tracking facility; ncurses will interpret the
# following three bytes of mouse status information.
# From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
# Updated: T.Dickey <dickey@clark.net> 12 May 1996, for XFree86 3.1.2E
# (untranslatable capabilities removed to fit entry within 1023 bytes)
# (sgr removed to fit entry within 1023 bytes)
# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
xterm-color|xterm terminal emulator (XFree86 3.1.2E and above):\
	:am:km:mi:ms:xn:\
	:co#80:it#8:li#65:\
	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
	:K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
	:ho=\E[H:ic=\E[@:im=\E[4h:\
	:is=\E[r\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l\E[4l:\
	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
	:kD=\177:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
	:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
	:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
	:Cf=vt:CY:Cs=:Ce=:Ct=/usr/lib/red/QWERTY8:\
	:vs=\E[?25h:

# Here's another way to choose the xterm version for your stock xterm.
# The xterm-color choice is unabashedly biased towards up-to-date free-UNIX
# systems (Linux, netBSD, freeBSD) running XFree86 3.1.2E or later. If you
# have an older version of xterm, you probably want to use use xterm-x11r6
# instead.  If you need to use x10term you'll be all too painfully aware of it.
#xterm|vs100|xterm terminal emulator (X11R6 Window System):\
#	 :tc=xterm-color:


# Compatible with the R6 xterm
# (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
xterm|xterm-r6|xterm-old|xterm X11R6 version:\
	:am:bs:km:mi:ms:xn:\
	:co#80:it#8:li#24:\
	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
	:FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
	:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
	:mr=\E[7m:mu=\Em:nd=\E[C:\
	:r2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:rc=\E8:\
	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
	:CY:Cs=:Ce=:Ct=/usr/lib/red/QWERTY8:\
	:us=\E[4m:
