Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!ukc!mcdd1!ar From: ar@mcdd1 (Alastair Rae) Newsgroups: comp.unix.shell Subject: Re: .logout functionality using ksh Message-ID: <144@mx-1> Date: 21 Dec 90 15:38:49 GMT References: <1990Dec11.202750.2435@wpi.WPI.EDU> <175@raysnec.UUCP> Organization: McDonnell Douglas, Hemel Hempstead, Herts, UK Lines: 20 I get .logout in ksh by the following -- .profile: ENV=$HOME/.login .login: alias exit='[ -f ~/.logout ] && . ~/.logout; exit' ENV=$HOME/.kshrc set -o ignoreeof OK, so I have to type 'exit' to log off but I can still use ^D in sub shells. -- .--------------.--------------------.----------------.--------------------. | Alastair Rae | uunet!ukc!mcdd1!ar | +44 442 272071 | *Usual disclaimer* | `--------------^--------------------^----------------^--------------------'