On Jun 20 22:26, Andrew DeFaria wrote: > On 06/20/2012 07:05 PM, Larry Hall (Cygwin) wrote: > >>Stated differently, I want the backspace key to move backwards > >>one space and to erase the previous character, like, for > >>example, the less man page says it's supposed to. > >Now methinks you're just being obtuse. > I'm not trying to be obtuse. I just want backspace to do a backspace. > >Let me restate what I see in my environment. Erase is set as ^? > >but I didn't set it anywhere. So to my way of thinking, this is > >the default. > Makes sense. > >This makes me think that maybe you have erase set to ^H somewhere? > Yes, I set it in my ~/.bashrc. Because I believe that big backspace > key that I love to hit sent C-h. > >What does your .minttyrc look like? > As I said before "I get this problem with Console - another, > non-Cygwin terminal emulator and > I see this problem with gnome-terminal. I don't see this problem > with mintty". As such I'm not sure how .minttyrc applies here... > >Other resource files? > Which would you like? > > I think you missed the part where I said "I don't see this problem > with mintty". I see the problem when I use Console ( > http://sourceforge.net/projects/console/) a non-cygwin terminal > emulator that I use because it handle's Windows /dev/conin and > /dev/conout better than Cygwin. I also see this problem when I use > my home Ubuntu system's gnome-terminal coupled with an ssh to Cygwin > running in a Windows 7 VM in my LAN. > > I found where I can tell gnome-terminal to use C-h for backspace. > Thanks - that problem is solved. I need to talk to the developer of > Console to ask him about why Console was not honoring it's > "Backspace == Control-H setting". And how he handles /dev/conin & > conout so that perhaps mintty could be made better (Basically > Windows programs like say cleartool and ActiveState Perl work with > Console - i.e. typing cleartool will show you the cleartool problem. > I think he's running a hidden cmd shell... anyways)
I'm not quite sure what you're trying to accomplish by enforcing ^H. The Cygwin console as well as mintty, the Linux console or any X terminal emulation I'm aware of default to ^? to be generated by the backspace key, and stty erase is by default set to ^? as well, usually. Why don't you just use the default? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple