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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: remapping Cygwin 'bash' readline functions to PC keys Date: Fri, 21 Feb 2003 01:56:53 +0100 Lines: 67 Message-ID: References: <5 DOT 2 DOT 0 DOT 9 DOT 0 DOT 20030219135548 DOT 00aac350 AT rogue DOT codemeta DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 0 DOT 20030220175313 DOT 130f5030 AT rogue DOT codemeta DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: 40tude_Dialog/2.0.3.1 * Lee D. Rothstein (03-02-21 00:57 +0100) > Are you saying that I should try using use 'rxvt' in a console window as the > interface to *Cygwin*? No. man rxvt. It's not rxvt in a console window but instead of. "Cygwin" does not exist; it's just an illusion. All you interact with is a shell - bash, zsh or whatever. MAN RXVT. > Remember, I'm not interfacing to another host when I run 'bash', in this > instance. 'bash' is *not* remote. It's *not* running on *u*x. It's running > on the local W2K or WXP machine running Cygwin. Yes. MAN RXVT. Just run rxvt and less /usr/doc/Cygwin/rxvt-2.7.9.README > Can I only do that if I run the 'rxvt' server (daemon) too? There are no rxvt daemons or servers except in christian mythology. > And, if so, would I still be able to launch windowed (GUI) Windows > applications from a 'bash' command prompt? Yes. > If this were to work, wouldn't that mean that 'rxvt' server or client was > looking at the scan codes? So 'rxvt' server operates at a lower level than > the console handler? rxvt doesn't do any keycode scanning except for the backspace key. readline does that for bash and it is configured in ~/.inputrc. > Or, is all of this a problem with the implementation of the terminal > (console) handler (or, terminfo translator) in Cygwin? > > Or, am I more confused than I thought I was? Way beyond. > BTW, my guess is the problem is not the map. but whether some level of > console handler looks at the character output from the keyboard rather than > the scan codes, and whether the Cygwin DLL writers want to go down to the > right level? WAY BEYOND. > At any rate what is the local 'terminfo' database on Cygwin for? man terminfo > ssh in? No: toe | grep ssh > rxvt in? For example: toe | grep rxvt > Incoming 'telnet' traffic? Not really: toe | grep telnet Thorsten -- Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory) Content-Transfer-Warning: message contains innuendos not suited for children under the age of 18 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/