[chris@areti.co.uk: Re: Keyboard auto-repeat defaults when using 'xwin -query host']

2003-12-31 Thread Chris Green
Did my reply below get lost in the Christmas rush somewhere?

I still have this autorepeat proplem though using an explicit xset
command in my startup is OK as a workaround.

- Forwarded message from Chris Green [EMAIL PROTECTED] -

Date: Sat, 27 Dec 2003 14:03:33 +
From: Chris Green [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Keyboard auto-repeat defaults when using 'xwin -query host'
References: [EMAIL PROTECTED] [EMAIL PROTECTED]

On Fri, Dec 26, 2003 at 06:41:14PM -0500, Harold L Hunt II wrote:
 Chris,
 
 Chris Green wrote:
 The problem is that when I connect using cygwin/xfree the auto-repeat
 is set to silly values, if I do an 'xset -q' I get:-
 
 auto repeat:  onkey click persent:   0LED mask:  00
 auto repeat delay:  100repeat rate:  10
 
 
 That auto repeat delay is much too short.
 
Thanks for the response and for treating me gently, I'm just feeling
my way in cygwin/X although I have been using Unix/Linux for many
years (since the early 1980s in fact).


 When running locally, I get:
 
 Keyboard Control:
   auto repeat:  onkey click percent:  0LED mask:  
   auto repeat delay:  500repeat rate:  31
   auto repeating keys:  00ffdbbf
 fadfffdffdff
 
 
   bell percent:  50bell pitch:  400bell duration:  100
 
Just about exactly what I get except for the auto repeat delay values
which I reported above.


 When logged into a remote machine via -query I get exactly the same 
 values.  I do not have an XF86Config file, and I am not passing any of 
 the following command-line parameters to XWin.exe:
 
 ==
 The X Keyboard Extension adds the following arguments:
 -kbdisable the X Keyboard Extension
 +kbenable the X Keyboard Extension
 [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
enable/disable accessx key sequences
 -ar1   set XKB autorepeat delay
 -ar2   set XKB autorepeat interval
 
 [...]
 
 -xf86config
   Specify a configuration file.
 ==
 
I'm running using a copy of startxwin.bat with the XWIn start line set
to start XWin -query server.  I have no XF86Config either.


 My /tmp/XWin.log file has the following:
 
 ==
 (--) Setting autorepeat to delay=500, rate=31
 (--) winConfigKeyboard - Layout: 0409 (0409)
 (EE) No primary keyboard configured
 (==) Using compiletime defaults for keyboard
 Rules = xfree86 Model = pc101 Layout = us Variant = (null) 
 Options = (null)
 ==
 
 Could you please confirm that you are not passing any additional args to 
 XWin.exe, then send in your XWin.log files from both a local session and 
 from a session when you use -query to connect to a remote machine?  That 
 should help us to investigate the problem.
 
The remote XWin.log file is:-

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel
winCreateBoundingWindowWindowed - User w: 1600 h: 1200
winCreateBoundingWindowWindowed - Current w: 1600 h: 1200
winAdjustForAutoHide - Original WorkArea: 33 0 1200 1600
winAdjustForAutoHide - Adjusted WorkArea: 33 0 1200 1600
winCreateBoundingWindowWindowed - WindowClient w 1594 h 1137 r 1594 l 0 b 1137 t 0
winCreateBoundingWindowWindowed -  Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 3188
winAllocateFBShadowDDNL - Created shadow pitch: 3188
winAllocateFBShadowDDNL - Created shadow stride: 1594
winFinishScreenInitFB - Masks: f800 07e0 001f
winInitVisualsShadowDDNL - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput 

Re: Working with fonts

2003-12-31 Thread laboiss1
xlsfonts, xfontsel and -fn option did the trick. All I want is to increase the fonts 
on xterm, and the pre-existing fonts are suitable. 

Tks for your help.

pl 

On Tue, 30 Dec 2003 [EMAIL PROTECTED] wrote:

 Hi,

 I am trying to setup my xterm with the -fn -fs option in order to
 increase the font size. I just can't figure out how and which fonts to
 select, and therefore it always defaults to fixed. Does anybody have a
 font primer? I'm looking for things such as which directory to
 uncompress fonts, what names to use and how to link them?

 tks,
 Paul Laboiss

Umm, line wrapping would be nice...

That aside, are you trying to specify some existing font for the xterm, or
add your own fonts?  If the former, xlsfonts and xfontsel are your
friends.  Make sure you specify either a complete alias, or enough
properties to uniquely identify the font (xfontsel won't show aliases,
IIRC).

If the latter (add new fonts), there are a few steps which I don't recall
at the moment and won't dig for unless that's what you wanted, so let me
know.  FWIW, you can do similar things to add a font alias, which might
make the font specification in the previous paragraph easier.
   Igor
P.S. You only need the '-fn' option.
-- 
   http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_   [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_   [EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fLa.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


__
New! Unlimited Access from the Netscape Internet Service.
Beta test the new Netscape Internet Service for only $1.00 per month until 3/1/04.
Sign up today at http://isp.netscape.com/register
Act now to get a personalized email address!

Netscape. Just the Net You Need.


fyi -

2003-12-31 Thread Steve Coleman
Not sure how many people out there have seen this. Any idea how this 
might affect the Cygwin/X project?

/XFree86's release engineer David Dawes has announced that a majority 
of the XFree86 core team has voted in favour of my proposal to disband 
the core team. 
http://www.mail-archive.com/devel%40xfree86.org/msg04639.html

As read on /. here:
http://slashdot.org/articles/03/12/31/1337209.shtml?tid=104tid=185tid=189
/



Lost connections

2003-12-31 Thread Milton Quinteros S.
Do somebody know why another TCP connections are lost while an X application
is running?
If I connect via telnet and run an X app, the telnet app dies.
The only 'strange' app I'm running is Zonealarm, but I don't think this is
the reason why.
I'll appreciate your help.
Thanks.
Milton




cygwin/xfree installation questions

2003-12-31 Thread Don V Black
Hi Folks -

Thanks in advance for any help.

While installing (uninstall then install Xfree86 packages in Win2K) I get 
the error:

mkshortcut.exe - Unable to Locate DLL

The dynamic link library cygopt-0.dll could not be found in the specified path
D:\Win2KPro\cygwin\bin;D:\WINNT\system32;D:\WINNT\system;D:\WINNT;D:\Win2KPro\cygwin\usr\X11R6\bin;D:\Win2KPro\cygwin\bin;D:\Win2KPro\cygwin\bin;D:\Win2KPro\cygwin\bin\D:\Win2KPro\cygwin\bin;[ 
]y,[ ].

while in the /etc/postinstall/XFree86-bin-icons.sh step.

Notes:
1) D:\Win2KPro is my 'program files' directory (its a dual boot),
D:\WINNT is my Win2K (Win5.0) directory.
2) Note how cygwin\bin is repeated 5 times in the path.
BTW, I have repeated this installation many times (maybe 5?)
3) The [ ] in [ ]y,[ ] of the path represent the DOS-BIOS square
graphics character, and I have no clue as to where it came from.
It could be from other installations?
The message reappeared more than 30 times during the install
(I counted my clicks on the OK button).
A cygwin-XFree86 entry has been installed in my Win2K start menu,
but the 5 sub-menus (editors, ... toys) are empty.
I am not convinced that the installation was complete or correct.

I have attempted to invoke startxwin.sh as specified in Chapter 4
of the Cygwin/X documentation.  I receive the error message:
xterm.exe - Unable to Locatte DLL
The dynamic link library cygcygipc-2.dll could not be found in the 
specified path
 path information similar to above ...


Received the same information with XWin.exe...

Thanks in advance for any help.

- Don

+ + + + + + + + + + + + + + + + + + + + + +
Join the Pros at your IEEE Computer Society
 http://www.IEEE-OCCS.org
Digital ChoreoGraphics   http://www.dcgfx.com
3D Visualization SoftwareDesign  Development
1-949-548-1969 [EMAIL PROTECTED]


Re: Keyboard auto-repeat defaults when using 'xwin -query host'

2003-12-31 Thread Alexander Gottwald
Chris Green wrote:

 I still have this autorepeat proplem though using an explicit xset
 command in my startup is OK as a workaround.

 (--) Setting autorepeat to delay=500, rate=31
 (--) winConfigKeyboard - Layout: 0809 (0809)
 (--) Using preset keyboard for English (United Kingdom) (809), type 4

You see, the server sets the autorepeat to useful values. I'm quite sure
there is another program in the startup scripts which sets the autorepeat
settings to the strange value.

Maybe this is not xset but the the windowmanager (kde, gnome) itself. Please
check the settings of the windowmanager if there is a strange autorepeat
setting.

bye
ago

NP: grauzone.03-12-28
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: cygwin/xfree installation questions

2003-12-31 Thread Don V Black
Deinstall the entire Cygwin installation, and
re-install Cygwin/X, as follows:
1) In the Select Packages panel (# 16 in the doc)
Click On Default of +All  .. Default until
Uninstall appears.
2) Click On the Next button, and proceed with the
Uninstall.
3) Delete the contents of the directory that contained
Cygwin (e.g. /Programs Files/Cygwin)
4) Restart the Setup.exe process.
5) In the Select Packages panel (# 16 in the doc)
Click On Default of +XFree866  .. Default until
Install appears.
6) Click On the Next button, and proceed with the
Install.
The Cygwin/X documentation should now work.

