Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 21 Aug 2003 06:01:54 +0100 From: Elfyn McBratney To: cygwin AT cygwin DOT com Subject: Re: Map Backspace to ASCII DEL? Message-ID: <20030821050154.GK11470@emcb.co.uk> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3F444AC6 DOT 7090900 AT ianbrandt DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F444AC6.7090900@ianbrandt.com> User-Agent: Mutt/1.4.1i Ian Brandt wrote: > I've searched through the mailing list and have seen many posts related > to backspace and delete behavior, so my apologies in advance for yet > another one, but I can't seem to find the answer I'm looking for in the > archives. > > Currently it seems that the cygwin terminal sends ^H (ASCII BS, 0x08) > for backspace, and the VT220 Remove escape sequence (\E[3~, 0x1B5B337E) > for Delete. I'd like it to send ^? (ASCII DEL, 0x7F) so that ^H can be > used by applications (e.g. emacs). This is how I've always configured > other terminal emulators that I've used, and it has worked well. > > I believe Cygwin just repeats what it gets from Windows. Typically for > the console this would changed via keymaps, but I don't see that Cygwin > uses this. I don't want to change my mapping in Windows as obviously > that would mess up my native environment. Is there a low level way to > change the keymap for Cygwin? If not is there a source hack I could > implement (and if so where in the source should I look)? `stty erase ^?', IIRC. -- Elfyn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/