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