# this file is interpreted by Bash when started by the name "bash"
# 	and most other sh-type shells when they are "login shells"

HOSTNAME="your_host.com"

## this might should be elsewhere. I was in a hurry.		
TERM=linux			

ignoreeof=10


umask 022

AWKPATH=/source/script/awk
DISTRO=cLIeNUX

EDITOR=ed
FONT="11"
#MODPATH=/.li/kernel/module/
NNTPSERVER="news.smart.net"
VISUAL="edit -z -w"

## DSFH note; perhaps long local pathnames should be used in 
##  textfiles, and .bi names in binaries. HMMMmmmm.

## man console_codes for fancy prompt strings. What you SEE HERE
## is how the program you're viewing this file now interprets
## vt102 escape sequences. This is NOT usually the same as a terminal
## interprets it, and that's when OUTPUT to a terminal by a program.
## Editing is INPUTTING it into some program, which is another matter
## entirely, and specific to the editor. Confusing stuff. 
## View this file with binedit or the l operator of ed to see what I mean.
## The florid default cLIeNUX PS1 is intended to provide something that 
## can be pared down to the user's preferences easily.


PS1="[33m:; [36m\H `tty`  \t   [01m\w[00;36m \n[33m:;[0m"

PS2="[33m:;:;[0m "

## Set the console beep frequency, 220hz in this case. 
## 20000 is "off", except maybe to dogs. 
echo -e "\033[10;220]"

## turn off screen blanking
echo -e "\033[9;0]"




# the exports are separate for the likes of ash

stdin="/.pro/$$/fd/0"

export stdin

export FONT DISTRO VISUAL EDITOR MODPATH HOSTNAME LESS TERM PS1 PS2 ignoreeof
export NNTPSERVER AWKPATH

## dir variables for Gcc et. al. in the DSFH

TMPDIR="/.tm"
GCC_EXEC_PREFIX="/.bi/background/C/"
COMPILER_PATH=$PATH":/.bi/background/C/"
LIBRARY_PATH="/.li/:/subroutine/:/.us/.li/:/subroutine/static/"
C_INCLUDE_PATH="/.bi/background/C/include:/source/C/include/:/suite/include/:/.sourc/C/include/:/.us/include/:/.sbi/C/include"

export TMPDIR GCC_EXEC_PREFIX COMPILER_PATH  LIBRARY_PATH C_INCLUDE_PATH

## PATH is set in /.et/login.defs


if test -e /.pro/mca ;
then 
PATH=/.bi/MCA:$PATH
fi

PATH=.:$PATH

cd /

cursor

if test `tty` == /dev/tty
then
 cat /.et/motd
fi


#deal () {
#    while read -a field; do
#        for arg in $*;
#        do
#            echo -ne ${field[$arg]} "\t";
#        done;
#        echo;
#    done
#}

# two kinds of chomp
#homp () 
#{
#    echo -n ${1:1-${#1}}
#}
#chom () 
#{
#    echo -n ${1:0:${#1}-1}
#}
#
#export chom homp


######   reboot test


