Re: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-14 Thread Maarten Vanneste
Hello again,

Thanks for the help and feedback so far. However, I am still
struggling with the keyboard issue, i.e. I cannot use it in any editor
after updating the X11 package earlier this week. I have just updated
once more (reinstalling the X11 package), rebooted, but that did not
help either. I also ran ash and did /bin/rebaseall, but that did not
change. I have no Microsoft Services for Unix installed either. The
tmp/XWin.log looks similar as the one I sent two days ago.

I am no expert whatsoever as I use cygwin as an extremely useful tool
rather than a developer, so I would highly appreciate if someone could
point me how I can sort this out in an easy way, by either suggestions
to correct it or by steps to take to go back to the previous version.
That would be highly apprciated ! From the reports, it seems that many
people have issues after updating. As mentioned, updates typically go
very smooth with cygwin, except this time for me.

Looking forward to hearing from you,
With best regards / Vennlig hilsen
Maarten





On Wed, Nov 12, 2008 at 8:39 PM, Maarten Vanneste
[EMAIL PROTECTED] wrote:
 Hello,

 I am currently at home (where I have not yet updated for a few days).
 I usually start it by double-clicking the XWin starter followed by the
 cygwin both on the desktop (coming from the installation).

 My .bashrc looks fairly simply, as I do not set anything in particular
 (except some GMT and SeismicUnix). Nothing like these parameters you
 specify.

 I would nevertheless expect to have the latest setup, as this is
 something I do weekly. Again, no problems until this update this
 morning, neither at home nor at the office. I have noticed that the
 icon indeed has changed, as mentioned, suggesting it to have updated.

 With best regards / Vennlig hilsen
 Maarten




 On Wed, Nov 12, 2008 at 6:07 PM, Yaakov (Cygwin Ports)
 [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Maarten Vanneste wrote:
 Thanks for your quick reply and suggestions. The nedit suggestion does
 the trick. I notice that the fonts are a bit messed up, as the text
 appears very big (much larger than the original setting).

 The keyboard issue is not sorted out (and it does not work with nedit
 either). Cannot find this XKEY..., neither in the window environment
 nor using cygcheck -c -s -r

 Are you using MSFU?

 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#microsoft-services-for-unix

 Or do you have these variables set in your Cygwin environment (e.g. in
 ~/.bashrc)?  You shouldn't need to set them.


 Yaakov
 Cygwin/X
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (Cygwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEAREIAAYFAkkbDWMACgkQpiWmPGlmQSND2QCghqQbcGlU1qREidk6gQ7bp1wG
 CPAAoPuNIYco3wJOnvz9IN1OQoIkRdHp
 =YBGn
 -END PGP SIGNATURE-

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




--
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: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-14 Thread Maarten Vanneste
Hello,

Interesting. I quit cygwin including killing the X-server. Restarted
my cygwin by double clicking the cygwin icon, executed startxwin.sh,
which prompted an X-window to open, in which I can now type !

Going back to the cygwin window in which I typed the startxwin.sh
command, I can now open xemacs successfully and can edit. This seems
like a solution.

So, the x-server shortcut on the desktop may be at odds. This one has
the following characteristics:
Target type: MS-DOS batch file
Target location: Singular
Target: C:\cygwin\lib\Singular\startxserver.bat
Start in: C:\cygwin\usr\X11R6\bin

Should I change somethings there ?

The cygwin shortcut has the following properties:
Target type: MS-DOS batch file
Target location: cygwin
Target: C:\cygwin\cygwin.bat
Start in: (left blank)

I have now made sure to have the full X11 package as well, as I
noticed that some (only a handful) were not yet selected. However, I
doubt whether this was the reason as cygwin prompts when dependencies
occur.

The keyboard is set up as American per default, as I think this is
much easier to work with over the Norwegian one (or French or
whatever).

Greatly appreciated !

With best regards / Vennlig hilsen
Maarten



On Fri, Nov 14, 2008 at 12:58 PM, Jon TURNEY
[EMAIL PROTECTED] wrote:
 Maarten Vanneste wrote:
 Hello again,

 Thanks for the help and feedback so far. However, I am still
 struggling with the keyboard issue, i.e. I cannot use it in any editor
 after updating the X11 package earlier this week. I have just updated
 once more (reinstalling the X11 package), rebooted, but that did not
 help either. I also ran ash and did /bin/rebaseall, but that did not
 change. I have no Microsoft Services for Unix installed either. The
 tmp/XWin.log looks similar as the one I sent two days ago.

 Hi Maarten,

 Sorry to see you are still having problems.

 Can you start a cygwin bash shell, run startxwin.sh and then copy and paste
 the output into a mail? Also confirm that your keyboard doesn't work for you
 when the X server is started in this fashion.

 Oh, and satisfy my curiosity, are you really using a US keyboard, or a
 Norwegian one?

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



--
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: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-14 Thread Maarten Vanneste
What I forgot to mention: There is no output generated by executing
startxwin.sh, just an x-window opening that I can use as a terminal.

 Can you start a cygwin bash shell, run startxwin.sh and then copy and paste
 the output into a mail? Also confirm that your keyboard doesn't work for you
 when the X server is started in this fashion.


With best regards / Vennlig hilsen
Maarten





On Fri, Nov 14, 2008 at 1:14 PM, Maarten Vanneste
[EMAIL PROTECTED] wrote:
 Hello,

 Interesting. I quit cygwin including killing the X-server. Restarted
 my cygwin by double clicking the cygwin icon, executed startxwin.sh,
 which prompted an X-window to open, in which I can now type !

 Going back to the cygwin window in which I typed the startxwin.sh
 command, I can now open xemacs successfully and can edit. This seems
 like a solution.

 So, the x-server shortcut on the desktop may be at odds. This one has
 the following characteristics:
 Target type: MS-DOS batch file
 Target location: Singular
 Target: C:\cygwin\lib\Singular\startxserver.bat
 Start in: C:\cygwin\usr\X11R6\bin

 Should I change somethings there ?

 The cygwin shortcut has the following properties:
 Target type: MS-DOS batch file
 Target location: cygwin
 Target: C:\cygwin\cygwin.bat
 Start in: (left blank)

 I have now made sure to have the full X11 package as well, as I
 noticed that some (only a handful) were not yet selected. However, I
 doubt whether this was the reason as cygwin prompts when dependencies
 occur.

 The keyboard is set up as American per default, as I think this is
 much easier to work with over the Norwegian one (or French or
 whatever).

 Greatly appreciated !

 With best regards / Vennlig hilsen
 Maarten



 On Fri, Nov 14, 2008 at 12:58 PM, Jon TURNEY
 [EMAIL PROTECTED] wrote:
 Maarten Vanneste wrote:
 Hello again,

 Thanks for the help and feedback so far. However, I am still
 struggling with the keyboard issue, i.e. I cannot use it in any editor
 after updating the X11 package earlier this week. I have just updated
 once more (reinstalling the X11 package), rebooted, but that did not
 help either. I also ran ash and did /bin/rebaseall, but that did not
 change. I have no Microsoft Services for Unix installed either. The
 tmp/XWin.log looks similar as the one I sent two days ago.

 Hi Maarten,

 Sorry to see you are still having problems.

 Can you start a cygwin bash shell, run startxwin.sh and then copy and paste
 the output into a mail? Also confirm that your keyboard doesn't work for you
 when the X server is started in this fashion.

 Oh, and satisfy my curiosity, are you really using a US keyboard, or a
 Norwegian one?

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




--
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: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-14 Thread Maarten Vanneste
I can confirm that it works indeed. The only difference is that
another window pups up.
Great help !
Thanks, and enjoy the weekend !
Maarten





On Fri, Nov 14, 2008 at 3:42 PM, Jon TURNEY [EMAIL PROTECTED] wrote:
 Marco Atzeri wrote:
 --- Maarten Vanneste  ha scritto:

 Hello,

 Interesting. I quit cygwin including killing the X-server. Restarted my
 cygwin by double clicking the cygwin icon, executed startxwin.sh, which
 prompted an X-window to open, in which I can now type !

 Going back to the cygwin window in which I typed the startxwin.sh
 command, I can now open xemacs successfully and can edit. This seems like
 a solution.

 So, the x-server shortcut on the desktop may be at odds. This one has the
 following characteristics: Target type: MS-DOS batch file Target
 location: Singular Target: C:\cygwin\lib\Singular\startxserver.bat Start
 in: C:\cygwin\usr\X11R6\bin

 Aha! This script is provided by the package singular-icons, and is in need of
  a small update (or just redirecting to point at the startxwin.bat script)

 Should I change somethings there ?

 I assume

 Target: C:\cygwin\bin\startxwin.bat Start in: C:\cygwin\bin

 That should work.


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



--
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: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-12 Thread Maarten Vanneste
Hello,
I have attached the file requested. I would hope that there will be a
patch released soon that sorts out these issues automatically. That
would certainly help for those (as me) who are no experts on these
matters (but find cygwin extremely useful).
Thanks for your feedback !
Maarten


On Wed, Nov 12, 2008 at 3:46 PM, Jon TURNEY [EMAIL PROTECTED] wrote:
 Jon TURNEY wrote:
 Maarten Vanneste wrote:

 I am not doing anything different as before. The Xemacs editor opens
 fine, however, I had to install additional fonts as it became nearly
 impossible to read the scripts. I just found out that I however cannot
 type into the editor, same for emacs.

 The problem where the keyboard doesn't appear to work may be caused if you
 have XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB environment variable.  The
 startxwin.bat batch file should have been updated to remove this by the
 upgrade, but if you have a different way of starting the server it may still
 be in your environment. If it is, remove it :-)

 But rather than relying on my wild guesses, it might be better if you posted
 your /tmp/Xwin.log to see if that says anything useful...

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




XWin.log
Description: Binary data
--
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: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-12 Thread Maarten Vanneste
Hello again,

Thanks for your quick reply and suggestions. The nedit suggestion does
the trick. I notice that the fonts are a bit messed up, as the text
appears very big (much larger than the original setting).

The keyboard issue is not sorted out (and it does not work with nedit
either). Cannot find this XKEY..., neither in the window environment
nor using cygcheck -c -s -r

A bit strange. Is it an option to go back to the previous X11
installation, if possible ?

With best regards / Vennlig hilsen
Maarten





On Wed, Nov 12, 2008 at 1:45 PM, Jon TURNEY [EMAIL PROTECTED] wrote:
 Maarten Vanneste wrote:
 Dear all,

 I have just updated my cygwin settings, something I do on a weekly
 basis. This typically goes without any trouble. Now I have noticed
 that there was a substantial update on X11. After the update, the
 nedit editor fails to operate, returning the following error message:

 X Error of failed request: BadMatch (invalid parameter attributes)
 Major opcode of failed request: 70 (X_PolyFillRectangle)
 Serial number of failed request: 289
 Current serial number in output stream: 299

 (The last two numbers change after rebooting).

 nedit needs rebuilding with a patch to work around an issue in lesstif with
 the latest X server.

 It appears this hasn't happened yet.

 If I am understanding this mail [1] correctly, until this happens, you can
 work around the issue by having XLIB_SKIP_ARGB_VISUALS in your enviroment,
 e.g. try running nedit like this...

 $ export XLIB_SKIP_ARGB_VISUALS=1
 $ nedit

 and this appears to work for me when I try it.

 [1] http://cygwin.com/ml/cygwin-apps/2008-11/msg00078.html

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



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



nedit gives X-error of failed request - also issues with (x)emacs

2008-11-12 Thread Maarten Vanneste
Dear all,

I have just updated my cygwin settings, something I do on a weekly
basis. This typically goes without any trouble. Now I have noticed
that there was a substantial update on X11. After the update, the
nedit editor fails to operate, returning the following error message:

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 70 (X_PolyFillRectangle)
Serial number of failed request: 289
Current serial number in output stream: 299

(The last two numbers change after rebooting).

I am not doing anything different as before. The Xemacs editor opens
fine, however, I had to install additional fonts as it became nearly
impossible to read the scripts. I just found out that I however cannot
type into the editor, same for emacs.
I am quite keen on nedit for some reason or another, so I would prefer
using nedit instead. I have not encountered anything like this prior
to the latest update, but it is quite frustrating.

After the first failure, I have reinstalled the entire X11 package
successfully. I have also reinstalled nedit, but this did not sort out
this problem. Obviously, something went wrong but I have no clue what
happened.

Running cygcheck -c returns no errors or incomplete installations.

Any advice or suggestions ?

With best regards / Vennlig hilsen

Maarten

--
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: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-12 Thread Maarten Vanneste
Hello,

I am currently at home (where I have not yet updated for a few days).
I usually start it by double-clicking the XWin starter followed by the
cygwin both on the desktop (coming from the installation).

My .bashrc looks fairly simply, as I do not set anything in particular
(except some GMT and SeismicUnix). Nothing like these parameters you
specify.

I would nevertheless expect to have the latest setup, as this is
something I do weekly. Again, no problems until this update this
morning, neither at home nor at the office. I have noticed that the
icon indeed has changed, as mentioned, suggesting it to have updated.

With best regards / Vennlig hilsen
Maarten




On Wed, Nov 12, 2008 at 6:07 PM, Yaakov (Cygwin Ports)
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Maarten Vanneste wrote:
 Thanks for your quick reply and suggestions. The nedit suggestion does
 the trick. I notice that the fonts are a bit messed up, as the text
 appears very big (much larger than the original setting).

 The keyboard issue is not sorted out (and it does not work with nedit
 either). Cannot find this XKEY..., neither in the window environment
 nor using cygcheck -c -s -r

 Are you using MSFU?

 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#microsoft-services-for-unix

 Or do you have these variables set in your Cygwin environment (e.g. in
 ~/.bashrc)?  You shouldn't need to set them.


 Yaakov
 Cygwin/X
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (Cygwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEAREIAAYFAkkbDWMACgkQpiWmPGlmQSND2QCghqQbcGlU1qREidk6gQ7bp1wG
 CPAAoPuNIYco3wJOnvz9IN1OQoIkRdHp
 =YBGn
 -END PGP SIGNATURE-

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



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