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 >
Text File  |  1995-04-03  |  3KB  |  69 lines

  1. # commands common to all logins
  2. export OPENWINHOME=/usr/openwin
  3. export MINICOM="-c on"
  4. export MANPATH=/usr/local/man:/usr/man/preformat:/usr/man:/usr/X11/man:/usr/openwin/man
  5. export HOSTNAME="`cat /etc/HOSTNAME`"
  6. PATH="$PATH:/usr/X11/bin:/usr/TeX/bin:/usr/andrew/bin:$OPENWINHOME/bin:/usr/games:/usr/local/bin:."
  7. LESS=-MM
  8. # I had problems using 'eval tset' instead of 'TERM=', but you might want to 
  9. # try it anyway. I think with the right /etc/termcap it would work great.
  10. # eval `tset -sQ "$TERM"`
  11. if [ "$TERM" = "" -o "$TERM" = "unknown" -o \
  12.  "`echo $TERM | cut -b1-3`" = "con" ]; then
  13.  TERM=console
  14. fi
  15. PS1='`hostname`:`pwd`$ '
  16. # PS1='\h:\w\$ '
  17. PS2='> '
  18. if [ ! "$SHELL" = "/bin/ash" ]; then # ash doesn't have aliases
  19.  #
  20.  # Global aliases - change them to suit your needs.
  21.  #
  22.  alias ls='ls -F'
  23.  alias dir='ls -l'
  24.  alias ll='ls -l'
  25.  alias l='ls -l'
  26.  alias rm='rm -i'
  27.  alias cp='cp -i'
  28.  alias mv='mv -i'
  29.  alias h='history'
  30.  alias net='term < /dev/modem > /dev/modem 2> /dev/null&'
  31. # exemple d'un mount d'une disquette linux (ext2)
  32.  alias m0='mount -t ext2 /dev/fd0 /mnt'
  33. # mount d'une disquette msdos
  34.  alias m0d='mount -t msdos /dev/fd0 /mnt'
  35.  alias u0='umount /dev/fd0' 
  36. # exemple d'un mount d'un CDROM SoundBlaster
  37.  alias mcd='mount -t iso9660 -o ro /dev/sbpcd /mnt'
  38.  alias ucd='umount /dev/sbpcd'
  39. # Lance un appel UUCP vers Cygnux BBS
  40.  alias cygnux='/usr/lib/uucp/uucico -r1 -S cygnux -q -x1 -D;/usr/lib/uucp/uuxqt;/usr/local/lib/news/bin/input/newsrun'
  41.  alias sendnews='/usr/local/lib/news/bin/batch/sendbatches'
  42.  alias expire='/usr/local/lib/news/bin/expire/doexpire'
  43. # monitor news stuff and report if needed (execute daily)
  44.  alias dailynews='/usr/local/lib/news/bin/maint/newsdaily'
  45.  alias uul='cd /usr/lib/uucp'
  46.  alias uup='cd /usr/spool/uucp'
  47.  alias uuq='cd /usr/spool/uucp/.Log/uuxqt'
  48.  alias news='cd /usr/local/lib/news/bin/input'
  49. fi
  50. # alias startx='startx >& /dev/null'
  51. ignoreeof=10
  52. # This is for "screen", a multi-console handler
  53. SCREENCAP=':co#80:li#25:\
  54.         :do=^J:co#80:li#25:cl=\E[H\E[J:sf=\ED:sb=\EM:\
  55.         :le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
  56.         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
  57.         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:is=\E[1;25r\E[25;1H:\
  58.         :ll=\E[1;25r\E[25;1H:al=\E[L:dc=\E[P:dl=\E[M:\
  59.         :it#8:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:ti=\E[r\E[H:\
  60.         :ho=\E[H:kP=\E[5~:kN=\E[6~:kH=\E[Y:kh=\E[H:kD=\E[3~:kI=\E[2~:\
  61.         :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[[F:\
  62.         :k7=\E[[G:k8=\E[[H:k9=\E[[I:k0=\E[[J:K1=\E[[K:K2=\E[[L:\
  63.         :pt:sr=\EM:vt#3:xn:\
  64.         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\'
  65.  
  66. export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof SCREENCAP
  67. umask 022
  68. echo
  69.