From 40ec624e8e786dcb3f0db328efc3c7ef5e7ec831 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Tue, 10 Feb 2004 00:19:09 +0000 Subject: [PATCH] Add common dotfiles. --- .../tinderbox/examples/dotfiles-X11/.Xclients | 3 ++ tools/tinderbox/examples/dotfiles-X11/.bashrc | 42 +++++++++++++++++++ tools/tinderbox/examples/dotfiles-X11/.twmrc | 23 ++++++++++ 3 files changed, 68 insertions(+) create mode 100755 tools/tinderbox/examples/dotfiles-X11/.Xclients create mode 100644 tools/tinderbox/examples/dotfiles-X11/.bashrc create mode 100644 tools/tinderbox/examples/dotfiles-X11/.twmrc diff --git a/tools/tinderbox/examples/dotfiles-X11/.Xclients b/tools/tinderbox/examples/dotfiles-X11/.Xclients new file mode 100755 index 00000000000..3982b3120b5 --- /dev/null +++ b/tools/tinderbox/examples/dotfiles-X11/.Xclients @@ -0,0 +1,3 @@ +xhost +local: +xterm & +exec twm diff --git a/tools/tinderbox/examples/dotfiles-X11/.bashrc b/tools/tinderbox/examples/dotfiles-X11/.bashrc new file mode 100644 index 00000000000..04805a64385 --- /dev/null +++ b/tools/tinderbox/examples/dotfiles-X11/.bashrc @@ -0,0 +1,42 @@ +# .bashrc +# vim:ts=8:sw=8:noet: + +# User specific aliases and functions + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +set -o noclobber + +export EDITOR=/usr/bin/vim +export VISUAL=$EDITOR # set default editor for mail +export PAGER="less -Cemf" # make some things start at top of screen. + +export LC_COLLATE=C + +export PS1="\u@\h `uname -s` (\$?) \w \\\$ " +ulimit -S -c 0 # limit core dump size (use 'ulimit -a' to check status) +alias coreok="ulimit -c unlimited" + +alias rm="/bin/rm -i" # safe deletion, always ask +alias mv="/bin/mv -i" +alias cp="/bin/cp -i" +alias rename="rename -i" + +alias c="clear" + +alias vi=vim + +alias pico="pico -z" +alias pine="pine -z" +alias ftp="ncftp" +alias md="mkdir" +alias rd="rmdir" + +alias less="less -Cemf" +alias more="less -Cemf" + +alias ls="/bin/ls --color=tty -FA" +alias lsl="lsa -lg" diff --git a/tools/tinderbox/examples/dotfiles-X11/.twmrc b/tools/tinderbox/examples/dotfiles-X11/.twmrc new file mode 100644 index 00000000000..5183f7899c7 --- /dev/null +++ b/tools/tinderbox/examples/dotfiles-X11/.twmrc @@ -0,0 +1,23 @@ +# +# .twmrc, using this for tinderbox. +# + +RandomPlacement + +TitleFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" + +Button1 = : root : f.menu "b1" + + +menu "b1" +{ +"xterm" f.exec "xterm &" +"Quit" f.menu "quit" +} + +menu "quit" +{ +"Really Quit?" f.title +"No" f.nop +"Yes" f.quit +}