public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* problem about keyboard
@ 2010-04-02 0:40 kyle @ gmail
2010-04-02 2:35 ` Bob Kline
2010-04-05 21:26 ` Jon TURNEY
0 siblings, 2 replies; 3+ messages in thread
From: kyle @ gmail @ 2010-04-02 0:40 UTC (permalink / raw)
To: cygwin-xfree
Dear Sir,
I downloaded and installed cygwin on this Thuesday,
but I found that I can not type anything in X-server console.
I read the Q&A, and it said this problem is caused by old version of
startxwin.bat
But since this is my first time to install cygwin, there is no
startxwin.bat in my cygwin directory.
I've also checked if there is anything setting XKEYSYMDB, but it replied
nothing.
Could you give me any suggest to fix that problem? (My OS is windows
vista)
Thanks.
BR
Kyle
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem about keyboard
2010-04-02 0:40 problem about keyboard kyle @ gmail
@ 2010-04-02 2:35 ` Bob Kline
2010-04-05 21:26 ` Jon TURNEY
1 sibling, 0 replies; 3+ messages in thread
From: Bob Kline @ 2010-04-02 2:35 UTC (permalink / raw)
To: cygwin-xfree
kyle @ gmail wrote:
> Dear Sir,
> I downloaded and installed cygwin on this Thuesday,
> but I found that I can not type anything in X-server console.
> I read the Q&A, and it said this problem is caused by old version of
> startxwin.bat
> But since this is my first time to install cygwin, there is no
> startxwin.bat in my cygwin directory.
> I've also checked if there is anything setting XKEYSYMDB, but it
> replied nothing.
>
> Could you give me any suggest to fix that problem? (My OS is windows
> vista)
> Thanks.
I posted the solution to this problem last month, but I don't see my
message in the archives, so here it is again:
On 3/14/2010 12:20 PM, Bob Kline wrote:
> I can live with working around the second problem (that launching X
> using the shortcut doesn't work at all) by invoking startxwin.exe
> directly. I'm much more eager to solve the original problem (X no
> longer recognizes input from the keyboard).
Well, I have resolved both problems with one stroke. I dug out a copy of
the old startxwin.bat script from a backup archive, doctored it up a
little (mostly to make sure old environment variables are cleared out)
and I'm using the script to launch X instead of the compiled binary, of
which I was suspicious from the start. I mean, making a process opaque
so users won't have to understand how it works is such a Microsoft way
of doing things. At any rate, X no longer blows up with the vague error
message, and apps running under X now see the keyboard events.
Thanks to those who responded with suggestions. Just in case someone
else stumbles onto this problem, I've attached a copy of the script I'm
using.
------------------------------------------------------------------------
@echo off
c:
set DISPLAY=127.0.0.1:0.0
set CYGWIN_ROOT=\cygwin
set RUN=%CYGWIN_ROOT%\bin\run -p /usr/X11R6/bin
set PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin
set XAPPLRESDIR=
set XCMSDB=
set XKEYSYMDB=
set XNLSPATH=
if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0
:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix
%RUN% XWin -multiwindow -clipboard -silent-dup-error
--
Bob Kline
http://www.rksystems.com
mailto:bkline@rksystems.com
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem about keyboard
2010-04-02 0:40 problem about keyboard kyle @ gmail
2010-04-02 2:35 ` Bob Kline
@ 2010-04-05 21:26 ` Jon TURNEY
1 sibling, 0 replies; 3+ messages in thread
From: Jon TURNEY @ 2010-04-05 21:26 UTC (permalink / raw)
To: cygwin-xfree; +Cc: kyle.holiday
On 02/04/2010 01:40, kyle @ gmail wrote:
> I downloaded and installed cygwin on this Thuesday,
> but I found that I can not type anything in X-server console.
> I read the Q&A, and it said this problem is caused by old version of
> startxwin.bat
> But since this is my first time to install cygwin, there is no
> startxwin.bat in my cygwin directory.
> I've also checked if there is anything setting XKEYSYMDB, but it replied
> nothing.
>
> Could you give me any suggest to fix that problem? (My OS is windows vista)
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
^^^
You might get some more useful replies if you attach your cygcheck output and
XWin.0.log as suggested on that page.
> Documentation: http://x.cygwin.com/docs/
> FAQ: http://x.cygwin.com/docs/faq/
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-05 21:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-02 0:40 problem about keyboard kyle @ gmail
2010-04-02 2:35 ` Bob Kline
2010-04-05 21:26 ` Jon TURNEY
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).