From john@wagoneers.com Thu Jul 17 22:33:38 2003 From: john EDITOR=/usr/bin/vi; export EDITOR # # original version: PS1="`hostname`.`whoami`--> " # # PS1=" ----------------------------------------------------- # $(/usr/bin/whoami)@$(/usr/bin/hostname) [\$PWD] # # >--> "; export PS1 # PS2="*--> additional input required: > "; export PS2 # umask 022 # ############################################################################# export WHMI=$(/usr/bin/whoami) export WHST=$(/usr/bin/hostname) export PS1="$(print '\001\015\001\0033]2; $WHMI ---> \"$WHST\" ---> $PWD \007 ----------------------------------------------------- $WHMI@$WHST [$PWD] >-->\001 ')" # stty erase "^H" stty erase "^?" kill "^U" intr "^C" eof "^D" stty kill "^U" stty intr "^C" stty eof "^D" # resize # who am i -R | tr -d [\(-\)] | awk '{print $NF}' | grep -v :0 | \ # awk '{print "export DISPLAY="$1 ":0"}' > /tmp/setdisplay # cat "/tmp/setdisplay" # . /tmp/setdisplay # env | grep DISPLAY` ---- ------------------------------------------------------------------------- ** http://wagoneers.com ** ** http://freegift.net ** Snohomish, Washington USA - where Jeeps don't rust, they mold. ...and remember, leaving life without Jesus just isn't recommended... ------------------------------------------------------------------------- ** john-at-wagoneers.com via PINE on Linux ** (plain text please!) The revolt is underway, you can not stop it. FEAR THE PENGUIN!!!! May the SOURCE be With GNU -------------------------------------------------------------------------