delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/17/21:10:55

X-Spam-Check-By: sourceware.org
Message-ID: <43CDA395.C57DCC4E@dessent.net>
Date: Tue, 17 Jan 2006 18:10:29 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.18: rxvt only accepts control keys from synergy
References: <CECD6E8A589E8447BC6E836C8369AFF5085E96CE AT us-email DOT terastack DOT bluearc DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Elliott Hughes wrote:

> I too have a problem with the combination, but it's a bit more far-reaching. I can't type anything. I know this is the sort of problem you don't like: Cygwin bash(1) works fine, Cygwin rxvt(1) works fine (if I type on an attached keyboard), and "cygwin.bat" running in a "cmd" window works fine (even with keystrokes coming off the net via synergy). But I wondered if anyone else had seen this or had any ideas?

I have no idea what 'synergy' is but it sounds like it's not a Cygwin
program (i.e. it is not linked against cygwin1.dll.)  If that's the case
you will probably not be able to use it in a rxvt window because it will
have no concept of the pty that rxvt presents.  The unix pseudoterminal
doesn't exist in windows, so Cygwin emulates it with a pipe.  Most
non-Cygwin programs don't expect to take interactive input from a pipe
so they buffer the input, which makes it seem as if nothing is
happening.

There's not much you can do about this, other than:

- run the program in a CMD window (without 'tty' in $CYGWIN) -- this
uses a native windows console instead of a pty
- find a Cygwin application to do the same function
- recompile synergy as a Cygwin app or at least to take input unbuffered
from a pipe

Brian

--
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/

- Raw text -


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