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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!bu.edu!news.tufts.edu!news.tufts.edu!gtaylor
  2. From: gtaylor@jade.tufts.edu (Grant Taylor)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: more dumb questions from a dumb beginner
  5. Message-ID: <GTAYLOR.93Jan7212003@jade.tufts.edu>
  6. Date: 8 Jan 93 02:20:17 GMT
  7. References: <1993Jan5.173856.17260@linus.mitre.org> <BUZZ.93Jan6093356@lion.bear.com>
  8. Sender: news@news.tufts.edu (USENET News System)
  9. Organization: Tufts University - Medford, MA
  10. Lines: 34
  11. In-Reply-To: buzz@bear.com's message of 6 Jan 93 14:33:56 GMT
  12.  
  13. In article <BUZZ.93Jan6093356@lion.bear.com> buzz@bear.com (Buzz Moschetti) writes:
  14.  
  15.    In article <1993Jan5.173856.17260@linus.mitre.org> jfjr@mbunix.mitre.org (Freedman) writes:
  16.    >    I am running X11R5 on Sun SPARCS running SunOs4.1.x. I am having a
  17.    >  great deal of trouble telneting and editing across machines using
  18.    >  xterm. If I am on machine A, in an xterm and I telnet to machine B and
  19.    >  attempt to use more, vi, emacs the screen eventually gets screwed up.
  20.    >   Is this a lost cause? I get the feeling that it is something xterm
  21.    >  wasn't meant to do. It really doesn't matter what machine I telnet
  22.    >  into by the way.
  23.  
  24.    telnetting does not "carry across" the connection the terminal type of
  25.    the local tty.  After you telnet to machine B, you'll find that the $TERM
  26.    environment variable is "dialup," "network," or similar and that
  27.        $ stty -a
  28.    reports rows = 0 and columns = 0.  more, vi, and emacs depend on these 
  29.    parameters being set properly or else they garble the screen.
  30.  
  31.    Set "TERM=xterm" and "stty rows xx columns yy" after telnetting to machine B.
  32.  
  33. more conviniently, you can put `eval "`resize`"' in your .login or .(t)cshrc 
  34. or what have you, this little utility queries your terminal for size info and
  35. sets variables correctly.  resize is one of those silly little utilities no
  36. one notices until it gets pointed out, it comes with X11, openwin3, and 
  37. presumably most other X distributions...
  38.  
  39.  
  40. --
  41. -grant
  42.  
  43. +--------------------------------------------------------------------+
  44.    grant taylor                              gtaylor@jade.tufts.edu
  45. +--------------------------------------------------------------------+
  46. ----------->if vms is the original virus, what is msdos?<-------------
  47.