Re: ghostscript weirdness

2004-09-08 Thread sven geier
Igor Pechtchanski  cs.nyu.edu> writes:

> I believe this is a bug in ghostscript-x11 dependencies.  The gs
> executable was linked against an older version of the ICE library, back
> when it was still provided under the name of libICE.dll. 

Ah, indeed - that did the trick. I picked up XFree86-lib-compat and now it 
works like a charm (with the slightly hacked 00xorg file in /etc/profile.d).

Thanks a bunch. Boy, I'm glad that it wasn't *just* my stupidity that was at 
fault here... ;)



RE: Locked CTRL key in Matlab using

2004-09-08 Thread Thomas Chadwick
It works with numlock disabled :-) Is there a way to "unmap" NumLock as a
modifier key?
The following thread might be of interest...
http://www.cygwin.com/ml/cygwin-xfree/2002-06/msg00307.html
-Tom
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



Re: Install stalls

2004-09-08 Thread Christopher Faylor
On Wed, Sep 08, 2004 at 03:51:02PM +0100, jp wrote:
>jp wrote:
>>Hi All,
>>I can't seem to get cygwin/X installed. I've tried a clean install of 
>>the whole cygwin enviroment from a few different mirrors.
>>But (regardless of the mirror) it always gets stuck at:
>>
>>Installing
>>xorg-x11-fenc-6.7.0.0-2
>>/usr/X116R6/lib/X11/fonts/encodings/adobe-dingbats.enc.gz
>>
>>If I deselect the fenc package i get stuck here:
>>
>>Installing
>>xorg-x11-fnts-6.7.0.0-1
>>/usr/X116R6/lib/X11/fonts/75dpi/charB08.pcf.gz
>>
>>deslecting that the whole thing installs but I can't startx, as I have 
>>no fonts.
>>
>>I've got ~19Gig free on my HD so its not that.
>>
>>any ideas?
>>
>>
>
>Solved!
>A registry key from an old install was pointing /usr/X11R6/lib/X11/fonts 
>at a disk which no longer there.
>
>Weird that this dir has its own registry key though. I changed the
>key so that it points into the rest of the cygwin install.
>Perhaps I can remove the key but for now that works

The command for manipulating the cygwin mount table is called "mount".

You should use this to manipulate the mont table rather than
manipulating the registry directly.

This is a recording.

cgf


Re: Install stalls

2004-09-08 Thread jp
jp wrote:
Hi All,
I can't seem to get cygwin/X installed. I've tried a clean install of 
the whole cygwin enviroment from a few different mirrors.
But (regardless of the mirror) it always gets stuck at:

Installing
xorg-x11-fenc-6.7.0.0-2
/usr/X116R6/lib/X11/fonts/encodings/adobe-dingbats.enc.gz
If I deselect the fenc package i get stuck here:
Installing
xorg-x11-fnts-6.7.0.0-1
/usr/X116R6/lib/X11/fonts/75dpi/charB08.pcf.gz
deslecting that the whole thing installs but I can't startx, as I have 
no fonts.

I've got ~19Gig free on my HD so its not that.
any ideas?

Solved!
A registry key from an old install was pointing /usr/X11R6/lib/X11/fonts 
at a disk which no longer there.

Weird that this dir has its own registry key though. I changed the
key so that it points into the rest of the cygwin install.
Perhaps I can remove the key but for now that works
JP


RE: problems

2004-09-08 Thread Alexander Gottwald
On Wed, 8 Sep 2004, Paul Shepherd wrote:

> Why do I get the keyboard error when I try to start the x window?

Check the mailing list archives or the FAQ. This was discussed quite 
often.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: problems

2004-09-08 Thread Paul Shepherd
Why do I get the keyboard error when I try to start the x window?

winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0409" (0409)
(--) Using preset keyboard for "English (USA)" (409), type "4"
Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options =
"(null)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 400 299

thanks,
Paul Shepherd
Software Engineer
Accuvoice, Inc
410-750-7711
fax 410-750-8914

