Hi Sai,

I think the problem here is how you set PATH - you have it just
pointing to one directory, and that directory is not where commands
like cp, ls, mv, etc. will reside (those reside
typically in /usr/bin or /usr/sbin or perhaps /bin.

So, for your .cshrc file to really work, you should add directories to
the PATH, but not remove those that already appear.

For example, this is how my .cshrc file starts out...

set path = ()                           # initialization (DO NOT REMOVE)
set path = ( $path ~/bin )              # your bin
set path = ( $path /usr/local/bin )     # "standard" lab supported software
set path = ( $path /usr/sbin )          # standard programs
set path = ( $path /bin )               # standard programs
set path = ( $path /usr/bin )           # standard programs

By the time I've reached here, my PATH consists of

usr/bin /bin /usr/sbin/ /usr/local/bin ~/bin

so all of those directories are searched for commands like cp and ls.
You may want
to take a similar approach.

I would only suggest switching to the bash shell if that is something
you are more comfortable with - the functionality of the csh and bash
shells are both more than adequate for SenseClusters, so it should not
matter a great deal which one you choose. Please
note that we have generally assumed the use of csh in our INSTALL
instructions and test scripts, so you'd have to change things around a
bit in both to accomodate bash, but that would not be too large a
chore I am sure.

If you are wondering why we choose csh in the first place, I think at
the time we started to develop SenseClusters we were working a great
deal with the Solaris (Sun) OS, which uses csh or tcsh as the default.

I hope this helps!

Good luck,
Ted

On Jan 27, 2008 8:31 PM, SAI TANG HUANG <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> This is Sai from the University of Brighton again. I've been busy with other 
> things lately. I am now again trying to get SenseClusters to work. I'm 
> creating a new cshrc file. I've written some lines in there just to see if it 
> works. I have for instance added the following simple lines below:
>
> setenv MANPATH /home/sai/man/man1
>
> setenv PATH /home/sai/bin
>
> Afterwards when I type echo $MANPATH for instance it gives me back the 
> correct directory. However, the c shell seems to have completely forgotten 
> it's vocabulary!!! It does not respond to any of the commands I enter such as 
> "ls".
>
> Is there a specific way to create a cshrc file? I mean am I missing some 
> important lines a cshrc should have? Also is it recommendable that I try and 
> convert your example lines (in the INSTALL file in SenseClusters) into bash 
> code so I can append it to my bashrc? Is this likely to work?
>
> Thanks,
>
> Sai
> _________________________________________________________________
> MSN Noticias
> http://noticias.msn.es/comunidad.aspx
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> senseclusters-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/senseclusters-users
>



-- 
Ted Pedersen
http://www.d.umn.edu/~tpederse

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
senseclusters-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/senseclusters-users

Reply via email to