From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21431 invoked from network); 18 Dec 2007 20:26:52 -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=0.6 required=5.0 tests=BAYES_00,FROM_LOCAL_NOVOWEL autolearn=no 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 20:26:52 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 3301 invoked from network); 18 Dec 2007 20:26:44 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Dec 2007 20:26:44 -0000 Received: (qmail 23239 invoked by alias); 18 Dec 2007 20:26:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24288 Received: (qmail 23220 invoked from network); 18 Dec 2007 20:26:39 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Dec 2007 20:26:39 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id D424F8058F54 for ; Tue, 18 Dec 2007 21:23:30 +0100 (CET) Received: from cbsrstar.ucr.edu (cbsrstar.ucr.edu [138.23.243.67]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Tue, 18 Dec 2007 21:23:30 +0100 (CET) Received: from [192.168.0.116] (cbsr29.ucr.edu [138.23.143.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cbsrstar.ucr.edu (Postfix) with ESMTP id 242EA351C027 for ; Tue, 18 Dec 2007 12:26:26 -0800 (PST) Message-ID: <47682D07.6040301@spambox.us> Date: Tue, 18 Dec 2007 12:26:47 -0800 From: Chuck User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: zsh-workers@sunsite.dk Subject: Re: zsh in screen - bad erase key ^@ instead of ^H or ^? References: <47677243.9030309@spambox.us> <20071218102924.0a5bcd0a@news01> <47680E97.6050505@spambox.us> <200712181827.lBIIRUur006059@news01.csr.com> In-Reply-To: <200712181827.lBIIRUur006059@news01.csr.com> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Ok, I just did a ^K BS and it output instead of . I can get around this in vim by mapping to but there's problems sshing or using any program that uses bs. Anyone know how to change my backspace key codes? I'm pretty sure that's the problem. stty erase blah doesnt seem to work, and I cant force a ttyctl f before running the screen... Thanks! Peter Stephenson wrote: > Chuck wrote: > >> Unfortunately, bs really is sending ^@ in screen and I cannot change it. >> > > If that's the case, then bindkey in zsh is your only hope. > > >> stty erase '^H' or '^?' doesn't change bs at all. It's as if the key >> mapping at a lower level is screwed up. >> > > zsh does have the capability to freeze the terminal settings: make sure > you have "ttyctl -u" in effect. "ttyctl" on its own will tell you what > the current state is. If it reports "tty is not frozen" I think you've > run out of things you can do in the shell. > >