home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20888 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mucs!vtx.ma.man.ac.uk!bane
  2. From: bane@vtx.ma.man.ac.uk (Michael!)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: more dumb questions from a dumb beginner
  5. Message-ID: <7131@m1.cs.man.ac.uk>
  6. Date: 7 Jan 93 17:24:43 GMT
  7. References: <1993Jan5.173856.17260@linus.mitre.org> <BUZZ.93Jan6093356@lion.bear.com>
  8. Sender: news@cs.man.ac.uk
  9. Reply-To: bane@vtx.ma.man.ac.uk
  10. Organization: Magic Michael's Mushroom Factory.
  11. Lines: 22
  12.  
  13.  
  14. In article <1993Jan5.173856.17260@linus.mitre.org> jfjr@mbunix.mitre.org (Freedman) writes:
  15. |> >    I am running X11R5 on Sun SPARCS running SunOs4.1.x. I am having a
  16. |> >  great deal of trouble telneting and editing across machines using
  17. |> >  xterm. If I am on machine A, in an xterm and I telnet to machine B and
  18. |> >  attempt to use more, vi, emacs the screen eventually gets screwed up.
  19. |> >   Is this a lost cause? I get the feeling that it is something xterm
  20. |> >  wasn't meant to do. It really doesn't matter what machine I telnet
  21. |> >  into by the way.
  22. |> 
  23. |> telnetting does not "carry across" the connection the terminal type of
  24. |> the local tty.  After you telnet to machine B, you'll find that the $TERM
  25. |> environment variable is "dialup," "network," or similar and that
  26. |>     $ stty -a
  27. |> reports rows = 0 and columns = 0.  more, vi, and emacs depend on these 
  28. |> parameters being set properly or else they garble the screen.
  29. |> 
  30. |> Set "TERM=xterm" and "stty rows xx columns yy" after telnetting to machine B.
  31.  
  32.  
  33.  
  34. why not use rlogin instead of telnet?
  35.