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

Re: terminal types



on Sun, Apr 22, 2001 at 04:08:38PM -0500, ktb (x.y.f@home.com) wrote:
> On Sun, Apr 22, 2001 at 04:00:03PM -0500, Stephen E. Hargrove wrote:
> > what are my available choices as to terminal types?  when i telnet into a
> > redhat box, it replies that debian-terminal is unknown.  i'd like to set
> > my TERM environment that would let me telnet between different boxes with
> > no problems.  any suggestions?
> > 
> 
> I just stuck this in my ~/.bashrc
> export TERM=xterm

I'd conditionalize this (and assume you're talking about the RH
~/.bashrc):

case $TERM in
    rxvt|<other patterns>) export TERM=xvterm ;;
    *) ;;
esac

...adding to the pattern list as other unknown term types appear.

I'd also file a bug report against Red Hats termcap/terminfo package.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpFSDtYnCam1.pgp
Description: PGP signature


Reply to: