chiark / gitweb /
Merge old CVS `ian-dotfiles' repo, as a subtree where we can pick bits
[ian-dotfiles.git] / from-cvs / files / _.profile
diff --git a/from-cvs/files/_.profile b/from-cvs/files/_.profile
new file mode 100755 (executable)
index 0000000..7cc97b9
--- /dev/null
@@ -0,0 +1,19 @@
+# Ian Jackson's .profile now in CVS
+
+. .configs/setenvir
+
+echo --------------------------------------------------
+uptime
+
+if [ "x$TERM" = "xnetwork" ]
+then
+       defterm=vt100
+       echo -n "Terminal type (default=$defterm) ... "
+       read TERM
+       [ "x$TERM" = x ] && TERM=$defterm
+       export TERM
+fi
+
+[ "x`tty`" = x/dev/console ] || stty cs8 2>/dev/null || true
+
+exec $SHELL