From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14892 invoked from network); 17 Dec 2003 11:29:38 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Dec 2003 11:29:38 -0000 Received: (qmail 18004 invoked by alias); 17 Dec 2003 11:29:16 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6911 Received: (qmail 17992 invoked from network); 17 Dec 2003 11:29:16 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 17 Dec 2003 11:29:16 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [213.154.224.1] by sunsite.dk (MessageWall 1.0.8) with SMTP; 17 Dec 2003 11:29:16 -0000 Received: from elektron.atoom.net (f52166.upc-f.chello.nl [80.56.52.166]) by open.nlnetlabs.nl (8.12.8p2/8.12.8) with ESMTP id hBHBTC2w076590 for ; Wed, 17 Dec 2003 12:29:12 +0100 (CET) (envelope-from miekg@atoom.net) Received: from elektron.atoom.net (localhost [127.0.0.1]) by elektron.atoom.net (8.12.10/8.12.10/Debian-5) with ESMTP id hBHBTBxx028560 for ; Wed, 17 Dec 2003 12:29:12 +0100 Received: (from miekg@localhost) by elektron.atoom.net (8.12.10/8.12.10/Debian-5) id hBHBTBcr028559 for zsh-users@sunsite.dk; Wed, 17 Dec 2003 12:29:11 +0100 Date: Wed, 17 Dec 2003 12:29:11 +0100 From: Miek Gieben To: zsh users Subject: IGNORE_EOF Message-ID: <20031217112911.GA28517@atoom.net> Mail-Followup-To: zsh users Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Vim/Mutt/Linux X-Home: www.miek.nl X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on open.nlnetlabs.nl X-Virus-Scanned: by amavisd-new Hello, I found this message in the archives with the subject: "IGNORE_EOF like in bash", and the proposed (and updated function from Bart) works ok. But I was wondering, will there ever be a IGNORE_EOF=3 ala bash in zsh? It is a really handy feature to have. I use it for instance in my root access. When sharing root with multiple people I force them to write down what they did (by aliasing logout and exit). See http://miek.nl/linux/done.html for a better explanation :) grtz Miek -- fingerprint = E1EB 29B8 8FA2 2923 62B8 0A2B 64B8 F15C 7764 AB4B http://miek.nl/about.html