-Original Message-
From: Paul Shepherd [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 8:28 AM
To: [EMAIL PROTECTED]
Subject: problems


When I run startx from my cygwin install, it always has trouble finding the
standard keyborad font, and fails to start the xwindow.
I have no /usr/X11R6/lib/X11/fonts/CID/ folder on my pc.
sample run:

$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-12

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

X :0 -multiwindow -clipboard

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 800 height: 599 depth: 16
winFinishScreenInitFB - Masks: f800 07e0 001f
winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp
16
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0409" (0409)
(--) Using preset keyboard for "English (USA)" (409), type "4"
Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options =
"(null)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 400 299
winInitMultiWindowWM - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
 57 [unknown (0x558)] xkbcomp 1888 handle_exceptions: Error while
dumping state (probably corrupted stack)
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0

winClipboardIOErrorHandler!

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
  after 4 requests (3 known processed) with 0 events remaining.


thanks,
Paul Shepherd
Software Engineer
Accuvoice, Inc
410-750-7711
fax 410-750-8914



Re: problems

2004-09-08 Thread Igor Pechtchanski
On Wed, 8 Sep 2004, Paul Shepherd wrote:

> When I run startx from my cygwin install, it always has trouble finding the
> standard keyborad font, and fails to start the xwindow.
> I have no /usr/X11R6/lib/X11/fonts/CID/ folder on my pc.
> sample run:
>
> $ startx
> [snip]
>  57 [unknown (0x558)] xkbcomp 1888 handle_exceptions: Error while
> dumping state (probably corrupted stack)
> [snip]
> winProcEstablishConnection - winInitClipboard returned.
> winClipboardProc - Hello
> DetectUnicodeSupport - Windows NT/2000/XP
> winClipboardProc - DISPLAY=127.0.0.1:0.0
>
> winClipboardIOErrorHandler!
>
> XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
>   after 4 requests (3 known processed) with 0 events remaining.

In the absense of the attached output of "cygcheck -svr" (as requested in
the Cygwin problem report page at ), a
WAG: is your /tmp textmode-mounted (see the output of "mount")?  If so,
issue the following command:

mount -fsb "`cygpath -m /tmp`" /tmp

and try "startx" again.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw


problems

2004-09-08 Thread Paul Shepherd
When I run startx from my cygwin install, it always has trouble finding the
standard keyborad font, and fails to start the xwindow.
I have no /usr/X11R6/lib/X11/fonts/CID/ folder on my pc.
sample run:

$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-12

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

X :0 -multiwindow -clipboard

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 800 height: 599 depth: 16
winFinishScreenInitFB - Masks: f800 07e0 001f
winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp
16
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0409" (0409)
(--) Using preset keyboard for "English (USA)" (409), type "4"
Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options =
"(null)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 400 299
winInitMultiWindowWM - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
 57 [unknown (0x558)] xkbcomp 1888 handle_exceptions: Error while
dumping state (probably corrupted stack)
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0

winClipboardIOErrorHandler!

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
  after 4 requests (3 known processed) with 0 events remaining.


thanks,
Paul Shepherd
Software Engineer
Accuvoice, Inc
410-750-7711
fax 410-750-8914



RE: Locked CTRL key in Matlab using

2004-09-08 Thread Alexander Gottwald
On Wed, 8 Sep 2004, David Alberg Holm wrote:

> >Just a wild guess: Try disabling NumLock. Some programs think NumLock is a
> normal modifier key like Ctrl or Alt.
> It works with numlock disabled :-) Is there a way to "unmap" NumLock as a
> modifier key?

[EMAIL PROTECTED]:~$ xmodmap 
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25),  Control_R (0x6d)
mod1Alt_L (0x40),  BadKey (0x7d),  BadKey (0x9c)
mod2Num_Lock (0x4d)
mod3  
mod4BadKey (0x7f),  BadKey (0x80)
mod5Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

[EMAIL PROTECTED]:~$ xmodmap -e "remove mod2 = Num_Lock"
[EMAIL PROTECTED]:~$ xmodmap 
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25),  Control_R (0x6d)
mod1Alt_L (0x40),  BadKey (0x7d),  BadKey (0x9c)
mod2  
mod3  
mod4BadKey (0x7f),  BadKey (0x80)
mod5Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: XDM start with uid & pw

