Date: Tue, 26 Aug 1997 08:14:24 -0700 (PDT) From: George Yobst <george@lincc.lib.or.us> To: Chris Coleman <chris@bb.cc.wa.us> Cc: questions@FreeBSD.ORG Subject: Re: set term = vt100 Message-ID: <Pine.BSF.3.95q.970826080847.2217A-100000@lincc.lincc.lib.or.us> In-Reply-To: <Pine.NEB.3.94.970825165312.27572A-100000@bb.cc.wa.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Aug 1997, Chris Coleman wrote: *I get the message "you term of type "dialup" does not have the features to *run 'pine'" I know I can type set term = vt100 to make it work. * *But how to I automate it so that I don't have to type it in by hand, short *of putting that line in the .login script * *What I want is the correct way to make it know that types 'ansi' 'dialup' *and 'unknown' are really 'vt100' and if I used a different type of *connection it would recognize it for what it was. * *maybe like: * *if ($term = ansi) * set term = vt100 *endif * *Would that work, I have tried a few ways, but no luck yet. *Let me know what I am missing. Or should I just put "set term = vt100" *in everybody's .login? * Hi Chris, I've put these lines in the /etc/profile (no .), so it runs for bash and sh shells. The last line has been particulary helpful, when a user logs in and can't run pine, I always ask what their terminal type is. - George set noglob tset -sm :$TERM >> /dev/null unset noglob export TERM=$TERM echo "["$TERM"]" ----------------------------------------------------------------------- George Yobst, System Manager email: george@lincc.lib.or.us LINCC phone: 503-655-8550 16239 SE McLoughlin Blvd, Suite 208 fax: 503-655-8555 Oak Grove, OR 97267-4654 webmaster: [www.]lincc.lib.or.us "...it is impossible for anyone to begin to learn what he thinks he already knows." - Epictetus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970826080847.2217A-100000>