===

At 07:12 AM 12/31/2003 -0800, you wrote:
Hi Folks -

Thanks in advance for any help.

While installing (uninstall then install Xfree86 packages in Win2K) I get 
the error:

mkshortcut.exe - Unable to Locate DLL

The dynamic link library cygopt-0.dll could not be found in the specified path
D:\Win2KPro\cygwin\bin;D:\WINNT\system32;D:\WINNT\system;D:\WINNT;D:\Win2KPro\cygwin\usr\X11R6\bin;D:\Win2KPro\cygwin\bin;D:\Win2KPro\cygwin\bin;D:\Win2KPro\cygwin\bin\D:\Win2KPro\cygwin\bin;[ 
]y,[ ].

while in the /etc/postinstall/XFree86-bin-icons.sh step.

Notes:
1) D:\Win2KPro is my 'program files' directory (its a dual boot),
D:\WINNT is my Win2K (Win5.0) directory.
2) Note how cygwin\bin is repeated 5 times in the path.
BTW, I have repeated this installation many times (maybe 5?)
3) The [ ] in [ ]y,[ ] of the path represent the DOS-BIOS square
graphics character, and I have no clue as to where it came from.
It could be from other installations?
The message reappeared more than 30 times during the install
(I counted my clicks on the OK button).
A cygwin-XFree86 entry has been installed in my Win2K start menu,
but the 5 sub-menus (editors, ... toys) are empty.
I am not convinced that the installation was complete or correct.

