Comment 29 for bug 96676

On Sun, Aug 05, 2007 at 08:58:45PM -0000, Izzy wrote:
> gnome
> izzy@nebo:~$ mc
> Unknown terminal: gnome
> Check the TERM environment variable.
> Also make sure that the terminal is defined in the terminfo database.
> Alternatively, set the TERMCAP environment variable to the desired
> termcap entry.

For reference, here's what a current "gnome" looks like in terminfo:

# Reconstructed via infocmp from file: /usr/local/ncurses/lib/terminfo/g/gnome
gnome|GNOME Terminal,
 am, bce, mir, msgr, xenl,
 colors#8, cols#80, it#8, lines#24, pairs#64,
 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
 bel=^G, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[2J,
 cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
 cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
 cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
 cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
 dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
 enacs=\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H,
 hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L,
 ind=^J, is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8,
 kDC=\E[3;2~, kLFT=\EO2D, kRIT=\EO2C, kb2=\E[E, kbs=\177,
 kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
 kdch1=\E[3~, kend=\EOF, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
 kf12=\E[24~, kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R,
 kf16=\EO2S, kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~,
 kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
 kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
 kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf3=\EOR,
 kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
 kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
 kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R,
 kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~,
 kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
 kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf49=\EO3P,
 kf5=\E[15~, kf50=\EO3Q, kf51=\EO3R, kf52=\EO3S,
 kf53=\E[15;3~, kf54=\E[17;3~, kf55=\E[18;3~,
 kf56=\E[19;3~, kf57=\E[20;3~, kf58=\E[21;3~,
 kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, kf61=\EO4P,
 kf62=\EO4Q, kf63=\EO4R, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
 kfnd=\E[1~, khome=\EOH, kich1=\E[2~, kmous=\E[M, knp=\E[6~,
 kpp=\E[5~, kslt=\E[4~, meml=\El, memu=\Em, op=\E[39;49m,
 rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
 rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
 rmso=\E[m, rmul=\E[m, rs1=\Ec,
 rs2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
 sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
 sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;,
 sgr0=\E[0m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
 smir=\E[4h, smkx=\E[?1h\E=, smso=\E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