Thread View: comp.unix
1 messages
1 total messages
Started by ACPS2924
Tue, 02 Apr 1991 18:22
CSH,getenv,OPENLOOK???????
Author: ACPS2924
Date: Tue, 02 Apr 1991 18:22
Date: Tue, 02 Apr 1991 18:22
21 lines
1293 bytes
1293 bytes
This is my question.
We are running OPENLOOK on sparcstation 1's.
The question concerns the csh.
I have set up a variable called MOTD,the location of the message of the day
file for a utility in OPEN.
If in the cmdtool i echo $MOTD it finds it.
If however i use getenv in a C program to get MOTD it fails.....
I know you have to export it in sh but what do you have to do to set it
up in the csh.
The variable is set up in the .cshrc file.
Any suggestions would be most helpfull....
Peter
+----------------------------------------------------------------------+
acps2924@ryerson.ca ! Who is the ! If plumbers designed toilets like
advisor1@ryerson.ca ! user,pray, ! software professionals design tools,
! and who is ! we'd be up to our knees in crap.
! the used ? ! - Charles A. Rovira
+----------------------------------------------------------------------+
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads