Path: utzoo!attcan!uunet!mcsun!sunic!draken!perand From: perand@nada.kth.se (Per Andersson) Newsgroups: comp.unix.questions Subject: Checking new mail in programs Message-ID: <2722@draken.nada.kth.se> Date: 14 Jan 90 00:52:27 GMT Reply-To: perand@nada.kth.se (Per Andersson) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 16 Hello. I am writing a program similar to 'finger'. In fact I took finger and ripped out the parts I didn't need. But I don't know how to check if the user has mail/new mail. The SunOS finger program does this, but I only have source to BSD4.3. Also I have a system V variant, but that has to be setuid to root, and that is out of the question. Suns is an ordinary program so it can be done. What approach should I take ? Per -- --- Per Andersson Royal Institute of Technology, Stockholm, Sweden perand@admin.kth.se, @nada.kth.se