From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18857 invoked by alias); 23 Sep 2013 17:52:32 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17990 Received: (qmail 17007 invoked from network); 23 Sep 2013 17:52:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at spf-00082601.pphosted.com designates 67.231.153.30 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : subject : date : message-id : content-type : mime-version; s=facebook; bh=Wo9/T4owk4LxqBLuO026NI/9iCTSmuB9idYoBHujB1Q=; b=nIEQYU0JyKF6t810SgpFMtLlAWhRGFLa8rOH6Nk7hs4vZJZkbme5yrpoUuxZJUYuqFFn Ns06K4H480Ad7grr84ZsDAEzkroAzdnKcUHsLvYwOGUCvOsGHQWEoB25IujSR4lR55+t IZkL96g8KlZq3uhINR99qyAWw5ayVxCY4fI= From: Larry Schrof To: "zsh-users@zsh.org" Subject: Colored-character displayed on CTRL-C ? Thread-Topic: Colored-character displayed on CTRL-C ? Thread-Index: AQHOuIOO+XJIMAWoP0SNBUwK2HTBxw== Date: Mon, 23 Sep 2013 17:37:20 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.16.4] Content-Type: multipart/alternative; boundary="_000_CE65CA5F235C2larrysfbcom_" MIME-Version: 1.0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-09-23_01:2013-09-22,2013-09-23,1970-01-01 signatures=0 --_000_CE65CA5F235C2larrysfbcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Recent versions of bash have this very nifty feature where, when you hit CT= RL-C to terminate a command line and get a new prompt on a new line, someth= ing like ^C with a yellow background is displayed to help remind you that t= he command is not actually executed. With my vision impairment, simply using the event number in my shell prompt= is not sufficient. I'd really like ideas on the best way to tell zsh to di= splay a character with a yellow background on CTRL-C, followed by taking me= to a new prompt on the next line. I'm speculating this would start by setting up a trap on the right signal? --_000_CE65CA5F235C2larrysfbcom_--