Re: Xterm and .Xresources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Storm,

> > > I found that if I export TERM=vt220 that most keys do work
> > 
> > If you start an xterm(1) and find TERM is `xterm' then I'd leave it
> > alone.
>
> My TERM reports as Linux. Should I export it as xterm?

xterm(1) says

    Terminal database (terminfo (5) or termcap (5)) entries that work
    with xterm include

        an optional platform-specific entry (“xterm”),
        “xterm”,
        “vt102”,
        “vt100”,
        “ansi” and
        “dumb”

    Xterm automatically searches the terminal database in this order for
    these entries and then sets the “TERM” variable (and the “TERMCAP”
    environment variable on a few older systems).  The alternatives
    after “xterm” are very old, from the late 1980s.

So presumably something in your set up, e.g. .bash_profile, is setting
it to ‘Linux’.  Yes, set it to ‘xterm’.

I'd also expect you to have /usr/share/terminfo/x/xterm-256color that
means it can alternatively be set to ‘xterm-256color’.

-- 
Cheers, Ralph.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux