fmbutt@mrbt.sw.stratus.com (Farooq Butt) (05/28/90)
X-perts: here is an easy one for you.... I run X11R4 on my Sun 3/60 and am having the weirdest problem getting xterm to work properly via telnet. When I use telnet to get to a random host, I find that my screen get wedged if I use curses-type stuff, I cannot use simple programs like "more" or "vi" and that *ANY* screen mgt. type stuff I do simply screws up my screen royally. However, if I "rlogin" or "rsh" to connect to the very same hosts, "vi", "more" etc. work great and my screen is fine. Telnet is somehow not liking my xterm windows very much.... What's th' deal with telnet & xterm ? Am I doing something dreadfully wring ? Why do the "r" tools work but telnet doesn't ???? I thought that this one was going to be simple, but I am about ready to climb the walls.....grrrr.... Any help sincerely apreciated, Farooq Butt fmbutt@stratus.com -- Hi-Tech Disclaimer: NOTHING in the above article has any relationship to reality. If any reality correspondences are found, please notify me IMMEDIATELY. Any threats or abuse of any kind is purely unintentional. My employer is not liable.
raja@bombay.cps.msu.edu (Narayan S. Raja) (05/29/90)
In article <1406@lectroid.sw.stratus.com>, (Farooq Butt) writes: |> What's th' deal with telnet & xterm ? Am I doing something dreadfully |> wring ? Why do the "r" tools work but telnet doesn't ???? When you "rsh" or "rlogin", the environment variable "TERM" is always passed properly, e.g. if you rlogin from an xterm the TERM on the new host will still be "xterm". This is not the case with "telnet". E.g., on occasion when telnetting I found that TERM had been set to "network". Your problem should go away (I hope!) if you do "SETENV TERM xterm" after telnetting. Friendly regards, Narayan Sriranga Raja.