I have attempted to invoke startxwin.sh as specified in Chapter 4
of the Cygwin/X documentation.  I receive the error message:
xterm.exe - Unable to Locatte DLL
The dynamic link library cygcygipc-2.dll could not be found in the 
specified path
 path information similar to above ...


Received the same information with XWin.exe...

Thanks in advance for any help.

- Don

+ + + + + + + + + + + + + + + + + + + + + +
Join the Pros at your IEEE Computer Society
 http://www.IEEE-OCCS.org
Digital ChoreoGraphics   http://www.dcgfx.com
3D Visualization SoftwareDesign  Development
1-949-548-1969 [EMAIL PROTECTED]


+ + + + + + + + + + + + + + + + + + + + + +
Join the Pros at your IEEE Computer Society
 http://www.IEEE-OCCS.org
Digital ChoreoGraphics   http://www.dcgfx.com
3D Visualization SoftwareDesign  Development
1-949-548-1969 [EMAIL PROTECTED]


treat as very urgent

2003-12-31 Thread mike bayo
Dear Sir/Madam,

I have funds that I need transfered out using legal means but 
since I am still a serving government staff, I would not be able 
to do this on my own. The amount that is involved is the sum of 
$33,600,000.00 USD. (20% of which is yours if you agree to help 
me). I inderstand that you would be a bit worried about being a 
part of this transaction but I want you to nderstand that at no 
point would you need to give me your bank account information, it is
the paying authority, that after confirming the ownership of the
funds, that would ask you for the details of that nature and to this
end, I would need you to open a new bank account that would be used
for the purpose of this transaction only.

