# This is the default .login file. # Lines beginning with # are comments. # This file is run after you telnet, rlogin to your account or # login to a console running CDE as the default login or # login to an X-terminal and connect to a machine running CDE. # Your .variables.csh file will be run by this file to set shell # variables. # The .login file is NOT run when you log in to an X-terminal which # is not connecting to a machine running CDE or on a console not # configured to run CDE as the default login manager. # In that case, the .xinitrc.csh will run the .variables.csh. # This line causes the system startup file to run first if you are # running csh. If you are running a tcsh shell this is automatically # run first, and therefore this line is not necessary. if ("`basename $SHELL`" == "csh" || "`basename $SHELL`" == "tcsh" ) then source /etc/csh.login endif # This command runs your ".variables.csh" file. source ${HOME}/.variables.csh # Exclude interactive commands & umenu if PBS_ENVIRONMENT is set if (! $?PBS_ENVIRONMENT) then if ( ! ${?DT} ) then # Sets default control keys for terminal commands. stty intr '^C' erase '^H' kill '^X' susp '^Z' dsusp '^@' flush '^#' -ixon endif # The following series of commands asks you to enter your terminal type, but # sets it to "vt100" if you hit return. If you are on an RS/6000 console, # your terminal type will be automatically set to "hft". if ("$term" == "vt220" || "$term" == "vt330") then set term=vt100 endif if ("$term" == "dtterm") then set term=xterm endif #if ("$term" != "hft" && "$term" != "xterm" && "$term" != "vt100") then # echo -n 'Enter terminal type [default is vt100]: ' # set term=$< if ("$term" == "") then set term=vt100 endif #endif endif