home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 26
/
CD_ASCQ_26_1295.iso
/
voxrom
/
minlinux
/
minlxfr1.arj
/
LINUX
/
ETC
/
PROFILE
< prev
next >
Wrap
Text File
|
1995-04-03
|
3KB
|
69 lines
# commands common to all logins
export OPENWINHOME=/usr/openwin
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man/preformat:/usr/man:/usr/X11/man:/usr/openwin/man
export HOSTNAME="`cat /etc/HOSTNAME`"
PATH="$PATH:/usr/X11/bin:/usr/TeX/bin:/usr/andrew/bin:$OPENWINHOME/bin:/usr/games:/usr/local/bin:."
LESS=-MM
# I had problems using 'eval tset' instead of 'TERM=', but you might want to
# try it anyway. I think with the right /etc/termcap it would work great.
# eval `tset -sQ "$TERM"`
if [ "$TERM" = "" -o "$TERM" = "unknown" -o \
"`echo $TERM | cut -b1-3`" = "con" ]; then
TERM=console
fi
PS1='`hostname`:`pwd`$ '
# PS1='\h:\w\$ '
PS2='> '
if [ ! "$SHELL" = "/bin/ash" ]; then # ash doesn't have aliases
#
# Global aliases - change them to suit your needs.
#
alias ls='ls -F'
alias dir='ls -l'
alias ll='ls -l'
alias l='ls -l'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias h='history'
alias net='term < /dev/modem > /dev/modem 2> /dev/null&'
# exemple d'un mount d'une disquette linux (ext2)
alias m0='mount -t ext2 /dev/fd0 /mnt'
# mount d'une disquette msdos
alias m0d='mount -t msdos /dev/fd0 /mnt'
alias u0='umount /dev/fd0'
# exemple d'un mount d'un CDROM SoundBlaster
alias mcd='mount -t iso9660 -o ro /dev/sbpcd /mnt'
alias ucd='umount /dev/sbpcd'
# Lance un appel UUCP vers Cygnux BBS
alias cygnux='/usr/lib/uucp/uucico -r1 -S cygnux -q -x1 -D;/usr/lib/uucp/uuxqt;/usr/local/lib/news/bin/input/newsrun'
alias sendnews='/usr/local/lib/news/bin/batch/sendbatches'
alias expire='/usr/local/lib/news/bin/expire/doexpire'
# monitor news stuff and report if needed (execute daily)
alias dailynews='/usr/local/lib/news/bin/maint/newsdaily'
alias uul='cd /usr/lib/uucp'
alias uup='cd /usr/spool/uucp'
alias uuq='cd /usr/spool/uucp/.Log/uuxqt'
alias news='cd /usr/local/lib/news/bin/input'
fi
# alias startx='startx >& /dev/null'
ignoreeof=10
# This is for "screen", a multi-console handler
SCREENCAP=':co#80:li#25:\
:do=^J:co#80:li#25:cl=\E[H\E[J:sf=\ED:sb=\EM:\
:le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:is=\E[1;25r\E[25;1H:\
:ll=\E[1;25r\E[25;1H:al=\E[L:dc=\E[P:dl=\E[M:\
:it#8:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:ti=\E[r\E[H:\
:ho=\E[H:kP=\E[5~:kN=\E[6~:kH=\E[Y:kh=\E[H:kD=\E[3~:kI=\E[2~:\
:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[[F:\
:k7=\E[[G:k8=\E[[H:k9=\E[[I:k0=\E[[J:K1=\E[[K:K2=\E[[L:\
:pt:sr=\EM:vt#3:xn:\
:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\'
export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof SCREENCAP
umask 022
echo