[14313] in Athena Bugs

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

session_gate on all platforms, end_session on linux a.out

daemon@ATHENA.MIT.EDU (Dan Winship)
Wed Apr 17 21:25:26 1996

Date: Wed, 17 Apr 1996 21:25:15 -0400
From: danw@MIT.EDU (Dan Winship)
To: bugs@MIT.EDU

The Linux a.out srvd is missing end_session. I know that bug probably
doesn't belong here, but the reason I use end_session is to get
around the fact that session_gate is broken, so it occurs to me that I
should send in a bug report for that too.

The bug is this: (from man session_gate)

       If  invoked  with  the  -logout  option,  it  will  run  a
       /bin/athena/tcsh  on  the file .logout in the directory it
       was started in.

But when it does this, it tries to source my .tcshrc file, which is
intended for sipb tcsh, so it runs into problems. To get around this,
I changed the end of my .xsession to do this:

	session_gate
	source ~/.logout

So I have `logout' aliased to `end_session', which causes session_gate
to exit and then my .logout gets dealt with The Right Way. Unless I'm
on quiche, in which case it says `end_session: Command not found.'


Anyway, it's not clear what session_gate _should_ do... if it ran
/bin/athena/tcsh -f, it would break if people were expecting it to
have found their aliases. Maybe it should run $SHELL on it instead of
/bin/athena/tcsh?

-- Dan

PS - Oh, and there's no sendbug on this machine either, hence the
non-sendbugged-ness

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