Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <37C51D51.A0E034E@vinschen.de> Date: Thu, 26 Aug 1999 12:56:17 +0200 From: Corinna Vinschen X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com, Chris Faylor Subject: Re: Cursors do not work in bash under Win98 References: <37BEE03D DOT 937393EF AT di DOT fct DOT unl DOT pt> <5906 DOT 990821 AT is DOT lg DOT ua> <37C018A5 DOT 2574DC29 AT di DOT fct DOT unl DOT pt> <19990822133711 DOT C957 AT cygnus DOT com> <37C0678A DOT E9F373E5 AT vinschen DOT de> <19990822183809 DOT B1175 AT cygnus DOT com> <19990822184136 DOT A1322 AT cygnus DOT com> <37C11145 DOT AA5E23E5 AT vinschen DOT de> <19990823105008 DOT A13734 AT cygnus DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Chris Faylor wrote: > > On Mon, Aug 23, 1999 at 11:15:49AM +0200, Corinna Vinschen wrote: > >Chris Faylor wrote: > >> >On Sun, Aug 22, 1999 at 11:11:38PM +0200, Corinna Vinschen wrote: > >> >[...] > >> >>All commands never worked with a vi under cygwin. AFAIK this is a > >> >>problem of native keyboards under win32. The key combinations > >> >>doesn't unfortunately generate any ascii characters. On the german > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Remember this... > > > >> Actually, I just tried ctrl-6 and ctrl-] and both "work form me". > > > >Congratulations! > >Maybe you are using an american keyboard? ;) > > Ah. Yes. The fact that I was using an American keyboard was kinda what > started this. Remember? > > >BTW: When I use american keyboard layout with my german keyboard the > >ctrl-] works but ctrl-6 and ctrl-^ (Ahhh, I see, it's the same key on > >american keyboards... now I remember again...) still doesn't work. Hi! Maybe, this mail is a bit painful for me but I have really never tested it before: After checking the german keyboard settings more detailed, I found that the above mentioned command yet work! It seems that on non-american keyboards the control characters are generated by the same _keys_ as on the american keyboard and not by the keys with the corresponding ascii character as I have expected. The following appears on the german keyboard: - ctrl-6 is really a ctrl-^ which is ASCII \036. The circumflex is generated with shift-6 on am. keyb. So the same ascii code is generated by ctrl-shift-6 on ge. keyb. - ctrl-] is ASCII \035. The right bracket is generated by the rightmost key in the second row (the row with the TAB key) besides the return key on am. keyb. So the same ascii code is generated by ctrl-+ on ge. keyb. - Moreover I found: ctrl-\ is ASCII \034. The backslash is generated by the rightmost key in the third row besides the return key on the am. keyb. So the same ascii code is generated by ctrl-# on ge. keyb. Chris, your tiny patch to fhandler_console.cc to let ctrl-6 work as ASCII \036 works in console window on ge. keyb., too, so I think it will work on any native keyboard layout with latin character set. Of course, in a terminal emulation one has to use the standard keys as described above (ctrl-shift-6, ctrl-+ and ctrl-# on ge. keyb.). I would be _very_ interested in experiences with other native keyboards. Would other readers of this mailing list be so kind to tell me, if the mentioned control characters are generated in the same way on their keyboards? Best Regards, Corinna -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com