2004-09-08 Thread Alexander Gottwald
On Wed, 8 Sep 2004, aroushdi wrote:

> Can i supply the UserId and password to Xwin -query 

No. This is not designed.

> my objective is to 
> jump to the main screen without typing the uid and pw coming from xdm 
> can we do it ???

You could use SSH with public key authentication and X11 Forwarding

ssh -Y remotehost ~/.xsession

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


XDM start with uid & pw

2004-09-08 Thread aroushdi
Can i supply the UserId and password to Xwin -query my objective is to 
jump to the main screen without typing the uid and pw coming from xdm 
can we do it ???
thks for ur help



RE: Locked CTRL key in Matlab using

2004-09-08 Thread David Alberg Holm
>> Hi there
>> 
>> After updating to the latest Cygwin (1.5.11)/Xfree (6.7.0.0-8) I am 
>> having problems using matlab. Inside matlab the keys act as if CTRL 
>> was pressed all the time. Outside matlab (shells, mozilla and so 
>> forth) the keys work as expected.
>> 
>> My keyboard is danish and I have tried using both the danish as well 
>> as german keyboard layouts and the problem is the same. If I run Xwin 
>> with the -kb switch I can use the keyboard in matlab but then the 
>> keyboard is in US layout.
>> 
>> In an older version of cygwin (1.5.5) and Xfree (4.3.0-1) everything 
>> worked but I had problems with frequent crashes.
>> 
>> I have tried searching the forums as well as google but could not find 
>> a solution to my problem.

>What does xev report when you press the keys? 
Xev reports the keys correctly

>Just a wild guess: Try disabling NumLock. Some programs think NumLock is a
normal modifier key like Ctrl or Alt.
It works with numlock disabled :-) Is there a way to "unmap" NumLock as a
modifier key?

Thanks!

David



Re: Locked CTRL key in Matlab using

2004-09-08 Thread Alexander Gottwald
On Wed, 8 Sep 2004, David Alberg Holm wrote:

> Hi there
> 
> After updating to the latest Cygwin (1.5.11)/Xfree (6.7.0.0-8) I am having
> problems using matlab. Inside matlab the keys act as if CTRL was pressed all
> the time. Outside matlab (shells, mozilla and so forth) the keys work as
> expected. 
> 
> My keyboard is danish and I have tried using both the danish as well as
> german keyboard layouts and the problem is the same. If I run Xwin with the
> -kb switch I can use the keyboard in matlab but then the keyboard is in US
> layout.
> 
> In an older version of cygwin (1.5.5) and Xfree (4.3.0-1) everything worked
> but I had problems with frequent crashes.
> 
> I have tried searching the forums as well as google but could not find a
> solution to my problem.

What does xev report when you press the keys? 

Just a wild guess: Try disabling NumLock. Some programs think NumLock is a normal
modifier key like Ctrl or Alt.

bye
ago

-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: multiwindow doesn't work

2004-09-08 Thread Alexander Gottwald
On Tue, 7 Sep 2004, Jim Scheef wrote:

> I'm reposting. Any suggestions?

Ask the people from [EMAIL PROTECTED]

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Locked CTRL key in Matlab using

2004-09-08 Thread David Alberg Holm
Hi there

After updating to the latest Cygwin (1.5.11)/Xfree (6.7.0.0-8) I am having
problems using matlab. Inside matlab the keys act as if CTRL was pressed all
the time. Outside matlab (shells, mozilla and so forth) the keys work as
expected. 

My keyboard is danish and I have tried using both the danish as well as
german keyboard layouts and the problem is the same. If I run Xwin with the
-kb switch I can use the keyboard in matlab but then the keyboard is in US
layout.

In an older version of cygwin (1.5.5) and Xfree (4.3.0-1) everything worked
but I had problems with frequent crashes.

I have tried searching the forums as well as google but could not find a
solution to my problem.

Please help!

Thanks!

David

P.S I have attached output from cygcheck cygcheck -s -v -r for the newly
installed cygwin (cygcheck.out) as well as the old version (oldcygcheck.out)


cygcheck.out
Description: Binary data


oldcygcheck.out
Description: Binary data