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 Message-ID: <3F44C63C.3060203@ianbrandt.com> Date: Thu, 21 Aug 2003 09:16:44 -0400 From: Ian Brandt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cygwin Subject: Re: Map Backspace to ASCII DEL? References: <200308211045 DOT LAA11912 AT aps5 DOT ph DOT bham DOT ac DOT uk> In-Reply-To: <200308211045.LAA11912@aps5.ph.bham.ac.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Dr.D.J.Picton wrote: [snip] > I think that rxvt has the functionality which you require. For example: > > rxvt -backspacekey ^? -deletekey ^h > > will give you a session in which the backspace key generates ^h and the > delete key generates ^?. (It might then be useful to issue stty -erase ^? > so that you can use the backspace key to delete characters in simple > terminal input.) > > In the case of emacs, have you tried running it under X11? In this mode it > can distinguish between the backspace key (which it interprets as a > 'delete last character' function) and ^h (which calls the help command). rxvt is purely an X application though, no? I'm trying to get this going under the Cygwin console. For X I could use xmodmap which would change the binding before it got to rxvt, xterm, emacs, etc. I in fact often do use X by ssh'ing to a remote system with port forwarding. I use Exceed as my local X server and it has a xmodmap equivalent. It's nice because I can use the mouse for cut/copy/paste, but it is somewhat slow. For a quick session the cygwin terminal would be much more efficient, if I could get it to function properly! (Besides the backspace problem I'm having issues with running full screen applications such as less and emacs -nw. (It seems that some terminal capability is not performing as advertised as the screen ends up garbled on occasion. This is my next challenge.) Regards, Ian -- 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/