On Wed, Jul 18, 2001 at 03:44:51PM -0400, Louis LeBlanc wrote:
> Well, I'm afraid I don't have any such entry in my termcap file.  I do,
> however, have this one:

sigh - xterm's distribution includes a termcap which can be added (up front)
to the /etc/termcap file.
 
> xterm-color|xterm-co|xterm with ANSI colors:\
>         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=xterm:
> 
> This implies to me that xterm-color _is_ a valid setting.  When I try
> setting TERM="xterm-xfree86" or just xterm-xfree86, I get the
> following:
> 
> Error opening terminal: xterm-xfree86.
> 
> Which implies that xterm-xfree86 is an invalid setting for the TERM
> variable.
> 
> To quote the man xterm:

yes (I note that ``xterm-color'' is not mentioned either)
 
The real answer is this:

infocmp xterm-xfree86 xterm-color

comparing xterm-xfree86 to xterm-color.
    comparing booleans.
        OTbs: F:T.
        bce: T:F.
        mc5i: T:F.
        npc: T:F.
    comparing numbers.
    comparing strings.
        blink: '\E[5m', NULL.
        cbt: '\E[Z', NULL.
        civis: '\E[?25l', NULL.
        cnorm: '\E[?25h', NULL.
        ech: '\E[%p1%dX', NULL.
        el1: '\E[1K', NULL.
        enacs: '\E(B\E)0', '\E)0'.
        flash: '\E[?5h$<100/>\E[?5l', NULL.
        hpa: '\E[%i%p1%dG', NULL.
        ich: '\E[%p1%d@', NULL.
        invis: '\E[8m', NULL.
        is2: '\E[!p\E[?3;4l\E[4l\E>', '\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>'.
        kDC: '\E[3;2~', NULL.
        kEND: '\EO2F', NULL.
        kHOM: '\EO2H', NULL.
        kIC: '\E[2;2~', NULL.
        kLFT: '\EO2D', NULL.
        kNXT: '\E[6;2~', NULL.
        kPRV: '\E[5;2~', NULL.
        kRIT: '\EO2C', NULL.
        kb2: '\EOE', NULL.
        kcbt: '\E[Z', NULL.
        kend: '\EOF', NULL.
        kent: '\EOM', NULL.
        kf1: '\EOP', '\E[11~'.
        kf13: '\EO2P', '\E[25~'.
        kf14: '\EO2Q', '\E[26~'.
        kf15: '\EO2R', '\E[28~'.
        kf16: '\EO2S', '\E[29~'.
        kf17: '\E[15;2~', '\E[31~'.
        kf18: '\E[17;2~', '\E[32~'.
        kf19: '\E[18;2~', '\E[33~'.
        kf2: '\EOQ', '\E[12~'.
        kf20: '\E[19;2~', '\E[34~'.
        kf21: '\E[20;2~', NULL.
        kf22: '\E[21;2~', NULL.
        kf23: '\E[23;2~', NULL.
        kf24: '\E[24;2~', NULL.
        kf25: '\EO5P', NULL.
        kf26: '\EO5Q', NULL.
        kf27: '\EO5R', NULL.
        kf28: '\EO5S', NULL.
        kf29: '\E[15;5~', NULL.
        kf3: '\EOR', '\E[13~'.
        kf30: '\E[17;5~', NULL.
        kf31: '\E[18;5~', NULL.
        kf32: '\E[19;5~', NULL.
        kf33: '\E[20;5~', NULL.
        kf34: '\E[21;5~', NULL.
        kf35: '\E[23;5~', NULL.
        kf36: '\E[24;5~', NULL.
        kf37: '\EO6P', NULL.
        kf38: '\EO6Q', NULL.
        kf39: '\EO6R', NULL.
        kf4: '\EOS', '\E[14~'.
        kf40: '\EO6S', NULL.
        kf41: '\E[15;6~', NULL.
        kf42: '\E[17;6~', NULL.
        kf43: '\E[18;6~', NULL.
        kf44: '\E[19;6~', NULL.
        kf45: '\E[20;6~', NULL.
        kf46: '\E[21;6~', NULL.
        kf47: '\E[23;6~', NULL.
        kf48: '\E[24;6~', NULL.
        kfnd: NULL, '\E[1~'.
        khome: '\EOH', NULL.
        kslt: NULL, '\E[4~'.
        mc0: '\E[i', NULL.
        mc4: '\E[4i', NULL.
        mc5: '\E[5i', NULL.
        op: '\E[39;49m', '\E[m'.
        rmam: '\E[?7l', NULL.
        rmcup: '\E[?1049l', '\E[2J\E[?47l\E8'.
        rmso: '\E[27m', '\E[m'.
        rmul: '\E[24m', '\E[m'.
        rs1: '\Ec', NULL.
        rs2: '\E[!p\E[?3;4l\E[4l\E>', '\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>'.
        setb: 
'\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m', NULL.
        setf: 
'\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m', NULL.
        sgr: 
'\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;',
 NULL.
        sgr0: '\E[m\017', '\E[m'.
        smam: '\E[?7h', NULL.
        smcup: '\E[?1049h', '\E7\E[?47h'.
        vpa: '\E[%i%p1%dd', NULL.

>        Termcap(5) entries that work with xterm include
>        ``xterm,'' ``vt102,'' ``vt100'' and  ``ansi,''  and  xterm
>        automatically  searches the termcap file in this order for
>        these entries and then sets the ``TERM'' and  the  ``TERM-
>        CAP''  environment variables.
> 
> and:
> 
> -tn name
>                This option specifies the  name  of  the  terminal
>                type  to  be set in the TERM environment variable.
>                This terminal type must exist  in  the  termcap(5)
>                database and should have li# and co# entries.
> 
> So . . .
> 
> What am I to do?  If xterm-color works and xterm-xfree86 does not, why
> shouldn't I use xterm-color?  I know why I shouldn't use xterm-xfree86
> - it just won't work :)
> 
> BTW, the info I have included here applies to my FreeBSD system.
> I still get color with TERM=xterm on Mandrake - which does have the
> xterm-xfree86 entry.  I suspect this whole thing really just boils
> down to whats in the termcap.
> 
> In search of enlightenment . . .
> 
> On 07/18/01 12:32 PM, Thomas E. Dickey sat at the `puter and typed:
> > On Wed, 18 Jul 2001, Fox Mulder wrote:
> > > i am new to this list. what will be the right setting fot xf86 if it is not
> > > xterm-color? it seems to be working fine for me..
> > 
> > "xterm-xfree86"
> 
> -- 
> Louis LeBlanc       [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://acadia.ne.mediaone.net                 ԿԬ
> 
> Matz's Law:
>   A conclusion is the place where you got tired of thinking.

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

Reply via email to