---
+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Full Member level 4
    Points: 3,014, Level: 12

    Join Date
    Apr 2002
    Posts
    236
    Helped
    1 / 1
    Points
    3,014
    Level
    12

    csh automatically source cshrc

    I install EDA tool into Solaris 9, and create a .cshrc file, I put it in my home directory, however, it wouldn't run automatically each time when I login? who knows why? And how to setup?

    THANKS

    •   Alt15th February 2003, 21:07

      advertising

        
       

  2. #2
    Full Member level 2
    Points: 3,744, Level: 14

    Join Date
    Dec 2002
    Location
    silicon land
    Posts
    119
    Helped
    4 / 4
    Points
    3,744
    Level
    14
    My recommend is: if you intend to use your Sun as an EDA workstation, don't install the latest OS. You will have a lot of trouble because your EDA was compiled and test under very old OS. Solaris 7, or Solaris 8 is good enough.



    •   Alt15th February 2003, 21:28

      advertising

        
       

  3. #3
    Full Member level 4
    Points: 3,014, Level: 12

    Join Date
    Apr 2002
    Posts
    236
    Helped
    1 / 1
    Points
    3,014
    Level
    12
    Oh, my OS is Solaris 9, looks bad for EDAs



    •   Alt15th February 2003, 22:10

      advertising

        
       

  4. #4
    Member level 5
    Points: 4,987, Level: 16

    Join Date
    Dec 2001
    Posts
    82
    Helped
    4 / 4
    Points
    4,987
    Level
    16
    That has nothing to do with a .cshrc not beeing sourced at login as it should.
    Do you have a .login file? Is it runned at login?
    If yes you can allways force running the .cshrc by adding to it a line with
    source .cshrc



  5. #5
    Full Member level 4
    Points: 3,014, Level: 12

    Join Date
    Apr 2002
    Posts
    236
    Helped
    1 / 1
    Points
    3,014
    Level
    12

    source .cshrc is added, but still not working

    well, if I setup default shell is C, my EDA runs well. However, if setup default shell is Bourne and add "source .cshrc" line in .login, my EDA won't run and got error: "EDA: Can not excute"



  6. #6
    Full Member level 2
    Points: 2,680, Level: 12

    Join Date
    May 2001
    Location
    USA
    Posts
    122
    Helped
    3 / 3
    Points
    2,680
    Level
    12

    How to run my .cshrc shell automatically?

    same problem with me ..
    so I change shell to C .. but I get a tcsh from web and compile it
    I think tcsh is much better .. just my personal opi~~
    and it work fine for me ..
    for your ref ..



  7. #7
    Member level 3
    Points: 2,628, Level: 11

    Join Date
    Jul 2002
    Posts
    54
    Helped
    0 / 0
    Points
    2,628
    Level
    11
    .cshrc is used by csh or tcsh.
    I would say you should set your default shell to be /usr/bin/tcsh and it will work .....
    PS:
    Edit it either in /etc/passwd
    or if you are mouse oriented
    use an admintool. In both of cases you have to be a root (':)')

    P.P.S. This is a serious decision:"which shell to use ?"
    In any case look: man csh
    man sh
    It is not very long and give you a first help

    P.P.P.S. /usr/bin/tcsh as well zsh is included in Solaris8, so it will be probaly available also
    in Solaris9



+ Post New Thread
Please login