Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: pts terminal
Date: 2000/10/10	[thread overview]
Message-ID: <8rvuik$g1o$1@pulp.srv.ualberta.ca> (raw)
In-Reply-To: 39E33546.29F5061F@nospam.guacamole.com

Marble Head (Marble.Head@nospam.guacamole.com) wrote:

: I make a telnet connection through ethernet, and the terminal doesn't
: work quite right.  If I try to use man, or lynx or something that
: formats the look of the screen, it complains about...  (I forget the
: exact error message) not fully functional terminal.

Type 'setterm vt100'.  

It looks like that your setup is not very careful about how it
sets its terminals.  You can do that in your startup files (say,
include from /etc/profile).   Here is one example how you are doing
such things:

if [ "$TERM" = "" -o "$TERM" = "unknown" -o \
 "`echo $TERM | cut -b1-3`" = "con" ]; then
 TERM=linux
fi
mytty=`tty`
if [ "$LOG_TERM" != "$TERM" ] ; then
   if [ -n "$mytty" ] ; then
       if expr "$mytty" : '/dev/ttyS' >/dev/null ; then
            eval `tset -s -Q -m :?vt100`
            unset LINES
            unset TERMCAP
       fi
   fi
   [ "$TERM" = vt100-am ] && TERM=vt100
   export LOG_TERM=$TERM
fi
[ "$TERM" = vt100-am ] && TERM=vt100
[ $mytty ] && unset mytty

Adjust to your needs and a taste.

   Michal




  reply	other threads:[~2000-10-10  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-10  4:00 pts terminal Marble Head
2000-10-10  4:00 ` Michal Jaegermann [this message]
2000-10-11  4:00   ` Marble Head
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox