Path: utzoo!utgpu!news-server.csri.toronto.edu!me!eastick Newsgroups: comp.lang.perl From: eastick@me.utoronto.ca (Doug Eastick) Subject: Perl shell and autologout Message-ID: <91Jan15.065631est.19297@me.utoronto.ca> Organization: University of Toronto, Department of Mechanical Engineering Distribution: comp Date: 15 Jan 91 11:56:39 GMT I'm writing a simple shell/menu-system using perl. The menu will probably look something like this: M) Mail N) News S) Shell L) Logout Choice>> _ How can I implement an autologout (this perl program is their login shell) similar to csh? It'll be a vanilla 4.2 BSD system on a ns32k. Me thinks there is a fork() involved. Also, any tips or hazards I should be aware of using a Perl program as a login shell?