You are then required to forward the remaining balance (Minus the
Interest, handling and tax clearance charges, which Will be 
offset by Us  Deducted from the transferred sum) to a nominated 
bank account in the Cayman Islands. I don't think I need to spell out
the importance of Secrecy in this Matter considering
the amount involved.

Let me state clearly here that the account that you would be 
providing does not need to have funds in it, it is only needed to be
active and be able to receive funds. So, if I don't hear from you
within three days I will assume you are not interested and will
solicit for a new partner, but if you know you are 
interested let me know. List your phone  fax Numbers so we may
communicate with you. This is important as we would have to talk
about the modalities of the transaction. You should also note 
that efforts are being made to make sure that everything is done 
legally and the final payment centre is in America, that is after all
our documentations have been crossed checked and verified that
everything is above board. You would be dealing directly with the
payment officials in America this I am making sure of for the sake of
transperency.

Waiting to hear from you.

Regards,
Mike Bayo



problems with libX11.a

2003-12-31 Thread Mark Mussetter
Hello Everyone,

I'm running Cygwin on a Windows 2000 machine and I'm trying to get 
MicroWindows going.  My problem is that I'm getting the following error:
***
make[1]: *** No rule to make target `/usr/X11R6/lib/libX11.a', needed by 
`/microwindows/microwindows-0.90/src/bin/nano-X'.  Stop.
***

I do have libX11.dll but can't find the libX11.a library 
anywhere.  We've updated our Cygwin this morning using the Cygwin setup 
utility so I think we are as current as we can be.  We've done a search on 
the entire Cygwin directory and libX11.a is nowhere to be found.

Can someone point me in the right direction to solving this problem?

Thanks in advance for any help,

Mark Mussetter
Link Communications, Inc.
email: mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
phone: (406) 245-5002 ext 105
Fax:(406) 245-4889


Re: problems with libX11.a

2003-12-31 Thread Harold L Hunt II
Mark,

Well you have one problem that is immediate:

You need the XFree86-prog package.

The XFree86-prog package is installed via Cygwin's setup.exe program.

You possibly have another problem that may be secondary:

If MicroWindows is trying to link against libX11.a explicitly, rather 
than the usual -lX11, then you will need to fix the build files for 
MicroWindows to tell it to just link against -lX11.  Our linker will 
figure out that -lX11 really means to link against libX11.dll.a.  But, 
you shouldn't look into this possible problem until you have 
XFree86-prog installed and have tried building again.

I hope that helps,

Harold

Mark Mussetter wrote:
Hello Everyone,

I'm running Cygwin on a Windows 2000 machine and I'm trying to get 
MicroWindows going.  My problem is that I'm getting the following error:
***
make[1]: *** No rule to make target `/usr/X11R6/lib/libX11.a', needed by 
`/microwindows/microwindows-0.90/src/bin/nano-X'.  Stop.
***

I do have libX11.dll but can't find the libX11.a library anywhere.  
We've updated our Cygwin this morning using the Cygwin setup utility so 
I think we are as current as we can be.  We've done a search on the 
entire Cygwin directory and libX11.a is nowhere to be found.

Can someone point me in the right direction to solving this problem?

Thanks in advance for any help,

Mark Mussetter
Link Communications, Inc.
email: mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
phone: (406) 245-5002 ext 105
Fax:(406) 245-4889



Possible to use clipboard with remote/xdm connection?

2003-12-31 Thread Chris Green
Should it be possible to get the '-clipboard' parameter to work with
cyxwin/X when connecting to a remote xdm program?

I'm using cygwin/X on a win2k system to connect to a Slackware Linux
(9.1) system on my home LAN.  Is it possible to get clipboard
cut/paste to work either to or from my WIn2k desktop?

-- 
Chris Green ([EMAIL PROTECTED])


Re: problems with libX11.a

2003-12-31 Thread Harold L Hunt II
Mark,

