This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 'run xterm' fails to open a window


On Fri, Nov 20, 2009 at 4:25 PM, Jon TURNEY <jon.turney@dronecode.org.uk> wrote:
> On 13/11/2009 03:14, Ken Brown wrote:
>>
>> On 11/12/2009 3:17 PM, Jon TURNEY wrote:
>>>
>>> On 10/11/2009 23:44, Mike Ayers wrote:]
>>>>
>>>> Apparently, run.exe is not providing stdout/stderr to dump to. The
>>>> workaround:
>>>>
>>>> [SNIP]
>>>> C:\mike>C:\cygwin\bin\run.exe -p /usr/bin sh -c "gvim>/dev/null 2>&1"
>>>> C:\mike>
>>>> [/SNIP]
>>>
>>> Wait, are you saying that the process that run starts is blocked if it
>>> tries to output anything?
>>
>> Ah, so this explains my xterm problem that started this thread. When I
>> start xterm from a shell, I always get the message
>>
>> Warning: Missing charsets in String to FontSet conversion
>>
>> When I start xterm via run, this message apparently has nowhere to go
>> and the xterm process is blocked. Mike's workaround (with 'gvim'
>> replaced by 'xterm') solves the problem, as he said. Is this a bug in run?
>
> It does kind of look like some problem with run, but not a universal one,
> 'run xterm' has been working as expected for me, even when it has to output
> something.
>
> Experimenting a bit, this seems to be related to having CYWIN=tty set in the
> windows environment. ÂIf I remove that, I can reproduce the problem you see.
>
> I really don't understand the invisible console stuff well enough to attempt
> a fix, though...
>


Ok thanks, yes CYGWIN=tty does fix the issue!
many many thanks!
JLM



-- 
KISS! (Keep It Simple, Stupid!)
(garde le simple, imbÃcile!)
"mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses
simples et qui marchent, espÃce d'imbÃcile!"
-----------------------------
"Si vous pensez que vous Ãtes trop petit pour changer quoique ce soit,
essayez donc de dormir avec un moustique dans votre chambre." Betty
Reese
http://www.grainesdechangement.com/citations.htm

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]