From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,aaf019573db90691 X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: pts terminal Date: 2000/10/10 Message-ID: <8rvuik$g1o$1@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 679878546 References: <39E33546.29F5061F@nospam.guacamole.com> Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha 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