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

Re: How to properly set TERM variable

> > Note that, as things stand now, in hamm there is no xterm-color.
> > /etc/terminfo/x/xterm includes the color definition, and there is a
> > /usr/share/terminfo/x/xterm-old.[1]  (There are also color_xterm,

Has anyone found a way for the TERM setters to determine whether or not an
xterm can do color xterm stuff?  For example,  I ssh into my linux box a
lot from Sun machines,  which set TERM=xterm.  But the sun xterms can't
handle color xterm stuff,  and therefore it needs to be set
TERM=xterm-old.  But I haven't found a way for .bashrc to tell the
difference between these sun boxes and other machines that CAN to
xterm-color stuff,  so I have to do it by hand.


|             harpo@udel.edu lowe@cis.udel.edu lowe@debian.org           |
|			http://www.cis.udel.edu/~lowe/		         |
|               	So don't beg,  and don't plead.                  |
|                   You can't have the heart you make bleed.             |
|                    -- The Beautiful South,  "Love is..."               |

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: