delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/16/01:49:53

Message-ID: <437AD66B.1050306@cwilson.fastmail.fm>
Date: Wed, 16 Nov 2005 01:49:15 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com
Subject: Re: Making the command console stay on top
References: <14CEE0B69DBDFC41A192613D8B4098CA02AD0324 AT XCH-CORP DOT staktek DOT com> <437AB5A3 DOT 3040004 AT ateb DOT com>
In-Reply-To: <437AB5A3.3040004@ateb.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

Reid Thompson wrote:
> Terry Dabbs wrote:
> 
>> I have an application written and compiled using gcc and ncurses (for
>> the colors), in the cygwin environment. This application gets
>> information from a database, and displays it to an operator running a
>> machine telling them what program to input (among other things).
>>
>> The problem is that when they go to enter the program name, the console
>> window immediately falls behind that of the application they are
>> entering the data into, and they can't read it.
>>
>> I'm using a shortcut to start this, and the level of display of the
>> window is not one of the options. Does anyone (that will answer) know a
>> way to start this window with the attributes needed so it will not be
>> covered when another application is touched by the mouse?

I suggest downloading the source to the 'run' package, and modifying 
that code to set the flag you want.  Look in run.c, start_child() function.

Then, you can use your modified 'run.exe' program to launch 'rxvt.exe -e 
bash' (but not cmd.exe) in your desired mode.

--
Chuck

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