Re: Cannot type in xterm

2008-12-18 Thread Jon TURNEY

Lee S Parsons wrote:
Never mind, I found a solution.  I found that, just as the FAQ says, the 
file

/usr/X11R6/lib/X11/XKeysymDB
Does not exist.  However, as the file
/usr/share/X11/XKeysymDB
does, I created a symbolic link pointing from the inexistent file to the 
one that does now exist, and life is good.


For reasons I cannot explain, the updated startxwin.bat file did not 
resolve this situation on its own, nor did startxwin.sh.


The meaning of 'unset' as used in this FAQ is perhaps ambiguous.  If 
'microsoft services for unix' is adding these variables with (as far as 
Cygwin/X is concerned) bogus values to the environment, it's not enough to 
simply not set them in startxwin.bat, they must be unset or reset to the default.


If startxwin.bat had originally unset these environment variables, rather than 
setting them to the (now incorrect) default, perhaps we wouldn't be having 
this particular problem now.  Things are always easy with hindsight...


So perhaps startxwin.bat needs something like this adding?

unset XAPPLRESDIR XCMSDB XKEYSYMDB XNLSPATH

--
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: Cannot type in xterm

2008-12-17 Thread Lee S Parsons
Never mind, I found a solution.  I found that, just as the FAQ says, the 
file

/usr/X11R6/lib/X11/XKeysymDB
Does not exist.  However, as the file
/usr/share/X11/XKeysymDB
does, I created a symbolic link pointing from the inexistent file to the 
one that does now exist, and life is good.


For reasons I cannot explain, the updated startxwin.bat file did not 
resolve this situation on its own, nor did startxwin.sh.


thanks
Lee


--
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: Cannot type in xterm

2008-12-17 Thread Larry Hall (Cygwin X)

Lee S Parsons wrote:
Never mind, I found a solution.  I found that, just as the FAQ says, the 
file

/usr/X11R6/lib/X11/XKeysymDB
Does not exist.  However, as the file
/usr/share/X11/XKeysymDB
does, I created a symbolic link pointing from the inexistent file to the 
one that does now exist, and life is good.


For reasons I cannot explain, the updated startxwin.bat file did not 
resolve this situation on its own, nor did startxwin.sh.


Did you read the entire FAQ entry?

If you are (perhaps unintentionally) using a copy of the old startxwin.bat 
(perhaps under another name) to start the X server, remove the environment 
variables XAPPLRESDIR, XCMSDB, XNLSPATH and XKEYSYMDB from it, or 
(preferrably) use the updated startxwin.bat.


So you're apparently using an old startxwin.bat/.sh.  While you can
certainly tweak things to make these work in the new environment, if
it's all the same to you, things will go easier for you if you use the
new scripts with the new environment.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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