[comp.os.vms] logging out

franco@alberta.UUCP (Franco Carlacci) (02/03/88)

The following observation has always intrigued me . When I log
off using "logout", there is a noticeable delay before the system
says good-bye. However if I use any sequenced prefixed with the
letters "logo" the good-bye is immediate. Can someone tell me 
why this happens and why "logo" is so special.

				Franco Carlacci

bcw@rti.UUCP (Bruce Wright) (02/06/88)

In article <287@cavell.UUCP>, franco@alberta.UUCP (Franco Carlacci) writes:
> The following observation has always intrigued me . When I log
> off using "logout", there is a noticeable delay before the system
> says good-bye. However if I use any sequenced prefixed with the
> letters "logo" the good-bye is immediate. Can someone tell me 
> why this happens and why "logo" is so special.
> 
I'm not sure what causes the delay you describe - it is not there in
standard VMS.  My guess is that there has been some fiddling with the
"logout" definition in either the DCL tables or (more likely) that a
symbol has been defined which redefines "lo*gout" to execute a command
file (say to clean things up before actually logging you out).  Do a
"show symbol logout" - that should tell you if the logout command has
been hidden with a symbol.  The reason the logout is immediate if you
type "logox" (or something similar) is that DCL only looks at the first
four characters to determine the command - but if it's a symbol it will
look at *all* the characters.  (obviously it has to determine if it's
a command _after_ it has determined it's not a symbol so there is not
an ambiguity).  So "logo" will be found as a valid symbol and execute
the command file, but "logox" will not be a valid symbol but will have
the first four characters = "logo" and be interpreted as a DCL command.

This probably makes it all as clear as mud ....

						Bruce C. Wright

hydrovax@nmtsun.nmt.edu (M. Warner Losh) (02/06/88)

In article <287@cavell.UUCP>, franco@alberta.UUCP (Franco Carlacci) writes:
> The following observation has always intrigued me . When I log
> off using "logout", there is a noticeable delay before the system
> says good-bye. However if I use any sequenced prefixed with the
> letters "logo" the good-bye is immediate. Can someone tell me 
> why this happens and why "logo" is so special.
> 
> 				Franco Carlacci

Well now.  That is an interesting problem.  Let's see.  On our system
we have an automatic purge of files that is activated when the user
logs out.  The default for the system is have logout run 
sys$manager:sylogout.com, which purges the files.  Now then, if a user
on our system types logoasdf, that gets them off right now.  Could
it be that your system manager has done something similar?  You can
tell real fast by the following command:

$ SHOW SYMBOL/ALL LOGOUT

If anything shows up here, that is the problem.  I hope that this helps
some.
-- 
bitnet:	losh@nmt.csnet			M. Warner Losh
	warner@hydrovax.nmt.csnet    ! Don't know if this works, let me know.
csnet:	warner@hydrovax.nmt.edu
uucp:	...{cmcl2, ihnp4}!lanl!unmvax!nmtsun!warner%hydrovax

dp@JASPER.Palladian.COM (Jeffrey Del Papa) (02/07/88)

    Date: 3 Feb 88 07:31:49 GMT
    From: ihnp4!alberta!franco@ucbvax.Berkeley.EDU  (Franco Carlacci)

    The following observation has always intrigued me . When I log
    off using "logout", there is a noticeable delay before the system
    says good-bye. However if I use any sequenced prefixed with the
    letters "logo" the good-bye is immediate. Can someone tell me 
    why this happens and why "logo" is so special.

				    Franco Carlacci

your system manager has likely hooked some command file into the logout command,
but not variant spellings. try show symbol/global to see what if anything
is taking its place.

<dp>

ca053@unocss.UUCP (Tim Russell) (02/07/88)

In article <287@cavell.UUCP>, franco@alberta.UUCP (Franco Carlacci) writes:
> The following observation has always intrigued me . When I log
> off using "logout", there is a noticeable delay before the system
> says good-bye. However if I use any sequenced prefixed with the
> letters "logo" the good-bye is immediate. Can someone tell me 
> why this happens and why "logo" is so special.

    An educated guess: Perhaps your system manager has defined the symbol
"LOGOUT" to invoke accounting procedures? This would explain it, because
using the shortened form would invoke only VMS's logout, while typing
logout would cause a DCL file to be run, taking time. Try typing
SHOW SYMBOL LOGOUT to see if I'm right...

                                Timothy Russell (ihnp4!unocss!ca053)

==============================================================================
        I'll do anything for a real username! Anything! Name it!
==============================================================================