* pts terminal
@ 2000-10-10 4:00 Marble Head
2000-10-10 4:00 ` Michal Jaegermann
0 siblings, 1 reply; 3+ messages in thread
From: Marble Head @ 2000-10-10 4:00 UTC (permalink / raw)
I have a machine running Debian linux.
I make a getty on serial port ttyS0, and connect through it, and
everything works normal.
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.
I make a ssh connection, and it says "warning: need basic cursor
movement, using vt100" It seems to work alright anyway. That is, when
I have the availability of ssh. I still want telnet to work too.
Any help?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pts terminal
2000-10-10 4:00 pts terminal Marble Head
@ 2000-10-10 4:00 ` Michal Jaegermann
2000-10-11 4:00 ` Marble Head
0 siblings, 1 reply; 3+ messages in thread
From: Michal Jaegermann @ 2000-10-10 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pts terminal
2000-10-10 4:00 ` Michal Jaegermann
@ 2000-10-11 4:00 ` Marble Head
0 siblings, 0 replies; 3+ messages in thread
From: Marble Head @ 2000-10-11 4:00 UTC (permalink / raw)
Well, I now have some more info, too.
According to all deductive reasoning I can find, all possible problems are
eliminated, but the problem still exists. Hrmmm.....
#1 possibility, the problem is in the server machine.
To test this, I connect from client A and get a problem. I connect from
client B using the same software, and get no problem.
Conclusion: Problem is not in the server machine.
#2 possiblity, the problem is in the client A machine.
To test this, I use the terminal app to connect through TCP/IP, and get a
problem. I use the same app to connect through serial port, and get no
problem.
Conclusion: Problem is not in the client A machine.
Hmm.... By process of elimination, the problem must be..... A goblin.
Perhaps I did the wrong rain dance or something.
Seriously though, I think the app on machine A must have some subtle
difference from the app on machine B, so I'll try reinstalling the app, and
comparing config files.
Michal Jaegermann wrote:
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-10-11 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-10 4:00 pts terminal Marble Head
2000-10-10 4:00 ` Michal Jaegermann
2000-10-11 4:00 ` Marble Head
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox