ITEM: AR5916L

UUX - How to set the environment variables in uucp



Question:

UUX  - how to set the environment variables in uucp
Mdoe 7013-58H with 3.2.5

Response:

env: Aix 3.2.5
     uucp
Desc:  How do I get uucp to execute a .profile when issuing a uux
command?  The customer needs to have a program executed with uux in 
which he needs to have certain ENV variables exported. 
 Action:  Since you aren't executing a ksh, you won't have a .profile.
It will call uucico and that will see the x.* file as an executable and
pass that off to the uuxqt daemon.  I suggested that we make a script
file that will execute a . .profile and then the command that he
wants to execute.  The problem there is that the filename used in his
application will change. I suggested the following in a script called
test.
"test"
\#!/bin/ksh
        . .profile
        application $1
This will allow the user to uux the script file with the file name.


Support Line: UUX - How to set the environment variables in uucp ITEM: AR5916L
Dated: November 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:25
Comments or suggestions? Contact us