No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Info Item 129: lynx by telnet problem
Entered by carl on Fri Mar 25 12:59:14 UTC 1994:

When I connect by phone to Grex, the lynx program works right.
When I connect by telnet, the lynx program adds a linefeed that
throws off the display.  All other programs work right when I
telnet in...why does lynx do that?

26 responses total.



#1 of 26 by popcorn on Fri Mar 25 15:28:12 1994:

This response has been erased.



#2 of 26 by davel on Fri Mar 25 18:40:48 1994:

Valerie, I *did* check my settings (stty -a or stty all, whichever it is
here).  They were absolutely identical, but vi still gave the same symptoms.
(I didn't see anything in the environment that should relate; I checked
the termcap one, I think.)


#3 of 26 by robh on Sat Mar 26 13:52:21 1994:

Same symptoms here.  My term program only does vt102, not vt100
as Merit insists upon (it won't regognize vt102), could that be
part of it?


#4 of 26 by popcorn on Sat Mar 26 14:17:11 1994:

This response has been erased.



#5 of 26 by carl on Sat Mar 26 16:56:27 1994:

I use Bourne shell.


#6 of 26 by popcorn on Sat Mar 26 21:02:02 1994:

This response has been erased.



#7 of 26 by davel on Sat Mar 26 21:32:59 1994:

I don't have any other way to telnet in, so I do.  (Remmers, who says he
never has these problems, said (on this morning's walk) that he doesn't go
through Gopher.  Hard to see just what difference that should make, but
it would be interesting to know.


#8 of 26 by robh on Sat Mar 26 21:38:21 1994:

I use csh, and I can only telnet in via msu-gopher.


#9 of 26 by davel on Sun Mar 27 01:17:43 1994:

And I use sh.


#10 of 26 by davel on Sun Mar 27 01:22:24 1994:

Is there anyone here who has seen these symptoms & does not telnet in through
Gopher?  Or, if you normally telnet in otherwise & have not seen these
symptoms (but use vt-family emulation, I guess), consider trying the
Gopher route & see what happens.

Hm.  Over the net, I think we've all noticed the lags in character echo
after typing.  Is it possible that cursor-addressing sequences are getting
broken up after the lags & garbled?  Seems unlikely - the symptoms in vi
seem too consistent for this kind of erratic phenomenon.


#11 of 26 by gerund on Sun Mar 27 03:48:35 1994:

The only symptom I have when I connect via msu-gopher is that I can't seem
to send an interrupt to Grex.


#12 of 26 by mju on Sun Mar 27 05:46:06 1994:

I connect to Grex via straight telnet (no MSU-Gopher) and have never
seen this problem.  How do you connect to the MSU Gopher?


#13 of 26 by gerund on Sun Mar 27 05:55:59 1994:

Pretty much like this:

1) Call Merit at 939-3370
2) From Which Host? I type msu-gopher
3) Then I follow the menus to Grex.


#14 of 26 by curby on Sun Mar 27 09:18:04 1994:

I personally have never used the dial-in's here.  I have always used the
internet connection.  But the systoms that you are having seem very
similiar to something that I experienced a few machines ago.  I think I
was on an ultrix or apollo then, and I always seemed to get out of sync
with where my cursor thought it should be, and where it actually was.  I
finally narrowed the problem down to the fact that my term setting was
off.  The emulator program I was using was set up on a windowed
environment, so I could resize my screen to whatever I wanted.  This was
ok, so long as I didn't run a program that uses some sort of screen
manager package (ie curses).  When I did this, and the server machine
didn't realize what size my emulator was set at, it got confused and put
the cursor at the wrong spot.

Uh... I think.

Anyway, to get rid of the problem, first off make sure that you term
setting is correct.  Then make sure that all of the stty settings are the
correct for that setting.  You will most likely find something that is out
of whack.


#15 of 26 by carl on Sun Mar 27 12:26:30 1994:

I call 998-1302, at the Which Host? prompt I type "msu-gopher",
login as gopher, select 13,5,7, and 7, then login here.

That's when lynx doesn't work right.  It may be a curses related
problem.  But I doubt it's my software, since it works perfectly
when I dial direct to Grex.

(Of course my short-term solution is to dial in when possible,
but I'd like to get a faster modem for internet connections and
would want to use the msu-gopher connection to run lynx here.)


#16 of 26 by popcorn on Sun Mar 27 12:32:58 1994:

This response has been erased.



#17 of 26 by popcorn on Sun Mar 27 12:48:51 1994:

This response has been erased.



#18 of 26 by remmers on Sun Mar 27 12:52:44 1994:

Okay, I'm am now logged in via msu-gopher, and was having the same
problems other people were describing -- e.g. parts of a line being
erased during "long" cursor movements, as with the "w" command for
jumping to the next word.  Similar problems in GNU emacs too.  I
never had this problem when dialing or telnetting direct to grex.

I think the problem is with the TAB character.  If vi or emacs
thinks your terminal recognizes tabs, they send out tab characters
to do fast cursor movement.  However, when connected to msu-gopher,
some link in the connection evidently converts tabs to spaces,
resulting in screen erasing.

The solution is to type the command "stty -tabs" right after you
log in.  This tells the tty driver that your terminal can't do
tabs, and then vi, emacs, & friends will never output them.  This
seems to have fixed the problem for me.


#19 of 26 by popcorn on Sun Mar 27 13:31:10 1994:

This response has been erased.



#20 of 26 by gerund on Sun Mar 27 14:07:14 1994:

re#17- I thought it had something to do with the 'lag' time.  I already have
my pager set to more.   Most of the time it's not a problem to not be able
to do the interrupt, but say I do 'last' and then I have to wait like 5 mins
for it to finish displaying.  I know I could do a last | more, but youtend
to forget to do th@at.


#21 of 26 by popcorn on Sun Mar 27 17:48:08 1994:

This response has been erased.



#22 of 26 by remmers on Sun Mar 27 19:45:24 1994:

You could put 

        alias last "\last | more"

in your .cshrc file.  (Or maybe it require two backslashes: \\last)


#23 of 26 by scg on Sun Mar 27 21:08:54 1994:

You can also do last -number, where number si the number of lines you want
it to display.


#24 of 26 by curby on Sun Mar 27 21:23:50 1994:

Hmmm... yup, I tried to go in thru the msu gopher, and I got the same
problem.  Goes to show what happens when you talk before you think. 




#25 of 26 by davel on Sun Mar 27 21:45:48 1994:

I haven't tried   stty -tabs   yet, but *thank* *you*, John!!!!!!!!!!!!!!


#26 of 26 by carl on Mon Mar 28 21:54:02 1994:

I agree with davel.  *Thanks* John!

Response not possible - You must register and login before posting.

No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss