[17046] in Athena Bugs

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

sun4 8.3.13: bashrc

daemon@ATHENA.MIT.EDU (David Z Maze)
Tue Aug 10 17:59:37 1999

Message-Id: <199908102159.RAA17388@indiana.mit.edu>
To: bugs@MIT.EDU
Date: Tue, 10 Aug 1999 17:59:27 -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?
	Use the Athena bash login scripts under zsh

What's wrong:
	zsh gives an error on /usr/athena/lib/init/bashrc, line 194.

What should have happened:
	The login should have been at least mostly successful

Please describe any relevant documentation references:
	This context diff fixes the problem, as well as making the line
	in question more consistent with the rest of the bashrc file.

*** /usr/athena/lib/init/bashrc	Mon Jun 28 16:26:30 1999
--- bashrc	Tue Aug 10 17:55:32 1999
***************
*** 191,197 ****
  #   aliases dealing with x window system
  xresize () { set -f; eval "$( resize -u )"; set +f ; }
  
! if [ "${XSESSION+set}" == set ]; then
  	if [ -z "$XSESSION" ]; then
  		logout () { end_session && exit; }		# logout for X
  	else
--- 191,197 ----
  #   aliases dealing with x window system
  xresize () { set -f; eval "$( resize -u )"; set +f ; }
  
! if [ "${XSESSION+set}" = set ]; then
  	if [ -z "$XSESSION" ]; then
  		logout () { end_session && exit; }		# logout for X
  	else


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