LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices



Reply
 
Search this Thread
Old 01-18-2006, 04:26 PM   #1
munichtexan
Member
 
Registered: Oct 2005
Posts: 74

Rep: Reputation: 15
Suse 10.0 .cshrc setup


Hello,
I am attempting to setup the license key for some commercial CAD software. I have been discussing with the apps engineer, but it does not seem to be getting me anywhere. I am using Suse 10.0 on a 64 bit Athlon laptop. Suse uses bash whereas the group I recieve the software from uses tcsh. I am not an expert admin (this is my own computer) and this is personal work. :-)

I have tried aspects of changing /etc/passwd and other things. I set up the .cshrc under my home directory/<usr account> ( I am also the admin on this laptop). I did a source .cshrc and obtained no errors. Is it possible that it does not see my personal .cshrc?

This is what I have set up for the /home/<personal user name>/.cshrc file on my computer

set path = $path ~/ssoft/bin
set path = $path slam_install_dir/bin
set env SS_LICENSE_FILE ./psida.key

If I include the parenthesis typically used for set path, I recieve an error. I also have a /etc/csh.cshrc file and reading through it it recommends setting up a /etc/csh.cshrc.local file. (??)

When I try to invoke the license key, it did not see it. If I use the entire path for invoking the license key it starts the setup but does not see the license key. The license key is in the correct path.

Best regards,
Munichtexan
 
Old 01-19-2006, 01:11 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 64
/home/miguel> echo $path
/home/miguel/bin /usr/local/bin /usr/bin /usr/X11R6/bin /bin /usr/games /opt/gnome/bin /opt/kde3/bin /usr/lib/jvm/jre/bin /usr/sbin /usr/lib/mit/bin /usr/lib/mit/sbin /usr/lib/qt3/bin
/home/miguel> set path=(/another/dir/in/path $path)
/home/miguel> echo $path
/another/dir/in/path /home/miguel/bin /usr/local/bin /usr/bin /usr/X11R6/bin /bin /usr/games /opt/gnome/bin /opt/kde3/bin /usr/lib/jvm/jre/bin /usr/sbin /usr/lib/mit/bin /usr/lib/mit/sbin /usr/lib/qt3/bin
/home/miguel> setenv MYVAR whatever
/home/miguel> bash
miguel@gold:~> echo $MYVAR
whatever
miguel@gold:~>

The set path syntax is exactly as you can see above. using = and () and no spaces !

The setenv syntax is exactly as you can see above. :-)
Not use = and with spaces and no ().

In above, after setting a ENV var, a call a bash to check the ENV var MYVAR was exported to the child, as you can see in the echo $MYVAR.

I hope this help, If no, post a reply in this same thread.

regards,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.login, .bashrc or .cshrc ??? tuananhbirm Linux - General 1 01-20-2005 10:44 AM
Where is the.cshrc file in mandrake10.0? lbabey Linux - Newbie 1 11-08-2004 04:55 PM
global cshrc missing skrivnut Linux - Newbie 0 09-16-2004 02:27 AM
new account, .cshrc not working klundquist Linux - Newbie 1 06-01-2004 05:56 PM
cannot find .cshrc , please help slice4e Linux - General 4 05-12-2003 02:38 AM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration