home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / sysv386 / 12352 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.9 KB

  1. Xref: sparky comp.unix.sysv386:12352 biz.sco.general:2671
  2. Newsgroups: comp.unix.sysv386,biz.sco.general
  3. Path: sparky!uunet!fdml!gbr
  4. From: gbr@fdml.com (Gerald B. Rosenberg)
  5. Subject: SCO rlogin does not export environment?
  6. Organization: Fliesler, Dubb, Meyer & Lovejoy
  7. Distribution: usa
  8. Date: Fri, 24 Jul 1992 01:03:40 GMT
  9. Message-ID: <1992Jul24.010340.6908@fdml.com>
  10. Keywords: rlogin environment export
  11. Sender: gbr@fdml.com <Gerald B. Rosenberg>
  12. Lines: 29
  13.  
  14.    Problem: My SCO 3.2.2/TCP 1.1 and ODT 1.1 does not seem to export 
  15. even the TERM environment variable.
  16.  
  17.    Details: I have a small network of 386/486 systems running SCO 3.2.2
  18. with TCP/IP 1.1 and ODT 1.1.  All of my dumb terminals are Wyse60/160s.  
  19. My /etc/ttytype file was set to specify "wy60" (as the then common 
  20. denominator) on all of the pseudoterminal entries.  I recently added 
  21. several XTerminals (NCD15b's).
  22.  
  23.    A problem arrises when, from an ODTTerm window (env gives TERM=ansi), 
  24. a user rlogin's to another host.  It seems that the /etc/ttytype entry 
  25. for the pseudo-terminal on the destination machine controls the TERM
  26. variable for the csh shell on the destination machine.  Not unreasonable.
  27. However, removing the "wy60" terminal type designation from the 
  28. pseudoterminal line in /etc/ttytype results in TERM=unknown.
  29.  
  30.    I had expected the environment variable for TERM would be exported to 
  31. the shell on the destination machine in the absence of a terminal type
  32. designation or, better yet, override the pseudoterminal designation 
  33. present in the /etc/ttytype entry.
  34.  
  35.    Could some kind soul tell me if this is expected behavior and, if not,
  36. how to cause the environment to be exported.  The manual says that rlogin 
  37. *is* supposed to export the environment, but gives no insight as to how
  38. to direct/force it (presumably, it should just happen, but seems not to).
  39.  
  40.    In the alternative, is there a work around?
  41.  
  42.    Thanks in advance.
  43.