From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6016 invoked from network); 18 Sep 2008 21:51:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Sep 2008 21:51:23 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 58090 invoked from network); 18 Sep 2008 21:51:08 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Sep 2008 21:51:08 -0000 Received: (qmail 13823 invoked by alias); 18 Sep 2008 21:50:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13247 Received: (qmail 13808 invoked from network); 18 Sep 2008 21:50:48 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Sep 2008 21:50:48 -0000 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by bifrost.dotsrc.org (Postfix) with ESMTP id 8FFC0802720D for ; Thu, 18 Sep 2008 23:50:43 +0200 (CEST) Received: by rv-out-0506.google.com with SMTP id g37so98434rvb.21 for ; Thu, 18 Sep 2008 14:50:42 -0700 (PDT) Received: by 10.141.194.11 with SMTP id w11mr7922198rvp.228.1221774642938; Thu, 18 Sep 2008 14:50:42 -0700 (PDT) Received: by 10.141.97.11 with HTTP; Thu, 18 Sep 2008 14:50:42 -0700 (PDT) Message-ID: Date: Thu, 18 Sep 2008 23:50:42 +0200 From: thomasg To: zsh-users@sunsite.dk Subject: Append cancelled commands to history MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_58529_16049646.1221774642921" X-Virus-Scanned: ClamAV 0.92.1/8283/Thu Sep 18 22:22:43 2008 on bifrost X-Virus-Status: Clean ------=_Part_58529_16049646.1221774642921 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello list, I was curious if it's possible to append canceled (CTRL+C) commands to the histfile. In case there is not yet a function to do this, is it generally possible to bind CTRL+C to a custom function? Greetings, thomasg ------=_Part_58529_16049646.1221774642921 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hello list,

I was curious if it's possible to append canceled (CTRL+C) commands to the histfile.
In case there is not yet a function to do this, is it generally possible to bind CTRL+C to a custom function?

Greetings,

thomasg
------=_Part_58529_16049646.1221774642921--