Mail Archives: cygwin/2010/09/15/12:16:05
On Wed, Sep 15, 2010 at 11:47:34PM +0800, Chan Kar Heng wrote:
>Chan Kar Heng wrote:
>> I use cygwin to ssh into numerous systems very often, such as AIX, HP
>> UX, Solaris, DEC Alpha. I've always managed to send ctrl-c (by pressing
>> ctrl-]) to the app running on that platform. There was only 1 rare case
>> when it didn't.
>> Not sure what you mean by "native" apps... If you could clarify?
>>
>> KarHeng
>>
>> Ilia K. wrote:
>>> On Tue, Sep 14, 2010 at 7:58 PM, Chan Kar Heng <chankarheng AT gmail DOT com>
>>> wrote:
>>>> Hi there.
>>>>
>>>> I've had the same problem in the past.
>>>> Posted a temporary solution here:
>>>>
>>>> http://www.cygwin.com/ml/cygwin/2009-02/msg00403.html
>>>
>>> This is an interesting hack, but unfortunately it won't work for
>>> "native" apps, only for cygwin-linked.
>
>For those native apps, perhaps you can try sending SIGINT to that CUI
>app using kill?
This won't work for the reason I previously mentioned.
>Else, find a Windows app that is capable of pushing a Ctrl-C into the
>keyboard buffer. If you know some programming, it's not difficult to
>write if you know the correct APIs to call.
That might work if the windows process is expecting input but it
probably will fail otherwise.
cgf
--
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
- Raw text -