delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/20/19:57:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <thorsten AT thorstenkampe DOT de>
Subject: Re: remapping Cygwin 'bash' readline functions to PC keys
Date: Fri, 21 Feb 2003 01:56:53 +0100
Lines: 67
Message-ID: <g7nf1wr646xs$.dlg@thorstenkampe.de>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019