Re: Run a Cygwin (X) app from a DOS command line

2009-01-05 Thread Erich Dollansky
Hi,

it seems to me that the application misses a running X server.

It is the same under Unix if you start an X application directly on a
console without having X running.

Erich

On Wed, 2008-12-31 at 17:41 +, John Emmas wrote:
 - Original Message - 
 From: Larry Hall (Cygwin)
 Subject: Re: Run a Cygwin (X) app from a DOS command line
 
  You also need Cygwin's installation path in your Windows PATH variable.
 
 Thanks Larry.  I already had that set up (C:\cygwin\bin) as well as
 C:\cygwin\lib but I can still only launch console apps.  When this happened
 for the very first time I seem to remember that rebaseall sorted it out.
 Unfortunately, but that doesn't seem to fix the problem any more.
 
 The required program is clearly getting launched because I can see it in
 Task Manager - but it doesn't seem to get as far as putting anything on the
 screen.
 
 cygcheck -c  reports a few packages as being incomplete (including libX11 
 and xorg-X11-bin).  I might try reinstalling them and see if that improves 
 things.
 
 John
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Get IO Error opening file

2008-04-27 Thread Erich Dollansky

Hi,

one follows the other.

Try to find this file via Google or Yahoo, download it manually to the 
location where cygwin stores its files on your machine and then try to 
install it again.


This happens once in a while. Maybe the path is wrong or the file is 
missing on the server.


Erich

Kjeld Bak wrote:

Hi,

Trying to download and install Cygwin with Cygwin/X, I get an IO Error 
opening 'xorg-x11-fnts-6.8.99.901-1.tar.bz2'. I have tried to install 
from 5-6 different mirrors - allways with the same bad result. I have 
tried to install 'xorg-x11-fnts-6.8.1.0-3.tar.bz2' as well and with same 
result. Are there any problems with these packets. All other packets 
download and install ok. I have now a running Cygwin but without X-term, 
because when I start 'startxwin.bat' I get the error: 'Fatal server 
error: could not open default font fixed '. Has anybody a suggestion 
as to what goes wrong?


Kjeld








--
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: Building C++ program with QT under cygwin

2008-02-21 Thread Erich Dollansky

Hi,

hce wrote:

On Thu, Feb 21, 2008 at 4:41 PM, Brian Dessent [EMAIL PROTECTED] wrote:

hce wrote:

  I actually tried QT 4.3 linux packaget, but could not build it could
  not find cygwin-g++ in makespec directory. The QT seems only support
  minGW on Windows.

 Note that a QT you build for Cygwin will be an X11 app, so you'll need
 to have an X11 server running in order to use it.  It won't have a
 Windows GUI like the MinGW flavor.


I've tried to build the QT linux package, it could not find X11 event.
I think I have installed X11, but I did not running X11 server. It is
too much to using X11 server on window. Can the QT window package be
compiled under Cygwin alternatively?


you can install X under cygwin together with a small window manager.

You must also install the X sources - or at least the headers - if you 
want to compile any X applications.


Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Standard include problem

2008-02-21 Thread Erich Dollansky

Hi,

did you check the include path of the compiler in use?

Erich

Shay wrote:

Hi

I am sorry to ask this but I really searched before.
I would like to compile a C program but includes are not found :

  The file 'stdio.h' cannot be opened
  The file 'stdarg.h' cannot be opened

I installed cygwin with the mingw runtime.

stdio.h is present in :
  cygwin\include
  cygwin\usr\include
  cygwin\usr\include\sys
but it doesnt work
stdarg.h is not present.

Thank you for tour help



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Building C++ program with QT under cygwin

2008-02-20 Thread Erich Dollansky

Hi,

one thing at a time.

hce wrote:


I am new to cygwin. I've just installed cygwin for building my C++


I see Cygwin as an emulator. Your program will see Linux but not 
Windows. But you still can call Windows directly.



and the C++ program was built using macro #ifdef WIN32 for the code of
select(), read() and write() system calls. My understand is that I can
use all linux system calls under cygwin, should I remove all #ifdef
WIN32 in the program and compile with a parameter -unix rather than
win32?


Do not delete those things. Never ever even think of deleting them.


The major issue is the QT package. In linux, I installed a QT package
for linux and called the QT gmake to generate a Makefile. On window
the QT was installed for window and compiled under window environment.
I have got errors when using window QT to generate Makefile under
cygwin. How should I use the QT under cygwin? Should I download a unix
version QT and build the QT using unix macro under cygwin, or should I
still using window QT under cygwin?


You must install QT inside Cygwin if you want to make full use of it.

I have no idea if this will work.

In theory you should be able to use the Windows version. This will make 
your program even more weird as it itself will behave like a Linux 
program but the libraries are then a mix of Windows and Linux.


Try to stick either with Cygwin or move to Windows.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Remote Linux desktop in my Cygwin windows PC

2008-01-01 Thread Erich Dollansky

Hi,

marcos rebelo wrote:


I'm really basic with Linux. I'm running remote applications with:

xhost
ssh
export DISPLAY

So I'm using Eclipse, gedit, firefox, ... like this for example in my
windows. Now I'm curios if I'm able to have the full desktop of my
Linux machine like a window in my remote Windows PC.

I'm using the Ubuntu 7.10 in the Linux PC


