Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 01:21:01 +0800 (WST)
From:      Michael Kennett <mike@laurasia.com.au>
To:        tforrest@mcs.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: term types
Message-ID:  <199911141721.BAA29900@laurasia.com.au>
In-Reply-To: <199911141614.KAA99903@Mailbox.mcs.net> from Tommy Forrest - KE4PYM at "Nov 14, 99 11:14:49 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Tommy,

> Using ksh is there a way I can script my .profile to sence my term
> type?  I need to have vt100 functionality when I telnet into the box
> and when I login using the console, I need that vt100 to go away (it
> severly horks the console when i use vt100).

What about:

   TTY=`tty`
   case `basename $TTY` in
      tty[pqrs]*)  export TERM=vt100 ;;
   esac

Mike Kennett
(mike@laurasia.com.au)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911141721.BAA29900>