Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 01-18-2006, 03:26 PM   #1
Registered: Oct 2005
Posts: 74

Rep: Reputation: 15
Suse 10.0 .cshrc setup

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,
Old 01-19-2006, 12:11 PM   #2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
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

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.



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 09:44 AM
Where is the.cshrc file in mandrake10.0? lbabey Linux - Newbie 1 11-08-2004 03:55 PM
global cshrc missing skrivnut Linux - Newbie 0 09-16-2004 01:27 AM
new account, .cshrc not working klundquist Linux - Newbie 1 06-01-2004 04:56 PM
cannot find .cshrc , please help slice4e Linux - General 4 05-12-2003 01:38 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:01 PM.

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