From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13991 invoked from network); 18 Dec 2007 10:30:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Dec 2007 10:30:22 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 75766 invoked from network); 18 Dec 2007 10:29:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Dec 2007 10:29:54 -0000 Received: (qmail 16915 invoked by alias); 18 Dec 2007 10:29:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24280 Received: (qmail 16864 invoked from network); 18 Dec 2007 10:29:43 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Dec 2007 10:29:43 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 6BDFC8058F54 for ; Tue, 18 Dec 2007 11:26:37 +0100 (CET) Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [217.69.20.190]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Tue, 18 Dec 2007 11:26:37 +0100 (CET) Received: from rly50d.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly50d.srv.mailcontrol.com (MailControl) with ESMTP id lBIATfni027318 for ; Tue, 18 Dec 2007 10:29:41 GMT Received: from submission.mailcontrol.com (submission.mailcontrol.com [86.111.216.190]) by rly50d.srv.mailcontrol.com (MailControl) id lBIATZgi026522 for zsh-workers@sunsite.dk; Tue, 18 Dec 2007 10:29:35 GMT Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly50d-eth0.srv.mailcontrol.com (envelope-sender Peter.Stephenson@csr.com) (MIMEDefang) with ESMTP id lBIATYnB026466; Tue, 18 Dec 2007 10:29:35 +0000 (GMT) Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Tue, 18 Dec 2007 10:29:24 +0000 Date: Tue, 18 Dec 2007 10:29:24 +0000 From: Peter Stephenson To: Chuck , zsh-workers@sunsite.dk Subject: Re: zsh in screen - bad erase key ^@ instead of ^H or ^? Message-ID: <20071218102924.0a5bcd0a@news01> In-Reply-To: <47677243.9030309@spambox.us> References: <47677243.9030309@spambox.us> Organization: CSR X-Mailer: Claws Mail 3.1.0 (GTK+ 2.10.14; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Dec 2007 10:29:24.0615 (UTC) FILETIME=[DC253170:01C84160] X-Scanned-By: MailControl A-06-00-00 (www.mailcontrol.com) on 10.68.1.160 X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 17 Dec 2007 23:09:55 -0800 Chuck wrote: > How do I tell zsh in screen that my backspace key is ^H or ^? instead of > ^@ as it currently thinks? stty erase '^@' fails as does using tset. It may be you're doing the opposite of what you need... > ^v(bs key) tells me bs is currently ^@. ...this indicates the backspace key currently *is* sending ^@, because the ^V stops zsh interpreting the character. So instead, try making it so that it sends ^H or ^?: "stty erase '^?'". (This is likely to be some artefact of screen since zsh doesn't change special characters of that sort.) If for some reason you're stuck with the backspace key sending ^@, you can use "bindkey" to tell zsh to use it for functions usually bound with ^? and ^h, but you shouldn't need to do that. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070