Can you tell me your build steps and/or send me your build config file? 
 I would like to try building at least nanox and see if it would be 
useful to distribute via Cygwin's setup.exe.  Please send the config 
file to me privately if it is larger than 25 KiB.

Thanks,

Harold

Mark Mussetter wrote:
Hello Everyone,

I'm running Cygwin on a Windows 2000 machine and I'm trying to get 
MicroWindows going.  My problem is that I'm getting the following error:
***
make[1]: *** No rule to make target `/usr/X11R6/lib/libX11.a', needed by 
`/microwindows/microwindows-0.90/src/bin/nano-X'.  Stop.
***

I do have libX11.dll but can't find the libX11.a library anywhere.  
We've updated our Cygwin this morning using the Cygwin setup utility so 
I think we are as current as we can be.  We've done a search on the 
entire Cygwin directory and libX11.a is nowhere to be found.

Can someone point me in the right direction to solving this problem?

Thanks in advance for any help,

Mark Mussetter
Link Communications, Inc.
email: mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
phone: (406) 245-5002 ext 105
Fax:(406) 245-4889



Re: Possible to use clipboard with remote/xdm connection?

2003-12-31 Thread Harold L Hunt II
Chris,

I think there is a timing and authentication problem with the internal 
-clipboard implementation and remote XDM sessions.  You can, instead, 
use the 'xwinclip' program (installed via Cygwin's setup.exe) and wait 
to launch it until after you have logged in to your remote XDM host. 
You may have to run 'xhost 127.0.0.1' on the remote host after you have 
logged in.

Harold

Chris Green wrote:

Should it be possible to get the '-clipboard' parameter to work with
cyxwin/X when connecting to a remote xdm program?
I'm using cygwin/X on a win2k system to connect to a Slackware Linux
(9.1) system on my home LAN.  Is it possible to get clipboard
cut/paste to work either to or from my WIn2k desktop?


Re: fyi -

2003-12-31 Thread Harold L Hunt II
Steve,

Yup, saw the announcement, but there is no information on how it 
actually affects the operation of XFree86.  It won't mean much of 
anything if they have just stopped using their closed mailing list.  If, 
on the other hand, they are going to open up development to developers 
that make meaningul contributions, then it will really shake things up.

I'm not going to speculate about which of these is actually happening.

Harold

Steve Coleman wrote:

Not sure how many people out there have seen this. Any idea how this 
might affect the Cygwin/X project?

/XFree86's release engineer David Dawes has announced that a majority 
of the XFree86 core team has voted in favour of my proposal to disband 
the core team. 
http://www.mail-archive.com/devel%40xfree86.org/msg04639.html

As read on /. here:
http://slashdot.org/articles/03/12/31/1337209.shtml?tid=104tid=185tid=189
/




Re: Lost connections

2003-12-31 Thread Harold L Hunt II
Zonealarm is the problem.  Don't think that it isn't the problem. 
Disable it, and know that it *is* the problem.

Harold

Milton Quinteros S. wrote:

Do somebody know why another TCP connections are lost while an X application
is running?
If I connect via telnet and run an X app, the telnet app dies.
The only 'strange' app I'm running is Zonealarm, but I don't think this is
the reason why.
I'll appreciate your help.
Thanks.
Milton




Re: cygwin/xfree installation questions

2003-12-31 Thread Harold L Hunt II
Don,

Your initial installation of Cygwin was messed up.

I cannot advocate an uninstall followed by a complete reinstall for 99% 
of the users, since most users do not have a messed up installation. 
The instructions that you provided below are not necessary for the 
majority of users, so I won't be updating the installation instructions.

I am glad, however, that you figured out your particular problem.

Harold

Don V Black wrote:

Deinstall the entire Cygwin installation, and
re-install Cygwin/X, as follows:
1) In the Select Packages panel (# 16 in the doc)
Click On Default of +All  .. Default until
Uninstall appears.
2) Click On the Next button, and proceed with the
Uninstall.
3) Delete the contents of the directory that contained
Cygwin (e.g. /Programs Files/Cygwin)
4) Restart the Setup.exe process.
5) In the Select Packages panel (# 16 in the doc)
Click On Default of +XFree866  .. Default until
Install appears.
6) Click On the Next button, and proceed with the
Install.
The Cygwin/X documentation should now work.