just start the windo manager of your choice at the Linux box.

startx should do the job.

You can chose then to have the Linux desktop in one window or it will 
replace your current Windows desktop.


Windows will stay in the background.

Running the window manager on the Windows machine has the advantage that 
your Linux windows integrate fully into you Windows environment.


I find it a bit disturbing to have the Unix part separated from the 
Windows part when the Windows manager was running on the Unix box.


Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with installing the X environment

2007-12-25 Thread Erich Dollansky

Hi,

David Garber wrote:

Deal all,
 
After installing the cygwin several times, when I tryy to open the X by xinit, I got again and again this error:

 Could not init font path element /usr/X11R6/lib/X11/fonts/*/, removing from 
list!
and the X window is closed. 


what happens, if you create this directory?
 
Can someone of you help me to activate the X?


Just post your XWin.bat.

Erich

--
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: 1.5.25-6: Win32 programs don't get correct redirection

2007-12-13 Thread Erich Dollansky

Hi,

René Berber wrote:

Jack Brennen wrote:


What you don't see is that Windows' echo added a CR so you get to see
the second line followed by CR-LF and the rest of the (overwritten)
first line.

the CR will be added after the appended characters and so not interfere 
with the example's data.


Erich


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Almost nothing works for me in Cygwin 1.5.24-2

2007-12-09 Thread Erich Dollansky

Hi,

I have had once problems like this too.

The solution was very simple. I reinstalled from a different mirror.

Erich

Rob Larkins wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When I run Cygwin it loads normally; if I exit Cygwin immediately I logout
just fine. If I do pretty much anything else, it breaks.

For example, if I issue the ls command nothing happens other than getting
the regular bash-3.2$ prompt. If I try to exit after giving that command, I
get an error like: 


58214 [main] bash 4792 fork: child -1 - died waiting for longjmp before
initialization, retry 10, exit code 0x100, errno 11
bash-3.2$ 301101491 [main] bash 4792 child_info::sync: wait failed, pid
4224, Win32 error 0

After several seconds the error repeats:

301104925 [main] bash 4792 fork: child -1 - died waiting for longjmp before
initialization, retry 10, exit code 0x100, errno 11
bash-3.2$ 603135901 [main] bash 4792 child_info::sync: wait failed, pid
4508, Win32 error 0
603136105 [main] bash 4792 fork: child -1 - died waiting for longjmp before
initialization, retry 10, exit code 0x100, errno 11
bash-3.2$ 907162420 [main] bash 4792 child_info::sync: wait failed, pid
1828, Win32 error 0
907164456 [main] bash 4792 fork: child -1 - died waiting for longjmp before
initialization, retry 10, exit code 0x100, errno 11
bash-3.2$ 1215200040 [main] bash 4792 child_info::sync: wait failed, pid
5520, Win32 error 0
1215200265 [main] bash 4792 fork: child -1 - died waiting for longjmp before
initialization, retry 10, exit code 0x100, errno 11
bash: fork: Resource temporarily unavailable
bash-3.2$

The same thing happens when I issue a command other than ls, like clear.

Searching the Cygwin ML archive I found a thread about a similar looking
error: http://sourceware.org/ml/cygwin/2005-04/msg00624.html

Although that error was fixed in a snapshot build back in 2005, DaveK had
recommended using strace from the console to get more info, so I did and I'm
attaching the resultant log.

- -Rob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHWk72+KyO/KUp2FYRAiZrAKCdvlP0axB99oC90FtpQHtpC9WlRACfRjKN
Ul0s4rgMCbK0Vku3MxzCYc4=
=nvCZ
-END PGP SIGNATURE-




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Pasting and copying between X and Windows

2007-12-03 Thread Erich Dollansky

Hi,

a very rough method in an Windows environment is a fresh installation.

Try to start setup again and reinstall cygwin. It looks to me that some 
parts got not properly installed.


Erich

jose isaias cabrera wrote:




Holger Krull escribió,

jose isaias cabrera schrieb:

cygwin XWin, I would love to paste and copy between the two worlds.  I
have googled the issue, but nothing seems to be very updated.
Everything seems to be old or has no real answer.

Is this possible?


Yes, add -clipboard to the Xwin Parameters.



This is the command I am using to start XWin,

XWin -clipboard -query d-tuxedo

Here is the cygwin output:


jicman 00:28:30- XWin -clipboard -query d-tuxedo
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -clipboard -query d-tuxedo.na.xde3.xerox.org

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
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

winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits 
per pixel

winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared 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)

(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!

winPointerWarpCursor - Discarding first warp: 697 486
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcQueryTree - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard client already launched, returning.
winClipboardProc - XOpenDisplay () returned and successfully opened the 
display.


winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

winClipboardIOErrorHandler!

winClipboardProc - setjmp returned for IO Error Handler.


and that is it.  Somehow, those Clipboard errors do not look correct...  
By the way, I am able to paste within the XWin, but not from XWin to XP.


Any ideas?

thanks.

--
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: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Erich Dollansky

Hi,

jose isaias cabrera wrote:


Not to leave you hanging, the problem was the xdmcp was not enabled.  
But there is another problem, which has nothing to do with cygwin.  
Somehow, my userID has something weird.  Other co-workers are connecting 
fine, but my user ID is not working from any machine.  They can login 
from my cygwin setup with their logonID without any problem, but my 
userID just does not work.  From my setup and their setup.



have you checked to what DISPLAY is set for your user ID on the Linux box?

If it is set to local host, I expect what you are getting.

Erich

--
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: Using XWin.exe to connect to a linux X Server

2007-11-29 Thread Erich Dollansky

Hi,

DISPLAY on the Linux box must be set to the IP address of the cygwin box.

But DISPLAY on the cygwin box must be set to either localhost or the IP 
address of this machine.


You also must have some method to communicate between both machines. I 
always used telnet as it was all locally done. You can also take SSH if 
you do not know who else listens between.


Erich

jose isaias cabrera wrote:


d-tuxedo 00:32:35- set | grep DISPLAY
DISPLAY=localhost:0.0

what should it be?


- Original Message - From: Erich Dollansky 
[EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: Friday, November 30, 2007 12:31 AM
Subject: Re: Using XWin.exe to connect to a linux X Server



Hi,

jose isaias cabrera wrote:


I am trying to connect to a Gentoo X Server and it is connecting, but 
I don't seem to be able to open an xterm.  All I get is a full screen 
without anything.  I am running this command:


I did this for years using FreeBSD as the server. No problems.


XWin -query d-tuxedo

Ok, I used the startup script provided by cygwin to start the local X 
server and then connected to the FreeBSD machine.


Did you set the DISPLAY variable properly on the Linux box?

Erich

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




--
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: Using XWin.exe to connect to a linux X Server

2007-11-29 Thread Erich Dollansky

Hi,

jose isaias cabrera wrote:


I am trying to connect to a Gentoo X Server and it is connecting, but I 
don't seem to be able to open an xterm.  All I get is a full screen 
without anything.  I am running this command:


I did this for years using FreeBSD as the server. No problems.


XWin -query d-tuxedo

Ok, I used the startup script provided by cygwin to start the local X 
server and then connected to the FreeBSD machine.


Did you set the DISPLAY variable properly on the Linux box?

Erich

--
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: New to cygwin

2007-11-27 Thread Erich Dollansky

Hi,

Tomasz Jankowski wrote:

2007/11/27, Erich Dollansky [EMAIL PROTECTED]:

I would recommend to use cygwin if you want to write a program for
multiple platforms.

That is what I'm going to do.


What is your programming background?

Sorry I don't understand this question? What do mean by background? :(


C, Pascal ..

Unix, Windows ...

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: New to cygwin

2007-11-26 Thread Erich Dollansky

Hi,

Tomasz Jankowski wrote:


I'm completely new to cygwin (and generally to programming for the MS
Windows too). I'm working on a library and I need to use some socket
API in it. I decided to prepare port for win32, but it's much harder,
that I thought.


the basic socket API of Windows and cygwin is the same based on Berkeley.

I would not recommend to use cygwin if you want to write a plain Windows 
program.


I would recommend to use cygwin if you want to write a program for 
multiple platforms.



4. How does  the performance look? Will my library have really poorer
performance if I use cygwin instead of winsock API?


This is a minor problem for thinks like this.

What is your programming background?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: DISPLAY set up

2007-11-24 Thread Erich Dollansky

Hi,

did you install a window manager and did you select the same window 
manager in your startup script?


Erich

Hernan Praddaude wrote:

Sirs:
I installed cigwin and I'm able to get the full screen and the pointer but
nothing else. At some stage of the trying process I receive the error msg.
that DISPLAY is not set. Would you please send me a sample of the
configuration files to get the XWindows displayed in my PC and directions
and how to install them?
Thank you very much!
Hernan Praddaude
[EMAIL PROTECTED]


--
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: copying a million tiny files?

2007-11-01 Thread Erich Dollansky

Hi,

Brian Dessent wrote:



Using xcopy, is kind of silly and wont get you compatiblity.. especially in 
scripts


Portability to non-Windows systems is of course a problem but xcopy is
present on every install of Windows that has ever existed going back to
some very old version of MS-DOS so it is probably one of the most
portable commands in existance on this platform.

if I remember right, XCOPY is older than any networking stuff on this 
plattform. It should be there since the first hard disks have been there.


Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin Window

2007-10-26 Thread Erich Dollansky

Hi,

Earl Albin wrote:

Can anyone help me with  envoking the window interface
with the latest Cygwin X winow application. I tried
both methods the shell scrip and the batch file method
and neither works.\


you must tell us a bit more.

Post at least your batch file you are using to start X and also the name 
of the window manager you have actually installed.


Erich


Thanks,


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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/




--
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: Has anyone run xdm successfully under cygwin?

2007-10-14 Thread Erich Dollansky

Hi,

pbs wrote:

Erich Dollansky wrote:


I do not know about this package but all other packages' source can be
downloaded via setup.exe with checking the proper checkbox.

The sources will then automatically fit to the binary you have on your
machine.


Thanks I had not see the src column, It was scrunched up until you
mentioned it and I expanded it :-)

the default size of this window is pretty small. I maximise it normally 
to see at least something.


Erich

--
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: Has anyone run xdm successfully under cygwin?

2007-10-13 Thread Erich Dollansky

Hi,

I do not know about this package but all other packages' source can be 
downloaded via setup.exe with checking the proper checkbox.


The sources will then automatically fit to the binary you have on your 
machine.


Erich

pbs wrote:

pbs wrote:

pbs wrote:

pbs wrote:

I have come back to this problem and have messed around with xdm on a
Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has
similar problems to those I experienced back in 2003. So in the interim
has anyone successfully run the program?

So that I can trace the problems further, I would like to download the
source code for xdm and compile it. I looked at the instructions at
http://x.cygwin.com/ and could not work out how I can go about
downloading xdm sources and supporting libraries. Please could someone
point me to a document on how to download the necessary source code, or
tell me how to do it.

OK I know it is available in this package
http://cygwin.com/packages/xorg-x11-bin/xorg-x11-bin-6.8.99.901-1-src
but I don't now yet how to download and build it. Can someone please
give me some pointers.


found a mirror site via
http://sourceware.org/ - http://sourceware.org/mirrors.html -
http://www.mirrorservice.org/sites/sources.redhat.com/pub/cygwin/ etc


--
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: How to write directory address under Cygwin?

2007-10-08 Thread Erich Dollansky

Hi,

Peter Hains wrote:

Hi all,

I know this quite probably a very basic question, so basic in fact, I 
haven't been able to find any help! I have Cygwin up and running on my 
PC and I am trying to use a UNIX program under Cygwin. The program 
requires a parameter file telling it where to find all the files it has 
to work on. This file can be found in the 


the program should have the environment variable 'HOME' set to the home 
directory of the current user. Use this to create the base for the path 
and then add at run-time the remaining parts.



/home/PHains/SuperHirn/make


Can you share your SuperHirn with some of the politicians around?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: How to write directory address under Cygwin?

2007-10-08 Thread Erich Dollansky

Hi,


Peter Hains wrote:

René Berber r.berber at computer.org writes:


Are you sure you need the directory path not the file path?


I actually need to specify a file within the directory. I wasn't aware that
would make a difference. 


For the record, I do have read/write permission in the directory, and the
directory does exist!! I am executing the program within the ~/SuperHirn/make


you cannot define a directory in a C program like this. Take the home 
directory and then either move with individual 'cwd' calls to the target 
directory or you create at run-time with strcat the full path and then 
open the file.



directory and this is where the file I am specifying also resides. I do not know
for sure if this program evens runs under Cygwin, it was meant for UNIX/Linux,
I'm just trying to get it working.

Both described methods work under cygwin, any Unix I know, even Windows 
itself and FreeBSD.



I tried a few more iterations and nothing wants to work, very frustrating.

Any more suggestions? Install Linux in a dual boot system?? 


You do not need to do things like this just to open a file.

Erich


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: gcc does not know about new and delete

2007-09-21 Thread Erich Dollansky

Hi,

Framk gave you the answer.

gcc is a plain c compiler.

Erich

Joel W. Gannett wrote:
I've checked but was unable to find any FAQs on this subject, as 
keywords such as new and delete apparently created too many hits.


Why doesn't my cygwin gcc know about the standard C++ functions new 
and delete?  Here is an ultra-simple program (newtest.cpp) that won't 
compile for me under cygwin:


// program begin

#include stdio.h

int
main()
{
   int *i;
 i = new int;
   *i = 15;
   printf ( hello, world: %d\n, *i );
   delete i;
   return 0;
}

// program end

This is what happens when I try to compile this program under cygwin on 
my Windows XP machine:


% gcc newtest.cpp
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x32): undefined reference to 
`operator new(unsigned int)'
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x5e): undefined reference to 
`operator delete(void*)'

collect2: ld returned 1 exit status

Also, I get essentially the same compilation failure messages when I try 
to compile this under cygwin on my Windows 2000 machine.


When I compile this simple program using gcc on a Sun Unix workstation, 
it compiles fine, with no messages, and runs fine as well.


Any help on this problem would be appreciated.  I have attached the 
cygcheck.out file for my Windows XP machine.





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: xterm changed from german to english

2007-09-12 Thread Erich Dollansky

Hi,

Holger Krull wrote:

Sebastian Posch schrieb:

I have a german WindowsXP installation with a german keyboard. Since
yesterday all of a sudden I get only english input in xterm. y is z, -
is / ...

I still have german input in bash and DOS prompt, so I tried restarting
the X server and reinstalling xterm, but it didn't help.

I'd be interested in what could've been causing this.


It could be windows xp switching the keyboard for Xwin, i have this annoying 
behaviour with skype. I have to manually select german. (Eingabegebietsschema)


the other option could be:

setxkbmap -layout de

Erich

--
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: Cygwin inoperable immediately following install

2007-09-10 Thread Erich Dollansky

Hi,

Asa Zernik wrote:


I just tried to install Cygwin on an HP Pavilion running Windows XP Media
Center Edition (which I think is only different in having a some media


this should not be the cause of the problem.


2007/09/10 22:25:26 running: C:\Cygwin\\bin\bash.exe -c
/etc/postinstall/00ash.sh
2007/09/10 22:25:26 abnormal exit: exit code=-1073741515

Are .sh files the post-install scripts that the install guide mentions? What
error does the exit code -1073741515 indicate?


See .sh files as .bat like you know from Windows.

It seems that certain files are missing.


How can I get Cygwin running on my system?


Can you run setup again with downloading the missing files from the 
Internet?


Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin Window closes immediately

2007-09-09 Thread Erich Dollansky

Hi,

did you edit the batch file which starts cygwin?

If not, do so.

All you need to know is inside the batch file.

Erich

David FAY XX (SY/EPA) wrote:

Hello,

I am having problems opening cygwin. A window pops up when I double
click on the shortcut on the desktop but it immediately closes. Cygwin
is installed in the following location: c:/cygwin. Any suggestions? I'm
using Windows XP. Also in setup.log file in /var/log directory it says
Installation Complete Are there other log files I could check to see
what is going on?

Regards,
David



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: executing C program in cygwin

2007-08-22 Thread Erich Dollansky

Hi,

Enna wrote:


/path to the program/programnamefilename

This worked fine yesterday, however today all i get is the message bash:
filename: no such file or directory. I must admit that I shifted the


check for spaces in the names and insert a space behind the program name.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Bash

2007-08-21 Thread Erich Dollansky

Hi,

Jam One wrote:

I have downloaded the recent copy of cygwin and there
is no bash.exe in the cygwin/bin directory, yet the
cygwin.bat file points to the bash command.


you have to install bash after installing cygwin.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: help! cygwin window linux cmds dont work/ not recognised

2007-07-23 Thread Erich Dollansky

Hi,

edzio wrote:

Hi,
I just installed cygwin from cygwin.com, the window opens with a bash-3.2$ 
prompt no colon - i am trying cygwin to have a command line c++ compiler

that behaves like linux. but commands like   ls  or cd  arent recognised or
any command at all... what am i missing?


I would guess that you did not install them.

Try the built-in commands.

And then start setup again to install more packages. You will need gcc.

Erich

--
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: hacked package on server

2007-07-16 Thread Erich Dollansky

Hi,

Carlo Florendo wrote:

Brian Mathis wrote:
The OP said:

  Do you want to skip the package? and has a yes and no button.
  I read it quickly and pressed no before thinking about it
^^

So you see, it's a problem of thought.  The UI message *is* very clear.

One simply needs to think before acting.


the message is clear.

The user answers that he wants to install.

As I understand this threat, the message is misleading in this case.

I noticed this many times with the installer. A person who knows the 
installer, can give the proper answer. A normal user will answer the 
question as he understands it using plain English.


Do you want to skip the package?

No!

Why did I start the installer in the first place?

To install the package.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: hacked package on server

2007-07-16 Thread Erich Dollansky

Hi,

Pedro Alves wrote:

Erich Dollansky wrote:


Carlo Florendo wrote:

Brian Mathis wrote:
The OP said:

  Do you want to skip the package? and has a yes and no button.
  I read it quickly and pressed no before thinking about it
^^

So you see, it's a problem of thought.  The UI message *is* very clear.

One simply needs to think before acting.


the message is clear.

The user answers that he wants to install.

As I understand this threat, the message is misleading in this case.

I noticed this many times with the installer. A person who knows the 
installer, can give the proper answer. A normal user will answer the 
question as he understands it using plain English.


Do you want to skip the package?

No!

Why did I start the installer in the first place?

To install the package.



Perhaps the screen should flash, and a loud beep


no, this is not the idea behind.


The switch from:

do you want to format your drive?:

+-+  +-+
+ yes +  + no  +
+-+  +-+

to:

do you want to format your drive?:

++  +-+
+ format +  + cancel  +
++  +-+

... Makes it much easier to understand what the software's up to.

when I start a disk formating program, I understand the question just as 
a confirmation.


When I start an installation program, I will also understand simple 
questions like this as an confirmation.


But the question appears this time not as a confirmation but as an error 
message. Displaying the short message give the normal user even more the 
impression that it is just a simple confirmation of what he is intending 
to do anyway. So, he answers with his intend in mind.


Erich



And, paint the pushbuttons the same color you've
done your bikeshed.

Cheers,
Pedro Alves



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



setup exe comes with an empty list of mirrors

2007-07-08 Thread Erich Dollansky

Hi,

I just have downloaded setup.exe on a machine which never has had cygwin 
installed.


Starting setup.exe showed only an empty mirror list.

I think that this could confuse new users.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with stat

2007-06-28 Thread Erich Dollansky

Hi,

Eric Blake wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Erich Dollansky on 6/26/2007 6:57 AM:

   if (stat (/usr/X11R6/share/doc/lesstif-0.94.4/html/Lessdox, Stat)
== 0)
   {
  printf (Mode: %lX\n, (unsigned long) Stat.st_mode);
  if (S_ISDIR (Stat.st_mode))
 printf (Directory flag is set.\n);

The result is the same as before.


is is right that the link is pointing to itself resulting in an endless 
loop?


!symlink/usr/X11R6/share/doc/lesstif-0.94.4/html

Or is it an installation error?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Problem with stat

2007-06-26 Thread Erich Dollansky

Hi,

I have a problem with either understanding the C function stat or with 
cygwin.


When I run stat from the console I get this:

  File: `Lessdox' - `/usr/X11R6/share/doc/lesstif-0.94.4/html'
  Size: 40   Blocks: 1  IO Block: 1024   symbolic link
Device: e491f35dh/3834770269d Inode: 1125899906895407  Links: 1
Access: (0777/lrwxrwxrwx)  Uid: ( 1005/   Erich)   Gid: (  545/Utilisateurs)
Access: 2007-06-26 07:42:49.979648000 +0400
Modify: 2007-04-27 16:52:21.254708800 +0400
Change: 2007-04-27 16:52:21.254708800 +0400


When I run this little C++ program:

PRIVATE VOID StatLessdox (VOID)
BEGIN
   struct   stat Stat;

   IF (stat (/usr/X11R6/share/doc/lesstif-0.94.4/html/Lessdox, Stat) 
== 0) THEN

  printf (Mode: %lX\n, (unsigned long) Stat.st_mode);
  IF (S_ISDIR (Stat.st_mode)) THEN
 printf (Directory flag is set.\n);
  END;
  IF (S_ISREG (Stat.st_mode)) THEN
 printf (Is a regular file.\n);
  END;
  IF (S_ISLNK (Stat.st_mode)) THEN
 printf (Link flag is set.\n);
  END;
   END;
END;

I get this:

Mode: 41F8
Directory flag is set.

I do not get the message 'Link flag is set.'

Why is Lessdox not recognised as a link here?

I run cygwin as current of last week.

Erich


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with stat

2007-06-26 Thread Erich Dollansky

Hi,

Václav Haisman wrote:

Erich Dollansky wrote:
[...]

When I run this little C++ program:

PRIVATE VOID StatLessdox (VOID)
BEGIN
   struct   stat Stat;

   IF (stat (/usr/X11R6/share/doc/lesstif-0.94.4/html/Lessdox, Stat)
== 0) THEN
  printf (Mode: %lX\n, (unsigned long) Stat.st_mode);
  IF (S_ISDIR (Stat.st_mode)) THEN
 printf (Directory flag is set.\n);
  END;
  IF (S_ISREG (Stat.st_mode)) THEN
 printf (Is a regular file.\n);
  END;
  IF (S_ISLNK (Stat.st_mode)) THEN
 printf (Link flag is set.\n);
  END;
   END;
END;

[...]
This is NOT C++. Not without some obscure header included before the source.


this is why I mentioned that it is C++.

Erich


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with stat

2007-06-26 Thread Erich Dollansky

Hi,

Eric Blake wrote:


If it were truly C++, you would have also showed the include files and
preprocessor macros that you used.  If you want help on this issue,
provide a COMPILABLE example, and preferably one that is not so masked by
macros that it looks more like pascal than C++.


here we are.

The problem has nothing to do with the program.

#include stdio.h
#include sys/stat.h
int main (int argc, char ** argv)
{
   int res;
   struct   stat Stat;

   res = 0;
   if (stat (/usr/X11R6/share/doc/lesstif-0.94.4/html/Lessdox, Stat) 
== 0)

   {
  printf (Mode: %lX\n, (unsigned long) Stat.st_mode);
  if (S_ISDIR (Stat.st_mode))
 printf (Directory flag is set.\n);
  if (S_ISREG (Stat.st_mode))
 printf (Is a regular file.\n);
  if (S_ISLNK (Stat.st_mode))
 printf (Link flag is set.\n);
   }
}

plus the make file

CFLAGS  += -I . \
-funsigned-char \
-Wall

Inter   = Inter/
Run = Run/
obj = .obj
exe = .exe
make= .make

All:test${make} \
teststat.cpp\
${Inter}teststat${obj}  \
${Run}teststat${exe}

${Inter}teststat${obj}: teststat.cpp
g++ ${CFLAGS} -c teststat.cpp -o ${Inter}teststat${obj}

${Run}teststat${exe}:   ${Inter}teststat${obj}
g++ ${CFLAGS}   \
${Inter}teststat${obj}  \
-o ${Run}teststat${exe}

The result is the same as before.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with stat

2007-06-26 Thread Erich Dollansky

Hi,

Eric Blake wrote:

-BEGIN PGP SIGNED MESSAGE-


Why is Lessdox not recognised as a link here?


Because your program asked about what the link pointed to, and not about
the link itself.  The command line 'stat' uses lstat(), which is probably
what you want your program to do.  And this question is not cygwin-specific.


thanks!

I know. It is more about the user who is using but not understanding cygwin.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin allocted time slice

2007-06-15 Thread Erich Dollansky

Hi,

Christopher Faylor wrote:

1998:
B20 rocks!  I wish it wasn's so slow.  Should I defragment my drive?


isn't reformat and reinstall Windows the right answer here?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: folder creation

2007-06-14 Thread Erich Dollansky

Hi,

jayachandran kamaraj wrote:

any folder created by windows inside my documents has just d- 


the folder needs at least one x set.

chmod manually?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Kile on Cygwin?

2007-06-09 Thread Erich Dollansky

Hi,

Saro Engels wrote:

Gustavo Seabra schrieb:


I wonder if anyone here is using Kile (the LaTeX editor) under Cygwin.


Kile is not in cygwin. You didn't overlook anything.

There is a very difficult way provided by a third party to bring some 
KDE stuff running under cygwin - which is not supported anymore.

(I tried to run Kate but didn't get it).


I got Kate from

ftp://sunsite.dk/projects/cygwinports

and it works.

But I have had to rerun setup from an official site to get cygwin 
working again.


Konqueror works only as a web browser. It crashes otherwise.

Erich
There was a plan to make KDE 4 apps running natively under windows but I 
don't know how far the KDE-Teams got with that.


So try Miktex instead - it is the best Solution, I think.

SE

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



problem with drive letters when running from DOS box

2007-05-29 Thread Erich Dollansky

Hi,

I noticed a strange problem. I tried to run 'cmp' from a DOS box but it 
could not find the file.


cmp d:\Data\file1 e:file2

did simply not see file2 even if I started cmp from e:.

As I was off-line when I needed cmp, I wrote my own cmp to compare the 
files.


What surprise. The same effect.

I investigated further just to find out that fopen does not find files 
if they do not contain '\' after the drive letter.


In the test case, E: does not contain any directories which might 
confuse fopen.


I updated cygwin last week.

cygwin1.dll is dated 31.01.2007.

Both programs work as expected when started from bash.

Erich


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with drive letters when running from DOS box

2007-05-29 Thread Erich Dollansky

Hi,

Corinna Vinschen wrote:

On May 27 07:49, Erich Dollansky wrote:


I noticed a strange problem. I tried to run 'cmp' from a DOS box but it 
could not find the file.


cmp d:\Data\file1 e:file2


Actually we don't expect this to work.  The DOS notion of a drive relative


it works perfectly even if the back slash is in the path.


working directory isn't supported by Cygwin.  You should rather use POSIX
paths anyway (cmp /cygdrive/d/Data/file1 /cygdrive/e/file2).


I did not know that this works when I start the program from a DOS box.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem with drive letters when running from DOS box

2007-05-29 Thread Erich Dollansky

Hi,

Erich Dollansky wrote:

Hi,

Corinna Vinschen wrote:

On May 27 07:49, Erich Dollansky wrote:


I noticed a strange problem. I tried to run 'cmp' from a DOS box but 
it could not find the file.


cmp d:\Data\file1 e:file2


Actually we don't expect this to work.  The DOS notion of a drive 
relative


it works perfectly even if the back slash is in the path.


wrong English: just delete the 'even'.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



_ultoa

2007-05-25 Thread Erich Dollansky

Hi,

I try to find the function _ultoa to convert some numbers. Even the 
search at project's website does not show a single hit. Google finds a 
lot but I did not find a reference which solves my problem.


I can compile sources with references to _ultoa because I have mingw 
installed.


But I cannot link the resulting objects to an executable as the linker 
cannot find the function in any library (undefined reference).


This all seems to me like a very stupid error of mine where I simply 
cannot see the jungle because of the many trees around.


Thanks!

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Why is Cygwin1.dll monolithic?

2006-06-10 Thread Erich Dollansky

Hi,

Václav Haisman wrote:

Today I woke up and one of the first things that came on my mind was
this: Why isn't Cygwin1.dll devided to the kernel and separate C library?


isn't it just the API?

So why should there be a 'kernel'?

Erich


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: scp timeout on dual-core processor

2006-05-02 Thread Erich Dollansky

Hi,

Harig, Mark wrote:

The Cygwin version of the openssh utility program, 'scp', appears to
have a defect that prevents
it from copying files above a certain size, when 'scp' is running on
computers with Intel 
dual-core processors.


Cygwin/openssh/etc. on two more
computers with dual-core CPUs.  Both additional computers have the same
problem.

I have repeated the commands above without any errors on computers
running Windows 2000,
2003, and XP.  All computers are connected to the same network.  None of
the computers on
which the above commands ran successfully are using dual-core CPUs.


did you test it on a machine with two or more real CPUs.

This could be a 'simple' SMP related problem or a dual core problem.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: pthreads don't scale on windows xp, but does scale on linux, cygwin 1.5.19

2006-03-21 Thread Erich Dollansky

Hi,

jdeifik wrote:

At 07:00 PM 3/21/2006, you wrote:


jdeifik wrote:

I have a dual xeon 2.4ghz machine with hypertreading enabled.
This gives me 4 logical processors.


I am not sure why it is important to have a HT aware scheduler for 
Windows, when there are 4 or more
threads. I can see with 2 threads you would like to have one per 
physical processor.
With 4 or more threads, cygwin phtreads really sucks, 4-62%, 6-39%, 
8-30% efficiency.


I do not wonder. HT does not give a full CPU to the other thread. If the 
scheduler is not aware of the problem, it actually slows down the 
performance of the real CPU.


It seems to me that more and more apps are turning to threading for 
performance,
and more and more hardware is available with multi-processor, 
multi-core, and multi-threading.


Yes, this is why programs must be written to run with real CPUs and not 
something Intel calls HyperThreading.


Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Where is The Binary Only Install CD?

2006-01-26 Thread Erich Dollansky

Hi,

you can do it yourself.

Just download all the packages you want but do not install them. They 
files are kept in a location one directory level below where the setup 
executable sits.


Then burn all to CD including the setup program and start it at the 
target machine.


Erich
big one wrote:

I want to help my friend without internet connection in installing Cygwin. The only setup 
program is setup.exe (online).

The official advice: download release directory from Cygwin mirror. This 
directory contain 2 versions of source codes and 2 binary / pre-compiled versions of each 
package. There are more than 250 package.

I know about GNU license, but can Cygwin team/someone create a complete Cygwin 
install CD / ISO with 1 version of pre-compiled binary and no source code?

Thank you.

_
= You want FREE web-based email ? 
= You want your own @qon.lao.net address??

= Then you want LaoNet's WebMail !
= Get it at http://webmail.lao.net !!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: scribus: cygjpeg-62.dll not found

2005-12-10 Thread Erich Dollansky

Hi,

René Berber wrote:


Christopher Faylor wrote:
[snip]

- From Cygwin/X's main page you can also find the mailing list at CygGnome
project, which also looks appropiate:

  http://sourceforge.net/mail/?group_id=67909


I will try it there.


BTW the OP problem was probably the result of not using setup.exe to install
Scribus, the instruction in cygwinports.dotsrc.org should be followed.

I did use the setup.exe which is the first file to be downloaded for 
CygWin. I also think that I followed their instructions.


I did it twice. First upgrding an existing installation and then, after 
failing, I installed CygWin from scratch again.


Erich

--
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: scribus: cygjpeg-62.dll not found

2005-12-10 Thread Erich Dollansky

Hi,

Christopher Faylor wrote:

On Sat, Dec 10, 2005 at 03:13:24PM -0600, Ren? Berber wrote:


Christopher Faylor wrote:
[snip]


Sorry but it isn't up to Yaakov to decide if things that aren't part of
the cygwin distribution are discussed here.  The fact that we advertise
other people's cygwin efforts doesn't mean that we are automatically
opening up the cygwin mailing list to discuss their efforts.

As the number of users is growing may I suggest a mailing list run by 
cygwin dealing with applications which are contributed?


The knowledge users have gets spreads all around different lists and it 
becomes very hard to find a solution in one list if the problem is 
caused by some 'minor' change in a program dealed with at some other list.


It makes it also easier for users just to track a single list compared 
to many especially if the new lists are not even known to the avarage user.


Erich

--
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: scribus: cygjpeg-62.dll not found

2005-12-10 Thread Erich Dollansky

Hi,

Yaakov S (Cygwin Ports) wrote:

Christopher Faylor wrote:

And (before someone asks) wrt to the first scribus thread started by 
René, I only continued that discussion here since her problem has to do 
with qt3 itself, which I maintain *within* the distro.  It now appears 
that she may have found a regression in a recent snapshot due to that 
discussion too.


Isn't this the reason why isolated lists will fail and confuse users?

My problem also looks like being qt related and not scribus related as 
qtconfig shows the same behaviour.


Erich

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



scribus: cygjpeg-62.dll not found

2005-12-09 Thread Erich Dollansky

Hi,

after installing Scribus from ftp://sunsite.dk/projects/cygwinports, I 
get the error message that cygjpeg-62.dll is missing.


I tried first an upgrade of my old installation an later did a fresh 
one. I got in both cases the same error message.


Is there a solution to this?

How can I help to locate the error?

Erich

--
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: scribus: cygjpeg-62.dll not found

2005-12-09 Thread Erich Dollansky

Hi,

thanks for your help.

I found out that the package I needed war not available at the original 
site.


Christopher Faylor wrote:



after installing Scribus from ftp://sunsite.dk/projects/cygwinports, I
get the error message that cygjpeg-62.dll is missing.


If you visit http://cygwin.com/packages/, you can find the package that
contains the missing file.  Then you can use setup.exe to install it.


I used then ftp://ftp.sunet.se to get the missing file.

The new problem is now that Scribus consumes all of the CPU time and 
does not show up at all.


I also noticed the .qt directory in the home directory of the user is 
empty. Shouldn't there be some kind of settings stored?


Do I have to run first some kind of desktop to get Scribus running?

Erich

--
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: scribus: cygjpeg-62.dll not found

2005-12-09 Thread Erich Dollansky

Hi,

René Berber wrote:


Erich Dollansky wrote:

Have you tested any other X Windows application?


I just closed Gimp before writing this. I use X since a long time 
without any problems like this.



~/.qt is empty, no problem there, you can set some options running
/usr/lib/qt3/bin/qtconfig.exe but it's not necessary.


It is the same story with qtconfig. It ends in an endless loop.


In /usr/share/doc/Cygwin/scribus-1.2.3.README there is a list of requirements,


I will verify this.

I could imagine that this problem is something really minor but it is 
has to be found first.


Thanks for your help.

Erich

--
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: sshd and X

2005-05-25 Thread Erich Dollansky

Hi,

Jean-Claude Gervais wrote:


Running an application gives a different error now also.

[EMAIL PROTECTED] ~
$ xcalc
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server
shutdown).

you need to run xauth + at your machine plus you have to set the display 
environment variable on the other machine.


Check the handbook for the concequenses of above mentioned settings.

Erich


Re: Deutsche Buerger trauen sich nicht ...

2005-05-15 Thread Erich Dollansky
Hi,
first the Nazis conquered Europe and now they conquer all those mailing 
lists.

The German text looks like being written on a US keyboard.
[EMAIL PROTECTED] wrote:
Auslaenderbanden terrorisieren Wahlkampf - deutsche Buerger trauen sich nicht 
ihre Meinung zu sagen!
Weiter auf:
http://www.npd-nrw.net/aktuelles/03_2005/ak_presse_nrw_1603.htm
http://www.npd.de/npd_info/meldungen/2005/m0505-13.html
http://www.npd.de/npd_info/meldungen/2005/m0505-14.html
The URLs are from the current Nazi party in Germany. Can CygWin set a 
spam filter to block all mails containing German nazi URLs.

Erich
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/