[17022] in Athena Bugs

home help back first fref pref prev next nref lref last post

8.3.14: bash dotfiles

daemon@ATHENA.MIT.EDU (Camilla R Fox)
Thu Aug 5 23:12:36 1999

Message-Id: <199908060312.XAA15483@x15-cruise-basselope.mit.edu>
To: bugs@MIT.EDU
Date: Thu, 05 Aug 1999 23:12:27 -0400
From: Camilla R Fox <cfox@MIT.EDU>

System name:		x15-cruise-basselope.mit.edu
Type and version:	Ultra-5_10 8.3.14 (with mkserv)
Display type:		afb

Shell:			/bin/athena/tcsh
Window manager:		vtwm.gamma

What were you trying to do?
  Write a functional .bash_environment.  (again, I'm testing using the
  bashuser account, which I have given a minimal .xsession - see
  previous bug report)

What's wrong:
  add fails when used in the .bash_environment

  /usr/athena/lib/init/bashrc contains:

    # Special version of ADD for the .bash_environment file.

    add () {
            eval "$( /bin/athena/attach -b -Padd -P"$athena_path" "$@" )"
    }
  
  I get errors in the console if I login with a .bash_environment that
  adds anything.  In particular, note the following (run as bashuser),
  in bash.

    athena$ add () {
    >                 eval "$( /bin/athena/attach -b -Padd -P"$athena_path" "$@" )"
    >         }
    athena$ add sipb
    Usage: attach [options] filesystem ... [options] filesystem ...
           attach -l filesystem
           attach -H host
           attach

What should have happened:
  add should not have been redefined to something that fails.

home help back first fref pref prev next nref lref last post