===

At 07:12 AM 12/31/2003 -0800, you wrote:

Hi Folks -

Thanks in advance for any help.

While installing (uninstall then install Xfree86 packages in Win2K) I 
get the error:

mkshortcut.exe - Unable to Locate DLL

The dynamic link library cygopt-0.dll could not be found in the 
specified path
D:\Win2KPro\cygwin\bin;D:\WINNT\system32;D:\WINNT\system;D:\WINNT;D:\Win2KPro\cygwin\usr\X11R6\bin;D:\Win2KPro\cygwin\bin;D:\Win2KPro\cygwin\bin;D:\Win2KPro\cygwin\bin\D:\Win2KPro\cygwin\bin;[ 
]y,[ ].

while in the /etc/postinstall/XFree86-bin-icons.sh step.

Notes:
1) D:\Win2KPro is my 'program files' directory (its a dual boot),
D:\WINNT is my Win2K (Win5.0) directory.
2) Note how cygwin\bin is repeated 5 times in the path.
BTW, I have repeated this installation many times (maybe 5?)
3) The [ ] in [ ]y,[ ] of the path represent the DOS-BIOS square
graphics character, and I have no clue as to where it came from.
It could be from other installations?
The message reappeared more than 30 times during the install
(I counted my clicks on the OK button).
A cygwin-XFree86 entry has been installed in my Win2K start menu,
but the 5 sub-menus (editors, ... toys) are empty.
I am not convinced that the installation was complete or correct.

I have attempted to invoke startxwin.sh as specified in Chapter 4
of the Cygwin/X documentation.  I receive the error message:
xterm.exe - Unable to Locatte DLL
The dynamic link library cygcygipc-2.dll could not be found in the 
specified path
 path information similar to above ...


Received the same information with XWin.exe...

Thanks in advance for any help.

- Don

+ + + + + + + + + + + + + + + + + + + + + +
Join the Pros at your IEEE Computer Society
 http://www.IEEE-OCCS.org
Digital ChoreoGraphics   http://www.dcgfx.com
3D Visualization SoftwareDesign  Development
1-949-548-1969 [EMAIL PROTECTED]


+ + + + + + + + + + + + + + + + + + + + + +
Join the Pros at your IEEE Computer Society
 http://www.IEEE-OCCS.org
Digital ChoreoGraphics   http://www.dcgfx.com
3D Visualization SoftwareDesign  Development
1-949-548-1969 [EMAIL PROTECTED]



Re: problems with libX11.a

2003-12-31 Thread Mark Mussetter
Hi Harold,

Thanks for your help.  We were able to get MicroWindows running after you 
pointed us in the right direction.  We already had the Xfree86-prog package 
but you comments about trying to link explicitly to libX11.a led us to the 
problem.  The following is a clip from Makefile.rules:

ifeq ($(X11), Y)
DEFINES += -DX11=1
ifneq ($(ARCH),CYGWIN)
# Cygwin can't use this - the -lX11 needs to be specified
# *after* the object files that use it, but this inserts
# it at the start.  For Cygwin, we will add libX11.a to the
# library list instead.
LDFLAGS += -L/usr/X11R6/lib -lX11
else
MW_CORE_LIBS += /usr/X11R6/lib/libX11.dll.a
endif
ifeq ($(ARCH),FREEBSD-X86)
INCLUDEDIRS += -I/usr/X11R6/include
endif
ifeq ($(ARCH),CYGWIN)
INCLUDEDIRS += -I/usr/X11R6/include
endif
endif
We changed the 10th line to its current state.  It used to say 
MW_CORE_LIBS += /usr/X11R6/lib/libX11.a

Once we made that change everything else fell into place and we were able 
to run the demos.

My steps were:
1. cd microwin/src
2. Typed cp Configs/config.cygwin config for the cygwin configuration.

   See CONTENTS and Configs/README for more information.

3. Typed make

4. Change the Makefile.rules file to link against libX11.dll.a instead of 
libX11.a

5. Typed make

4. Ran ./demo.sh

Thanks again for your help,

