chiark / gitweb /
Files found on jura.
[ian-dotfiles.git] / files / _.profile
1 # Ian Jackson's .profile, mostly copied from.... (eng.cam.ac.uk)
2 # CUED default .profile for /bin/sh or /bin/ksh initialization,
3 # then customised for Engineering dept system. This version copied
4 # to cl then customised for cl, thence to cam-orl.co.uk, thence
5 # to chiark, thence to ncipher
6
7 . .configs/setenvir
8
9 echo --------------------------------------------------
10 uptime
11
12 if [ "x$TERM" = "xnetwork" ]
13 then
14         defterm=vt100
15         echo -n "Terminal type (default=$defterm) ... "
16         read TERM
17         [ "x$TERM" = x ] && TERM=$defterm
18         export TERM
19 fi
20
21 [ "x`tty`" = x/dev/console ] || stty cs8 2>/dev/null || true
22
23 exec $SHELL