Re: problem about keyboard

2010-04-05 Thread Jon TURNEY

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



problem about keyboard

2010-04-01 Thread kyle @ gmail

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



Re: problem about keyboard

2010-04-01 Thread Bob Kline
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 QA, 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:bkl...@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/



Re: Big Problem about keyboard/mapping

2003-02-14 Thread Christopher Faylor
Go back to http://cygwin.com/lists.html and you'll see a specific
mailing list for Cygwin/XFree86 questions.

I am redirecting this message there.

On Fri, Feb 14, 2003 at 11:57:04AM +0200, [EMAIL PROTECTED] wrote:
ok. lets start by the system specs:
i have here on my work several server, but now im talking about clients
and one server.

Computer1(clients): Cygwin newest version. running under windows2000
Computer2(servers): HP-UX 10.20 i gues is that version. but anyway HP-UX
witch X

So i need to make keyboard to work on hp-ux via x instance.. (this
charters ???) cygwin as Xserver..

i have tryied all by xmodmap but that not helps.
MAIN QUESTION:
Last choice is modifying cygwin itself keymap to layout FI. So how i
change that on cygwin CONSOLE? also needed know the mapping sources to
modifying if nessesury. i have already readed faqs and documents :) i have
tryied to make keyboards working one week on X. (and worked but none on
dtterm)

We will use cygwin on future becouse it's free, now we use exceed and that
is very expencive to our company witch lot of licensess.

so i give many thanks for reading this and helping. im sorry about my
english too (it's not good)



Re: Big Problem about keyboard/mapping

2003-02-14 Thread Andrew Markebo
Hello

xkeycaps is a great tool for messing around with the keyboard layout
in your X-session.

   /Andy

[...]
|Last choice is modifying cygwin itself keymap to layout FI. So how i
|change that on cygwin CONSOLE? also needed know the mapping sources to
|modifying if nessesury. i have already readed faqs and documents :) i have
|tryied to make keyboards working one week on X. (and worked but none on
|dtterm)

-- 
 The eye of the beholder rests on the beauty!




Re: Big Problem about keyboard/mapping

2003-02-14 Thread Christopher Faylor
On Fri, Feb 14, 2003 at 04:14:25PM +0200, [EMAIL PROTECTED] wrote:
no you don't understanded my question, read all before starting redirect.
look my main question!


MAIN QUESTION:
Last choice is modifying cygwin itself keymap to layout FI. So how i
change that on cygwin CONSOLE?


sorry but i did not asken anything about X. i only writted like faq says
(to write all to give much information as possible)

You're asking me to accept your premise that xmodmap doesn't help.
Sorry, but I don't believe you.

AFAICT, you have an X-based problem here.  Use the cygwin-xfree mailing
list for help.

As far as Cygwin is concerned, there is no mapping performed by cygwin.
It uses whatever Windows offers.  The code in fhandler_console.cc controls
how some keystrokes are handled but I doubt that is what you want.  You
want to use X mechanisms to solve your problem.

 Go back to http://cygwin.com/lists.html and you'll see a specific
 mailing list for Cygwin/XFree86 questions.

 I am redirecting this message there.

 On Fri, Feb 14, 2003 at 11:57:04AM +0200, [EMAIL PROTECTED] wrote:
ok. lets start by the system specs:
i have here on my work several server, but now im talking about clients
 and one server.

Computer1(clients): Cygwin newest version. running under windows2000
 Computer2(servers): HP-UX 10.20 i gues is that version. but anyway
 HP-UX witch X

So i need to make keyboard to work on hp-ux via x instance.. (this
 charters ???) cygwin as Xserver..

i have tryied all by xmodmap but that not helps.
MAIN QUESTION:
Last choice is modifying cygwin itself keymap to layout FI. So how i
 change that on cygwin CONSOLE? also needed know the mapping sources to
 modifying if nessesury. i have already readed faqs and documents :) i
 have tryied to make keyboards working one week on X. (and worked but
 none on dtterm)

We will use cygwin on future becouse it's free, now we use exceed and
 that is very expencive to our company witch lot of licensess.

so i give many thanks for reading this and helping. im sorry about my
 english too (it's not good)