[17053] in Athena Bugs

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

sun4 8.3.13: add -f

daemon@ATHENA.MIT.EDU (David Z Maze)
Wed Aug 11 19:20:07 1999

Message-Id: <199908112320.TAA20359@indiana.mit.edu>
To: bugs@MIT.EDU
Date: Wed, 11 Aug 1999 19:20:00 -0400
From: David Z Maze <dmaze@MIT.EDU>

System name:		indiana.mit.edu
Type and version:	Ultra-5_10 8.3.13 (with mkserv)
Display type:		afb

Shell:			/bin/sh (/afs/sipb/project/sipb/bin/zsh?)
Window manager:		ssh-agent fvwm2

What were you trying to do?
	Globally prevent 'add' from authenticating to AFS servers and
	getting Zephyr notification.  Set this in my .bash_environment:

	aklog athena.mit.edu sipb.mit.edu net.mit.edu zone.mit.edu dev.mit.edu
	add_opts="-a -h -n"

What's wrong:
	attach gets confused if I, for example, 'add -f gnu'.  The add
	function expands to
		(attach -Padd -b $add_opts $@)
		 attach -Padd -b -a -h -n -f gnu
	So add interprets -f as an 'attach' option rather than an 'add'
	option, and gets confused.

What should have happened:
	/mit/gnu/bin should have appeared at the front of $PATH.

Please describe any relevant documentation references:
	add(1), attach(1), /usr/athena/lib/init/bashrc

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