At 05:32 PM 12/31/2003 -0500, you wrote:
Mark,

Can you tell me your build steps and/or send me your build config file?  I 
would like to try building at least nanox and see if it would be useful to 
distribute via Cygwin's setup.exe.  Please send the config file to me 
privately if it is larger than 25 KiB.

Thanks,

Harold

Mark Mussetter wrote:
Hello Everyone,
I'm running Cygwin on a Windows 2000 machine and I'm trying to get 
MicroWindows going.  My problem is that I'm getting the following error:
***
make[1]: *** No rule to make target `/usr/X11R6/lib/libX11.a', needed by 
`/microwindows/microwindows-0.90/src/bin/nano-X'.  Stop.
***
I do have libX11.dll but can't find the libX11.a library anywhere.
We've updated our Cygwin this morning using the Cygwin setup utility so I 
think we are as current as we can be.  We've done a search on the entire 
Cygwin directory and libX11.a is nowhere to be found.
Can someone point me in the right direction to solving this problem?
Thanks in advance for any help,

Mark Mussetter
Link Communications, Inc.
email: mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
phone: (406) 245-5002 ext 105
Fax:(406) 245-4889
Mark Mussetter
Link Communications, Inc.
email: mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
phone: (406) 245-5002 ext 105
Fax:(406) 245-4889



XDMCP Problems - Possible fix, please try

2003-12-31 Thread Harold L Hunt II
The XFree86-xserv-4.3.0-30 release may fix some problems with not 
getting a login screen when using XDMCP.  See the change log for more 
information:

http://xfree86.cygwin.com/devel/server/changelog.html

Please try this new server and report on whether it allows you to get a 
login screen or not.

Thanks for testing,

Harold


Re: problems with libX11.a

2003-12-31 Thread Harold L Hunt II
Mark,

Thanks, those instructions work until it gets to the 'nbreaker' demo:

Linking /home/harold/x-devel/ports/MicroWindows/build/src/bin/launcher ...
Updating dependencies in 
/home/harold/x-devel/ports/MicroWindows/build/src/demos
/nbreaker ...
Compiling animate.c ...
In file included from animate.c:41:
nbreaker.h:160: error: syntax error before GR_PIXMAP_ID
nbreaker.h:160: warning: no semicolon at end of struct or union
nbreaker.h:161: warning: type defaults to `int' in declaration of `a'
nbreaker.h:161: warning: data definition has no type or storage class
nbreaker.h:171: error: syntax error before '}' token

Seems that GR_PIXMAP_ID is not defined in the included headers.  Can you 
describe how you worked through this?

Harold

Mark Mussetter wrote:

Hi Harold,

Thanks for your help.  We were able to get MicroWindows running after 
you pointed us in the right direction.  We already had the Xfree86-prog 
package but you comments about trying to link explicitly to libX11.a led 
us to the problem.  The following is a clip from Makefile.rules:

ifeq ($(X11), Y)
DEFINES += -DX11=1
ifneq ($(ARCH),CYGWIN)
# Cygwin can't use this - the -lX11 needs to be specified
# *after* the object files that use it, but this inserts
# it at the start.  For Cygwin, we will add libX11.a to the
# library list instead.
LDFLAGS += -L/usr/X11R6/lib -lX11
else
MW_CORE_LIBS += /usr/X11R6/lib/libX11.dll.a
endif
ifeq ($(ARCH),FREEBSD-X86)
INCLUDEDIRS += -I/usr/X11R6/include
endif
ifeq ($(ARCH),CYGWIN)
INCLUDEDIRS += -I/usr/X11R6/include
endif
endif
We changed the 10th line to its current state.  It used to say 
MW_CORE_LIBS += /usr/X11R6/lib/libX11.a

Once we made that change everything else fell into place and we were 
able to run the demos.

My steps were:
1. cd microwin/src
2. Typed cp Configs/config.cygwin config for the cygwin configuration.

   See CONTENTS and Configs/README for more information.

3. Typed make

4. Change the Makefile.rules file to link against libX11.dll.a instead 
of libX11.a

5. Typed make

4. Ran ./demo.sh

Thanks again for your help,