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