[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference unxa::cde

Title:CDE on Digital UNIXonment - CDE
Notice:CDE on Digital UNIX - for CDE on VMS, please see Note 1.3
Moderator:UNXA::SYSTEM
Created:Tue Nov 23 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:660
Total number of notes:2674

649.0. "CDE and tcsh" by MSBCS::REED () Fri May 16 1997 13:02

I have an env. with about 100 workstations all running /bin/tcsh
as there default shell, with CDE. The .login file doesn't get processes
because CDE doesn't now it's a valid shell. I know that from the errorlog
file and the "non-standard shell /bin/tcsh" error in the file.

Since I'm using /bin/tcsh all over the place, how do I tell
CDE that this is a valid shell and to treat it like /bin/cshrc,
and process the .cshrc and .login files.

Thanks,
Chris
T.RTitleUserPersonal
Name
DateLines
649.1Please take a look at /usr/dt/bin/XsessionUNXA::DERZINSKIFri May 16 1997 14:5721
Hi,

I have not tried this out, but the error message you point out is coming 
from /usr/dt/bin/Xsession. This is a shell scrip file.

You might want to try changing the block of code.

  #
  # Start the session.
  #
  if [ "$DTSOURCEPROFILE" = "true" ]
  then
    case ${SHELL##*/} in
       sh | ksh | dtksh) shellprofile="$HOME/.profile"
                        ;;
       csh) shellprofile="$HOME/.login";;
       *) Log "non-standard shell $SHELL"
    esac
  fi

Thanks John D.