source: trunk/debathena/config/shell-config/debian/cshrc.debathena @ 24895

Revision 24895, 606 bytes checked in by jdreed, 14 years ago (diff)
In shell-config: * Make renew work for cells other than athena.mit.edu
Line 
1#!/usr/bin/tcsh
2# Global cshrc file for Debathena machines
3
4setenv HOSTTYPE "`/bin/machtype`"
5setenv ATHENA_SYS `/bin/machtype -S`
6if ( $ATHENA_SYS == "" ) then
7  setenv ATHENA_SYS @sys
8endif
9setenv ATHENA_SYS_COMPAT `/bin/machtype -C`
10setenv DEBATHENA_AKLOG "aklog -c athena.mit.edu -p $HOME"
11if ( -x "/bin/fsid" ) then
12    setenv DEBATHENA_AKLOG "fsid -a"
13endif
14
15alias renew 'set KINIT_ARGS=""; \
16    kinit -4 </dev/null >& /dev/null; \
17    if ($? != 3) set KINIT_ARGS="-45"; \
18    kinit $KINIT_ARGS "$ATHENA_USER" && $DEBATHENA_AKLOG'
19
20set add_flags
21alias add 'eval `/bin/attach -Padd $add_flags \!:*`'
Note: See TracBrowser for help on using the repository browser.