Re: docbook-xml42-4.2-3-src.tar.bz2 : md5sum failure

2004-11-10 Thread Marcel Telka
On Wed, Nov 10, 2004 at 07:38:50AM -, [EMAIL PROTECTED] wrote:
 ~ grep xml42.*3.*src setup.ini
 release/docbook-xml42/docbook-xml42-4.2-3-src.tar.bz2 119001
 04459ac59c6b258d1cb812bbcc59c6eb
 
 ~ find release/ -name *xml42*3*src* | xargs md5sum
 c443933657226aacfd8c05082db86f0f
 *release/docbook-xml42/docbook-xml42-4.2-3-src.tar.bz2

MD5 sum in setup.ini is bad.

-- 
+---+
| Marcel Telka   e-mail:   [EMAIL PROTECTED]  |
|homepage: http://telka.sk/ |
|jabber:   [EMAIL PROTECTED] |
+---+


[ITP] mathomatic-11.5-1

2004-11-10 Thread Reini Urban
I've updated my not yet approved package of mathomatic to the latest 
upstream version.

http://xarch.tu-graz.ac.at/publ/cygwin/release/mathomatic/
  (also via setup at http://xarch.tu-graz.ac.at/publ/cygwin/)
It has the wanted changes from Volker, for which it got a GTG,
and it has 2 votes.
http://rpmseek.com/rpm-pl/mathomatic.html?cs=mathomatic:PN:0:0:0:0
finds only a PLD Linux distro, so it needs 3 more votes.
About: Mathomatic is a highly portable,general purpose symbolic math 
program that can solve, simplify, combine, differentiate, integrate, and 
compare algebraic equations. It can do standard, complex number, and 
polynomial arithmetic. It is designed to be as general as possible, with 
few options. It is a console mode application that compiles and installs 
easily.

Changes: This release uses memmove() instead of the deprecated 
bcopy(). There are several improvements to the scripts in the tests 
directory. Better modulus simplification and automatic approximations of 
real^complex and complex^complex are new features in this release.

Reini Urban schrieb:
I would like to contribute and maintain the cygwin-port of the 
mathomatic package:

http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/mathomatic/mathomatic-11.3f-1-src.tar.bz2 

http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/mathomatic/mathomatic-11.3f-1.tar.bz2 

http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/mathomatic/setup.hint 

This is the second attempt. In the first ITP with version 11.3d we only 
talked about licensing issues, which are now solved, but I got no 
reviews. Which is a shame, since it is such a simple package. 
http://www.mathomatic.com

Sample:
; iterative root approximation equation:
x_n = x_o*y/(x_o^n))-1)/n)+1)
simp
repl x_n x_o with x
x
This is just the mathomatic console client from the mathomatic package. 
Not distributed are the samples for prime number generation:
twin, sumsq, primes and around. If you want these also, get the src 
packages and compile them by yourself.

maxima (on clisp) is also suitable and maybe better, but harder to install.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


Re: [ITP] sqlite-3.0.7

2004-11-10 Thread Yaakov Selkowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gerrit P. Haase wrote:
| How is it going with the SQLite build?  We're about to release the main
| parts of the GNOME desktop currently, some days further we'll need to
| build several more GNOME releated libraries beyond the desktop to
| support applications, among them libgda and libgnomedb, i.e. these have
| SQLite interfaces which we want to include as well.
|
| Could you finish the port so it can be uploaded?
Gerrit,
~From the looks of things, I wouldn't wait around for Jari to decide to
show up again.  I've built both 2.8.x and 3.0.8 locally.  I'm not sure
which version libgda will use, but both can be installed in parallel, so
this isn't a major problem.  While I'd rather not maintain these myself,
when libgda-1.2.0 comes out and we still don't have a sqlite maintainer,
then maybe I'll change my mind.
Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBks6FpiWmPGlmQSMRAmzoAKCPR3AsZVfUgYfZUiR7UwX/W7f3eACfQkaE
CSaih3wC/aqZs2hVZElrGII=
=omr4
-END PGP SIGNATURE-


Re: [ITP] mathomatic-11.5-1

2004-11-10 Thread Yaakov Selkowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Reini Urban wrote:
| I've updated my not yet approved package of mathomatic to the latest
| upstream version.
|
| http://xarch.tu-graz.ac.at/publ/cygwin/release/mathomatic/
|   (also via setup at http://xarch.tu-graz.ac.at/publ/cygwin/)
|
| It has the wanted changes from Volker, for which it got a GTG,
| and it has 2 votes.
|
| http://rpmseek.com/rpm-pl/mathomatic.html?cs=mathomatic:PN:0:0:0:0
| finds only a PLD Linux distro, so it needs 3 more votes.
Well, mathomatic is in Debian testing, so that shouldn't be necessary.
But just in case, +1 from me.
Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBks9QpiWmPGlmQSMRAtv3AKCm6hhEkNrwHeFHowj+UnCyg8L8PACfRNWy
dvdqSYbGz9dNkwWT4I8baX0=
=MeY9
-END PGP SIGNATURE-


Re: X Win Error

2004-11-10 Thread Gerrit P. Haase
siddharth adelkar wrote:
Hi,
  I have obtained this error 
___
[EMAIL PROTECTED] ~
 ^ This is your username?
cat: /home/cygwinuser/.Xauthority: No such file or directory
 ^^ this is your HOME directory?
This is unusual, it does not match, my name is 'gerrit' and my homedir 
is /home/gerrit.

When I run startx I see nearly the same output but it continues like this:
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened 
the display.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the 
display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully 
opened the display.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

After that the server is running and accepting connections.  Does X 
actually is running and can you connect, ie. is the xterm opened?

Gerrit
--
=^..^=


Re: xorg installation fails, 99% complete only

2004-11-10 Thread Alexander Gottwald
Alexander Gottwald wrote:

 Bobby McNulty wrote:

  Sorry for the insult, but under Harolld, he would have everything tested
  on different machines and configurations. I'm running Windows XP
  professional with Service Pack #2. Find out what the others are using.

 I don't expect people to send me flowers
 for my work. But I expect them not to insult me in complete disregard of
 the amount of time I invest in the project.

Bobby, the former posting was not a rant against you. It was more a general
statement. You apologized and I don't want to keep fire burning.

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


Xming.exe comments

2004-11-10 Thread Øyvind Harboe
- My first intended use of Xming.exe is to try to make some progress on
tracking a crash in XWin.exe.  This stranded on GDB problems last I
attempted to track it down.

http://cygwin.com/ml/cygwin-xfree/2004-10/msg00112.html

- I didn't find any file called /usr/X11R6/lib/X11/rgb, but there is a
file called /usr/X11R6/lib/X11/rgb.txt
- Rejoice! GDB does not go ga-ga when debugging Xming.exe!
- I assume it builds upon pretty much the same source as XWin.exe. Is
the source available? Or even better committed to a CVS server
somewhere?
- I noticed Xming.exe depends on msvcr70.dll
- If someone could explain how to verify that a Linux box is configured
as a fontserver, it would be much appreciated. I think my Debian box is
running a font server. From my Debian box:

fury:~# ps -A | grep xfs
  431 ?00:00:00 xfs
- After I launch Xming.exe, it seems like it is stuck waiting for
something after the Xming.exe window is up. The mouse cursor is stuck as
an hourglass and the Xming.exe does not redraw. Attached is XWin.log.




-- 
Øyvind Harboe
http://www.zylin.com
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.1.99-0

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

Xming -fp tcp/fury:7100 -ac -co rgb -sp SecurityPolicy 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(++) FontPath set to tcp/fury:7100
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0414 (0414) 
(--) Using preset keyboard for Norwegian (414), type 81
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
(--) 5 mouse buttons found


Can't get startwin.bat to work

2004-11-10 Thread Mike McCollister
I have been using cygwin for years and the X client under cygwin for about a
year.  In order to get X to work, I have to make sure that I am running bash
and then run startxwin.sh to get it to work.  Well, I've been trying to get it
to work with just startxwin.bat but I am not successful.  It seems to have a
problem with the run commands.  Here are the run commands:

run XWin -clipboard -silent-dup-error
run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash
-l

I do have cygwin installed in c:\progra~1\cygwin and I have modified
startxwin.bat so that

SET CYGWIN_ROOT=c:\progra~1\cygwin

The last time I updated anything in cygwin as last week (first week of
November).

Does anyone know how to get the startxwin.bat to work?

Just a little more background.  When I mean that it does not work, I mean that
the X shows up as an icon next to the clock but nothing else happens.  If I
right click on the X, nothing happens.  I have to use the Task Manger to kill
XWin.exe.

Thanks,

Mike



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 



Re: Xming.exe comments

2004-11-10 Thread Alexander Gottwald
On Wed, 10 Nov 2004, Øyvind Harboe wrote:

 - My first intended use of Xming.exe is to try to make some progress on
 tracking a crash in XWin.exe.  This stranded on GDB problems last I
 attempted to track it down.
 
 http://cygwin.com/ml/cygwin-xfree/2004-10/msg00112.html
 
 - I didn't find any file called /usr/X11R6/lib/X11/rgb, but there is a
 file called /usr/X11R6/lib/X11/rgb.txt

Yes. This is the file. 

 - Rejoice! GDB does not go ga-ga when debugging Xming.exe!
 - I assume it builds upon pretty much the same source as XWin.exe. Is
 the source available? Or even better committed to a CVS server
 somewhere?

Not yet. But http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 has patches.
I hope to commit it the next days.

I've a new version posted on
http://www.tu-chemnitz.de/~goal/xfree/Xming.exe.bz2

- -query is working
- fontdirs can use drive letters in from
- default fontpath and rgbfile are relocated
  place Xming.exe in cygwin /usr/X11R6/lib/X11 and it will find
  all fonts and the rgb file.

  The relocation replaces /usr/X11R6/lib/X11 with the path component
  of the Xming binary

 - I noticed Xming.exe depends on msvcr70.dll

yes. It's required for scprintf which counts how much characters a sprintf would
write. Maybe I'll replace that with the snprintf from xc/lib/misc

 - If someone could explain how to verify that a Linux box is configured
 as a fontserver, it would be much appreciated. I think my Debian box is
 running a font server. From my Debian box:
 
 fury:~# ps -A | grep xfs
   431 ?00:00:00 xfs
 - After I launch Xming.exe, it seems like it is stuck waiting for
 something after the Xming.exe window is up. The mouse cursor is stuck as
 an hourglass and the Xming.exe does not redraw. Attached is XWin.log.

Maybe the fontserver is not responding.

most linux distributions havbe it setup without tcp transport. Check 
/etc/X11/fs/config 
and comment the line no-listen = tcp

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


Re: Xming.exe comments

2004-11-10 Thread Alexander Gottwald
On Wed, 10 Nov 2004, Øyvind Harboe wrote:

 More comments:
 
 - There is no Window title bar to drag the windows around by. (Perhaps this
 is pointed out in the first Xming.exe post). It would be useful to have the 
 ability
 to drag the Windows around, even if decorations will not be implemented for 
 a while
 still. Is this related to decoration? My command line:
 
 Xming -ac -fp tcp/fury:7100 -sp SecurityPolicy -co rgb -rootless
 
 same result with:
 
 Xming -ac -fp tcp/fury:7100 -sp SecurityPolicy -co rgb 

you'll need a window manager. twm is fine.

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


Re: Xming.exe comments

2004-11-10 Thread Alexander Gottwald
On Wed, 10 Nov 2004, Øyvind Harboe wrote:

 More comments:
 
 - Tested latest version of Xming.exe
 http://cygwin.com/ml/cygwin-xfree/2004-11/msg00059.html
 
 Maybe the fontserver is not responding.
 
 most linux distributions havbe it setup without tcp transport. 
 Check /etc/X11/fs/config and comment the line no-listen = tcp
 
 This fixed the problem.
 
 - When I try to launch Evolution, the X server dies. XWin.log attached.

I've put a new binary which fixes the errno issue and I had evolution running.

bye
ago
 
 

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


Why Xming.exe?

2004-11-10 Thread Øyvind Harboe
Some comments on why *I* think Xming.exe might be useful:


* CygWin is difficult to deploy. There are various reasons, but the most
important is that CygWin does not support side-by-side installs. 

Some users don't care about CygWin, all they want is SSH and a stable X
server and they'll be happy for years. 

Another example: I have some other programs (GCC embedded toolchain)
that hasn't changed in a year or two and I don't want those destablised
by a new version of CygWin.

CygWin itself does not have any nasty dependencies that I know about. 

* CygWin is always in flux. Who knows if todays version is going to
work? (If you install CygWin every 3 months or so, there are bound to be
new and improved versions).

* Download/install size is not important. If a single 20Mbyte offline
installable .exe gave me SSH + CygWin, I'd be happy. What is 200Mbytes
of harddisk space among friends these days?

* There are two many options and questions with CygWin. I imagine that
Xming.exe can come with a ~zero questions installer.



-- 
Øyvind Harboe
http://www.zylin.com




Re: Why Xming.exe?

2004-11-10 Thread Alexander Gottwald
On Wed, 10 Nov 2004, Øyvind Harboe wrote:

 * There are two many options and questions with CygWin. I imagine that
 Xming.exe can come with a ~zero questions installer.

This is the main reason. There is still some work to do but I plan on
having all defaults in Xming depend on the installation dir of Xming.

eg:

C:\Program Files\Xming\Xming.exe
C:\Program Files\Xming\fonts\...
C:\Program Files\Xming\xkb\...
C:\Program Files\Xming\rgb
C:\Program Files\Xming\XErrorDB
C:\Program Files\Xming\XKeysymDB
C:\Program Files\Xming\Xsecurity

This all packed together in an installer and most of the problems
with an easy deployable xserver for windows are gone

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


Re: xorg installation fails, 99% complete only

2004-11-10 Thread bruno patin
Good evening again,
install in two phases worked well. I can deinstall again and verify if 
there is the problem again ? could it be useful ?

joined :
an analysis of my system
the cygcheck result
hope that helps

Bobby McNulty wrote:
Look, I love Cygwin, xorg, and KDE.
I set up webpage so I can contribute to the progect.
And I will. I have to find some soundfonts small enough to distribute with
Timidity.
I wanted to also contribute Rosegarden. It requires KDE and Xorg.
I will try again in a minute here, without xorg, and then install xorg.
Sorry. I'm used to installing it all at once, not in pieces.
Alex, you are doing a great job with it. I was just perturbed that I could
not get it installed.
See you in two hours.
I'll be back then.
Bobby
http://www.geocities.com/bobbymcn2004
Home page


 


Date   2004/11/10 20:54:58

[Informations PC]
Nom du modèle Satellite M30X
Numéro de pièce   PSA72E-00F01ZFR
Numéro de série   X4424125K
Version SEMicrosoft Windows XP Édition familiale   5.1.2600 
  Service Pack 2
Version du BIOS   V1.20
UCIntel(R) Pentium(R) M processor 1.60GHz
Mémoire   512MB RAM
Capacité du disque dur60,011,642,880 [Octet]   55.890 [GB]
Espace disponible sur le disque dur51,352,645,632 [Octet]   47.826 [GB]
Vidéo ATI MOBILITY RADEON 9600/9700 Series   ver 
=6.14.10.6458
Résolution d'écran1280 x 800 Pixel
Qualité couleur   True Color (32 Bit)
Audio Realtek AC97 Audio   ver =5.10.0.5620
RéseauRealtek RTL8139/810x Family Fast Ethernet NIC   
ver =5.606.811.2003   MacAddress =00:02:3F:DB:31:9E
  Intel(R) PRO/Wireless 2200BG Network Connection   
ver =8.0.12.9000   MacAddress =00:0E:35:70:F4:BC
Modem TOSHIBA Software Modem   ver =2.1.38.0
Périphérique IDE 1IC25N060ATMR04-0
Périphérique IDE 2Aucun
Périphérique IDE 3MATSHITA DVD-RAM UJ-820S   Microprogramme =1.50
Périphérique IDE 4Aucun
Périphérique IDE 5Aucun
Périphérique IDE 6Aucun
Internet Explorer 6.0.2900.2180
  

EC/KBC Version
PS-MICOM Version  

[Informations QFE]
Windows UpdateKB834707
Windows UpdateKB885884
Windows UpdateQ147222


Cygwin Configuration Diagnostics
Current System Time: Wed Nov 10 21:19:02 2004

Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\lib\subversion\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\program files\imagemagick-5.5.7-q16
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\ATI Technologies\ATI Control Panel

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(bruno) GID: 513(Aucun)
513(Aucun)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(bruno) GID: 513(Aucun)
0(root)   513(Aucun)
544(Administrateurs)  545(Utilisateurs)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\bruno'
MAKE_MODE = `unix'
PWD = `/home/bruno'
USER = `bruno'

Use `-r' to scan registry

c:  hd  NTFS   57231Mb  16% CP CS UN PA FC 
d:  cd   N/AN/A
y:  net NTFS   57857Mb  31% CP CSPAbruno
z:  net NTFS   57857Mb  31% CP CSPACommun

C:\cygwin  /  userbinmode
C:\cygwin/bin  /usr/bin   userbinmode
C:\cygwin/lib  /usr/lib   userbinmode
.  /cygdrive  userbinmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

  120k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_client-1-0.dll
   25k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_delta-1-0.dll
   22k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_diff-1-0.dll
   11k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_fs-1-0.dll
  108k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_fs_base-1-0.dll
   75k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_fs_fs-1-0.dll
7k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_ra-1-0.dll
   69k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_ra_dav-1-0.dll
   14k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_ra_local-1-0.dll
   49k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_ra_svn-1-0.dll
   79k 2004/10/26 C:\cygwin\lib\subversion\bin\cygsvn_repos-1-0.dll
  123k 

remote usage of cygwin via microsoft telnet services

2004-11-10 Thread Rearick, Gabriele


not sure if this is the right mailing list:

Hi,
I am appreciating you sharing your input and experience regarding the following 
questions. 
I am currently using Microsoft telnet server and then execute cygwin.bat to 
start bash to build applications within cygwin.
so, I am telneting INTO the Windows2003 server. 
Since this kind of remote access results in messy output due to dtterm/telnet 
and bash settings for which I have not found a solution yet, I am writing to 
you.
I am looking for a solution to un-screwup bash via Microsoft windows telnet 
server or other products. 

Which LF/CR and other settings enable proper output?

I have also tried to use ReflexionX to get into the Windows2003 server, with no 
result.

Locally (sitting directly at the Windows2003 server) I can either start normal 
bash shell or start rxvt, but that window doesn't get thru 
to my other PC (at home or work).  

does anyone know if Interix telnet server (from Microsoft services for Unix) 
workes better with bash?

thanks in advance


Re: Why Xming.exe?

2004-11-10 Thread Christopher Faylor
On Wed, Nov 10, 2004 at 09:02:53PM +0100, Alexander Gottwald wrote:
On Wed, 10 Nov 2004, ?yvind Harboe wrote:
* There are two many options and questions with CygWin.  I imagine that
Xming.exe can come with a ~zero questions installer.

This is the main reason.  There is still some work to do but I plan on
having all defaults in Xming depend on the installation dir of Xming.

Er, I guess it's time I stepped in, then.

Since the name of this mailing list is cygwin-xfree and the site you
are using is cygwin.com, I would not expect too much traffic here
regarding non-cygwin solutions.

This *has* come up before and I think I'm being pretty consistent here.

Alexander, if you are going to be devoting a lot of time to this project
from now on do we need to find a Cygwin/X maintainer?  It seems like you
may need to find another mailing list, at least.

cgf


RE: remote usage of cygwin via microsoft telnet services

2004-11-10 Thread Bobby McNulty
Reading this reminded me of some. Disable telenet.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Rearick, Gabriele
Sent: Wednesday, November 10, 2004 3:05 PM
To: Rearick, Gabriele; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: remote usage of cygwin via microsoft telnet services




not sure if this is the right mailing list:

Hi,
I am appreciating you sharing your input and experience regarding the
following questions.
I am currently using Microsoft telnet server and then execute cygwin.bat to
start bash to build applications within cygwin.
so, I am telneting INTO the Windows2003 server.
Since this kind of remote access results in messy output due to
dtterm/telnet and bash settings for which I have not found a solution yet, I
am writing to you.
I am looking for a solution to un-screwup bash via Microsoft windows telnet
server or other products.

Which LF/CR and other settings enable proper output?

I have also tried to use ReflexionX to get into the Windows2003 server, with
no result.

Locally (sitting directly at the Windows2003 server) I can either start
normal bash shell or start rxvt, but that window doesn't get thru
to my other PC (at home or work). 

does anyone know if Interix telnet server (from Microsoft services for Unix)
workes better with bash?

thanks in advance

--
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: xorg installation fails, 99% complete only

2004-11-10 Thread Christopher Faylor
On Wed, Nov 10, 2004 at 08:43:02PM +0100, bruno patin wrote:
Good evening from france,

I bought a new box some days ago and decided to install cygwin. I had 
exactly the same install problem than the other people of the list. My 
computer is a win xp family edition sp2. I have the administrator rights 
and installed using the just me and unix options. What I saw is that 
the process was not blocked but reserved more and more memory (I stopped 
at 1Go). when cancelled, setup gave me the message indicated on a post 
before. I will try in some mns to install again (a fresh install, I 
removed all by hand after my  attempts) without the xorg package in 
order to obtain a cygcheck command to give you new informations plus I 
will reinstall these xorg packages.

Is there some reason why you won't just run cygcheck.exe while setup is
hung?  Have you tried it?  AFAIK, cygcheck should be operational by the
time setup has gotten to installing X.  It really has to be operational
since cygcheck.exe comes along with the Cygwin DLL.

Also, you could even run, oh I don't know, it's just a pretty drastic
suggestion, but you *could* run ps -ef.

cgf


Re: xorg installation fails, 99% complete only

2004-11-10 Thread bruno patin

Is there some reason why you won't just run cygcheck.exe while setup is
hung?  Have you tried it?  AFAIK, cygcheck should be operational by the
time setup has gotten to installing X.  It really has to be operational
since cygcheck.exe comes along with the Cygwin DLL.
Also, you could even run, oh I don't know, it's just a pretty drastic
suggestion, but you *could* run ps -ef.
 

In fact I did not use ps -ef (and cygcheck by the the way) for two reasons:
1/ I was following what happened with the windows task manager tool 
(where I followed the memory consumption)
2/ At this step of the install, you do not have the .bat or .sh command

I was wondering, if I launch setup.exe from my first installed cygwin on 
another directory using strace, will there be interactions between the 
old and new install ? Is it possible to have two completely different 
cywin install ? If yes I would know what is the loop in the program.

yes or no ?
B.Patin


RE: remote usage of cygwin via microsoft telnet services

2004-11-10 Thread Rearick, Gabriele
how else other than telnet would you suggest to login to that machine, then?


-Original Message-
From: Bobby McNulty [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 10, 2004 2:31 PM
To: Rearick, Gabriele; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: remote usage of cygwin via microsoft telnet services

Reading this reminded me of some. Disable telenet.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Rearick, Gabriele
Sent: Wednesday, November 10, 2004 3:05 PM
To: Rearick, Gabriele; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: remote usage of cygwin via microsoft telnet services




not sure if this is the right mailing list:

Hi,
I am appreciating you sharing your input and experience regarding the
following questions.
I am currently using Microsoft telnet server and then execute cygwin.bat to
start bash to build applications within cygwin.
so, I am telneting INTO the Windows2003 server.
Since this kind of remote access results in messy output due to
dtterm/telnet and bash settings for which I have not found a solution yet, I
am writing to you.
I am looking for a solution to un-screwup bash via Microsoft windows telnet
server or other products.

Which LF/CR and other settings enable proper output?

I have also tried to use ReflexionX to get into the Windows2003 server, with
no result.

Locally (sitting directly at the Windows2003 server) I can either start
normal bash shell or start rxvt, but that window doesn't get thru
to my other PC (at home or work). 

does anyone know if Interix telnet server (from Microsoft services for Unix)
workes better with bash?

thanks in advance

--
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: xorg installation fails, 99% complete only

2004-11-10 Thread Christopher Faylor
On Wed, Nov 10, 2004 at 10:50:58PM +0100, bruno patin wrote:
Is there some reason why you won't just run cygcheck.exe while setup is
hung?  Have you tried it?  AFAIK, cygcheck should be operational by the
time setup has gotten to installing X.  It really has to be operational
since cygcheck.exe comes along with the Cygwin DLL.

Also, you could even run, oh I don't know, it's just a pretty drastic
suggestion, but you *could* run ps -ef.


In fact I did not use ps -ef (and cygcheck by the the way) for two
reasons: 1/ I was following what happened with the windows task manager
tool (where I followed the memory consumption) 2/ At this step of the
install, you do not have the .bat or .sh command

Just run the programs directly from the cygwin directory:

c:\cygwin\bin\cygcheck -r -s -v  blah1

c:\cygwin\bin\ps -ef  blah2

Also, I believe that Gerrit suggested sending the contents of the setup
log files.

I was wondering, if I launch setup.exe from my first installed cygwin on 
another directory using strace, will there be interactions between the 
old and new install ? Is it possible to have two completely different 
cywin install ? If yes I would know what is the loop in the program.

yes or no ?

strace is for cygwin programs.  setup.exe is not a cygwin program.  It
can't be.  Requiring cygwin1.dll to install cygwin1.dll would never work.

I appreciate that you're trying to think of solutions here but there
have already been a couple of suggestions that no one seems to have
bothered to follow through on.   Why not just humor us and provide the
debugging info that we're asking for?

cgf


Re: remote usage of cygwin via microsoft telnet services

2004-11-10 Thread Christopher Faylor
On Wed, Nov 10, 2004 at 05:01:01PM -0500, Rearick, Gabriele wrote:
how else other than telnet would you suggest to login to that machine,
then?

Please remove cygwin-xfree from any future responses.

This has nothing to do with X on Cygwin.

cgf


Re: xorg installation fails, 99% complete only

2004-11-10 Thread bruno patin

I appreciate that you're trying to think of solutions here but there
have already been a couple of suggestions that no one seems to have
bothered to follow through on.   Why not just humor us and provide the
debugging info that we're asking for?
cgf
 

I'm on it  really :-)
I'll give you what needed as fast as possible but ... I'm on the way of 
compiling mico and this is a bit long. I'll do as said just after.

BPatin


Why Xming.exe?

2004-11-10 Thread Øyvind Harboe
I saw Chris post, and I must admit I was a bit put off by it.

I believe Xming.exe addresses some issues that should and could 
be addressed by CygWin.

Threatening to fire him(in public no less), is counterproductive, 
unthankful and rude.

A fruitful discussion on Xming.exe could help enumerate what issues 
Xming.exe addresses and how CygWin could grow to address them.


-- 
Øyvind Harboe
http://www.zylin.com




Re: xorg installation fails, 99% complete only

2004-11-10 Thread Darryl
Hi!
1) Cygwin is not a commercial set up , we do not pay support fees, we do 
not even pay for Cygwin.

2) We accept red hat owns the IP
3) The developers  supporters are volunteers, they do not HAVE to be 
nice and have the customer is always right approach as opposed to some of 
us in the commercial world.

4) They receive many many calls, they answer then briefly even abruptly, 
but they answer them.

5) Any developer knows that maintaining any product requires careful 
diligent thoughts and processes AND TIME

So just be patient and appreciative.
Having said that 
Maybe the site needs a code of conduct for the non contributors, a down 
load that will lay out a procedure to use, because when you are new it is 
easy not to know the rules. If one exists - sorry, it needs to be more 
prominent, a sort of download - now sign in blood approach.

Keep up the good work guys.
Darryl



Re: xorg installation fails, 99% complete only

2004-11-10 Thread Igor Pechtchanski
On Wed, 10 Nov 2004, Darryl wrote:

 Hi!

 1) Cygwin is not a commercial set up , we do not pay support fees, we do
 not even pay for Cygwin.

 2) We accept red hat owns the IP

 3) The developers  supporters are volunteers, they do not HAVE to be
 nice and have the customer is always right approach as opposed to some
 of us in the commercial world.

 4) They receive many many calls, they answer then briefly even abruptly,
 but they answer them.

 5) Any developer knows that maintaining any product requires careful
 diligent thoughts and processes AND TIME

 So just be patient and appreciative.

 Having said that 

 Maybe the site needs a code of conduct for the non contributors, a down
 load that will lay out a procedure to use, because when you are new it
 is easy not to know the rules. If one exists - sorry, it needs to be
 more prominent, a sort of download - now sign in blood approach.

What's wrong with http://cygwin.com/problems.html?  It's the first link
(Reporting Problems) in the Community section of the sidebar on most
Cygwin pages, and the 5th overall link in that sidebar.  How much more
prominent should it be?

There's also a section on the main Cygwin webpage that describes this code
of conduct you mention (http://cygwin.com/#bottom).  It's where the
Help, contact, web page, other info... link at the top of the main page
points to.
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: xorg installation fails, 99% complete only

2004-11-10 Thread Igor Pechtchanski
On Thu, 11 Nov 2004, bruno patin wrote:
Christopher Faylor wrote:
 Also, I believe that Gerrit suggested sending the contents of the setup
 log files.

 [snip]

 I appreciate that you're trying to think of solutions here but there
 have already been a couple of suggestions that no one seems to have
 bothered to follow through on.   Why not just humor us and provide the
 debugging info that we're asking for?

3 the setup.log file (this mail)
..
Hope that helps
BPatin
This setup.log doesn't show any install actions whatsoever.  All it shows
is that you've downloaded a bunch of packages.
I suspect this may have something to do with that Cannot open setup.log
for writing error message.  Try running c:\cygwin\bin\chmod a+w
setup.log setup.log.full from a CMD prompt in c:\cygwin\var\log and
then re-running setup.  Also, setup.log.full should contain more detailed
error messages after a failed setup run (beware -- that file is
overwritten on every run of setup).
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!
The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: xorg installation fails, 99% complete only

2004-11-10 Thread bruno patin
Igor Pechtchanski wrote:
On Thu, 11 Nov 2004, bruno patin wrote:
Christopher Faylor wrote:
 Also, I believe that Gerrit suggested sending the contents of the 
setup
 log files.

 [snip]

 I appreciate that you're trying to think of solutions here but there
 have already been a couple of suggestions that no one seems to have
 bothered to follow through on.   Why not just humor us and provide the
 debugging info that we're asking for?


3 the setup.log file (this mail)
..
Hope that helps
BPatin

This setup.log doesn't show any install actions whatsoever.  All it shows
is that you've downloaded a bunch of packages.
I suspect this may have something to do with that Cannot open setup.log
for writing error message.  Try running c:\cygwin\bin\chmod a+w
setup.log setup.log.full from a CMD prompt in c:\cygwin\var\log and
then re-running setup.  Also, setup.log.full should contain more detailed
error messages after a failed setup run (beware -- that file is
overwritten on every run of setup).
Igor
Igor,
I've no setup.log created in /var/log in fact what I sent you was 
bullshit as it is only the result of my dowload as I see it (first time 
I'm really examining the internal of setup sorry, it works too well). 
Result is that there is no file in /var/log. Can be a real clue.

BPatin


Re: xorg installation fails, 99% complete only

2004-11-10 Thread bruno patin
Igor,
I've tried to chmod directly the var directory thinking it could be the 
answer but it does not work. I block on the same file and that's all. I 
don't think sending you another cygcheck is really necessary. I'll find 
a way to follow what's going on in the setup app. Perhaps you have ideas ?

BPatin


Re: xorg installation fails, 99% complete only

2004-11-10 Thread Igor Pechtchanski
On Thu, 11 Nov 2004, Carlo Florendo wrote:
[snip]
In any case, here's setup.log.bz2.  (Compressed since it is greater than
100K) The WinXP SP2 machine is accessible to me off-line.  Thus, the
delay in the sending of these files.
Carlo,
What did you do, exactly, on the last setup run?  The log file shows that
you installed the following packages:
startup-notification-0.7-1
transfig-3.2.4-2
xorg-x11-bin-dlls-6.8.1.0-1
xorg-x11-devel-6.8.1.0-1
xorg-x11-fcyr-6.8.1.0-2
xorg-x11-fenc-6.8.1.0-2
xorg-x11-fscl-6.8.1.0-2
xorg-x11-fsrv-6.8.1.0-1
xorg-x11-libs-data-6.7.0.0-3
xorg-x11-man-pages-html-6.8.1.0-1
xorg-x11-nest-6.8.1.0-1
xorg-x11-vfb-6.8.1.0-1
(which means you've downgraded xorg-x11-lib-data).  It also shows that the
following postinstall scripts ran:
xorg-x11-devel.sh
xorg-x11-f100.sh
xorg-x11-fcyr.sh
xorg-x11-fenc.sh
xorg-x11-fnts.sh
xorg-x11-fscl.sh
xorg-x11-libs-data.sh
xorg-x11-xwin.sh
which is odd, since you didn't reinstall xorg-x11-xwin or xorg-x11-f100 or
xorg-x11-fnts.  The previous run clearly shows setup installing
xorg-x11-f100 and running the postinstall script for that package, so it
should have renamed it to .done and not re-run it.
Hmm, the fact that it attempts to reinstall packages, coupled with the
fact that it's not renaming postinstall scripts properly, makes me wonder
whether your Cygwin directory tree is writable by the user that performs
the install.  This would also be consistent with the Cannot open
c:\cygwin\var\log\setup.log for writing message that others reported.
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!
The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Why Xming.exe?

2004-11-10 Thread Christopher Faylor
On Wed, Nov 10, 2004 at 11:21:07PM +0100, ?yvind Harboe wrote:
I saw Chris post, and I must admit I was a bit put off by it.

I believe Xming.exe addresses some issues that should and could 
be addressed by CygWin.

Threatening to fire him(in public no less), is counterproductive, 
unthankful and rude.

I was not threatening to fire anyone.  I was asking if Alexander was
going to be devoting most of his time to this new endeavor and, if so,
wondering whether we needed to find another maintainer for Cygwin/X.  It
sounded like he had some major plans for Xming.

If Alexander says No (as I expect him to) then that's the end of it.
If he's more interested in pursuing a native-windows version of X,
then I guess we have a problem.

A fruitful discussion on Xming.exe could help enumerate what issues 
Xming.exe addresses and how CygWin could grow to address them.

You *do* know that there is a mingw mailing list specifically designed
for MingGW applications, right?  We don't discuss MinGW in the cygwin
list.  I don't see any reason why we should have to discuss MinGW here.
I'll bet that the MinGW folks would not mind creating a MinGW/X mailing
list just for this endeavor.

However, on the off chance that I'm being hasty, why don't you give me a
for instance of what you think a discussion of Xming would do to help
Cygwin?  From my point of view, it seems like it would be the other way
around.  It seems like there would be a lot of discussion about the best
way to handle things in a native windows app that are already handled in
the Cygwin DLL.  This is what I see in the MinGW mailing list.

cgf


Re: xorg installation fails, 99% complete only

2004-11-10 Thread Christopher Faylor
On Thu, Nov 11, 2004 at 08:54:17AM +0800, Carlo Florendo wrote:
XFree86-base4.3.0-11 
XFree86-bin 4.3.0-21 
XFree86-bin-icons   4.3.0-7  
XFree86-doc 4.3.0-2  
XFree86-etc 4.3.0-12 
XFree86-f1004.3.0-2  
XFree86-fcyr4.3.0-2  
XFree86-fenc4.3.0-2  
XFree86-fnts4.3.0-2  
XFree86-fscl4.3.0-2  
XFree86-fsrv4.3.0-9  
XFree86-html4.3.0-10 
XFree86-jdoc4.3.0-2  
XFree86-lib 4.3.0-3  
XFree86-lib-compat  4.3.0-2  
XFree86-man 4.3.0-10 
XFree86-nest4.3.0-8  
XFree86-prog4.3.0-21 
XFree86-prt 4.3.0-6  
XFree86-ps  4.3.0-2  
XFree86-startup-scripts 4.3.0-1  
XFree86-vfb 4.3.0-8  
XFree86-xserv   4.3.0-68 
XFree86-xwinclip4.3.0-3  
[snip]
xorg-x11-base   6.8.1.0-1
xorg-x11-bin6.8.1.0-2
xorg-x11-bin-dlls   6.8.1.0-1
xorg-x11-bin-lndir  6.8.1.0-1
xorg-x11-devel  6.8.1.0-1
xorg-x11-etc6.8.1.0-1
xorg-x11-f100   6.8.1.0-3
xorg-x11-fcyr   6.8.1.0-2
xorg-x11-fenc   6.8.1.0-2
xorg-x11-fnts   6.8.1.0-3
xorg-x11-fscl   6.8.1.0-2
xorg-x11-fsrv   6.8.1.0-1
xorg-x11-libs-data  6.7.0.0-3
xorg-x11-man-pages  6.8.1.0-1
xorg-x11-man-pages-html 6.8.1.0-1
xorg-x11-nest   6.8.1.0-1
xorg-x11-vfb6.8.1.0-1
xorg-x11-xwin   6.8.1.0-5

It seems like you have a lot of XFree86 packages still installed.
I have a couple of these in my installation but certainly not the
number that I see above.

I guess I'm a little confused now as to who's seeing what problem.
I thought that you needed a clean install to duplicate this but the
above obviously didn't come from a clean install.

Igor, are you up to posting a summary of who's seen what problem and
who's provided the requested feedback (setup.log, ps -ef, cygcheck)?

cgf


Re: xorg installation fails, 99% complete only

2004-11-10 Thread Gerrit P. Haase
bruno patin wrote:
Good evening again,
install in two phases worked well. I can deinstall again and verify if 
there is the problem again ? could it be useful ?

joined :
an analysis of my system
the cygcheck result
Please add -r to the cygcheck options for the registry scan.
Gerrit
--
=^..^=


Re: xorg installation fails, 99% complete only

2004-11-10 Thread Carlo Florendo
Igor Pechtchanski wrote:
What did you do, exactly, on the last setup run?  The log file shows that
you installed the following packages:
startup-notification-0.7-1
transfig-3.2.4-2
xorg-x11-bin-dlls-6.8.1.0-1
xorg-x11-devel-6.8.1.0-1
xorg-x11-fcyr-6.8.1.0-2
xorg-x11-fenc-6.8.1.0-2
xorg-x11-fscl-6.8.1.0-2
xorg-x11-fsrv-6.8.1.0-1
xorg-x11-libs-data-6.7.0.0-3
xorg-x11-man-pages-html-6.8.1.0-1
xorg-x11-nest-6.8.1.0-1
xorg-x11-vfb-6.8.1.0-1
Hmmm. what I did was to install cygwin without any xorg.  After the 
successful installation, I installed the xorg packages (as specified in 
the xorg-base README) via setup once again.  IIRC,  I do not remember 
clicking the buttons that would change the install versions.   

(which means you've downgraded xorg-x11-lib-data).  It also shows that 
the
following postinstall scripts ran:

xorg-x11-devel.sh
xorg-x11-f100.sh
xorg-x11-fcyr.sh
xorg-x11-fenc.sh
xorg-x11-fnts.sh
xorg-x11-fscl.sh
xorg-x11-libs-data.sh
xorg-x11-xwin.sh
which is odd, since you didn't reinstall xorg-x11-xwin or 
xorg-x11-f100 or
xorg-x11-fnts.  The previous run clearly shows setup installing
xorg-x11-f100 and running the postinstall script for that package, so it
should have renamed it to .done and not re-run it.
I did install xorg *after* installing cygwin minus xorg.

Hmm, the fact that it attempts to reinstall packages, coupled with the
fact that it's not renaming postinstall scripts properly, makes me wonder
whether your Cygwin directory tree is writable by the user that performs
the install.  This would also be consistent with the Cannot open
c:\cygwin\var\log\setup.log for writing message that others reported.
Igor

I was logged as a user under the administrator's group when I did the install.
I've gotten hold of the WinXP SP2 Machine now, on line!  I'll uninstall everything and try to reproduce the error once more. 

I'll run ps and cygcheck at the point where it stalls and provide as much 
detail as possible.
Thanks!
Best Regards,
Carlo
--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph




Re: xorg installation fails, 99% complete only

2004-11-10 Thread Carlo Florendo
Christopher Faylor wrote:
It seems like you have a lot of XFree86 packages still installed.
I have a couple of these in my installation but certainly not the
number that I see above.
Yes.  I did it after installing cygwin minus xorg.   Regarding the 
(version) numbers, I don't remember choosing other versions besides the 
ones indicated by default  at setup.

I guess I'm a little confused now as to who's seeing what problem.
I thought that you needed a clean install to duplicate this but the
above obviously didn't come from a clean install.
I'll be doing a clean uninstall and reinstall in a short while. 

Thank you cygwin people for doing such a great job at cygwin!  I'm 
seeing this not as a problem (Really!!!) but another exciting episode of 
the wonders of open source software and open-source collaboration.  
Thank you!

Cygwin Rocks!
--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


Why Xming.exe?

2004-11-10 Thread Øyvind Harboe
First of all: I love CygWin! 

If I didn't, I would not passionatly dive into this discussion. :-)

Here are a couple of reasons why I think a discussion of 
Xming.exe can bring something to CygWin.

Basically, I believe that the Xming.exe would never have seen the
light of day if if all was well with CygWin. It is a cry for help.

Also, I believe the next useful solution to the set of problems that
CygWin is facing is non-local. I think it is in the interest of CygWin
to allow discussions and hacks to wander somewhat freely. 

If you stomp out this discussion, you are going to make people look elsewhere 
for a solution to the CygWin mess. See bottom of this message for 
what I mean.

Some issues that CygWin could address to make Xming.exe moot:

- Side-by-side install. There is a need for e.g. SSH + and an X server in
a single package that is easily deployable. This package 
*must* be unaffected by updates to CygWin. This would of course
not be uniquely useful for X server, but would be useful for e.g. multiple
independent GCC toolchains used for embedded development. E.g. its more
than once that CygWin updates have broken http://sources.redhat.com/ecos
tools, without bringing any new features or improvements for those tools.
The many examples of cygwin1.dll being distributed along with various 
applications,
is further evidence of this need(which is contrary to the CygWin license, BTW).

- Side-by-side means CygWin next to CygWin, and CygWin next to any Windows
program.

- It is currently impossible for the casual programmer to debug CygWin
X using GDB. See http://cygwin.com/ml/cygwin-xfree/2004-10/msg00159.html

- CygWin is a pain to install. It takes long to download(many files more than
size with a broad connection), takes long to install and many things can and do
go wrong. 

- CygWin messes with Windows environment variables, breaking other programs. 

- CygWin is broken by other programs using the Windows environment variables.

- CygWin is always in motion.  There is no CygWin distribution version 
like the Linux distributions operate with. There is no way to install
a specific old boring CygWin to run some tools that never change.


--- ever-so-slightly off topic :-) ---

Could I delete CygWin?

What I would need in it is place was the ability for Windows programs to 
interface
to Linux programs.  Where those programs run(under Linux or under Windows) is 
somewhat
secondary.

If I could somehow tell the Windows programs to talk to a Linux box
(http://www.colinux.org  or a real Linux box) as if those Linux programs ran
under Windows, then it would do the trick. http://www.colinux.org is an 
interesting case, because they pretty much support side-by-side installs 
already.

The Windows programs that need to interface to the Linux programs only talk to
those programs through the following mechanisms:

- stdin/stdout/stderr 
- ctrl-c to abort applications(there is a name for this communication channel, 
but I don't know what it is).
- current directory
- files (from Windows to Linux box and vice versa).
- console

(What did I leave out?)

Below is an a rough idea on how this might be solved:

- create a Windows filing system that makes the Linux box filing system
available through e.g. a drive letter. This filing system is different from
Samba. This filing system talks to the Linux box using SSH, say.
- when Windows is accessing a Linux executable via this filing system, it
does not serve up the Linux executable. Instead it serves up a Windows 
executable.
This Windows executable uses, say, SSH to communicate with the Linux box to
execute the command. Lets call this executable an SSH-Proxy. 
- The Linux box needs to be able to see the files on the Windows machine. 
Mechanism 
TBD. The SSH-Proxy knows how to translate from a Windows filename to the Linux
filename. It uses this capability to set the current directory before executing 
the
Linux command.
- The SSH-Proxy tells the Linux box about the limitations of the Windows 
console.

Example:

- On the Windows machine the root of the Linux box is accessible via the drive
letter e:\
- e:\etc maps to /etc, e:\usr to /usr, etc.
- e:\exec is special. It does not map to /exec. Instead it is used in execution
of programs that are in the path, as shown below.
- On the Linux box, there is an equivalent of /cygdrive, which I'll call
/windows

To grep my local harddrive I would:

c:\bar e:\exec\grep -r foo *

On the Linux box, this would actually be executed as:

[EMAIL PROTECTED] /windows/c/bar
$ grep -r foo *


-- 
Øyvind Harboe
http://www.zylin.com




[SOLVED - mysteriously...not quite] Re: xorg installation fails, 99% complete only

2004-11-10 Thread Carlo Florendo
Carlo Florendo wrote:
Christopher Faylor wrote:
It seems like you have a lot of XFree86 packages still installed.
I have a couple of these in my installation but certainly not the
number that I see above.

Yes.  I did it after installing cygwin minus xorg.   Regarding the 
(version) numbers, I don't remember choosing other versions besides 
the ones indicated by default  at setup.

I guess I'm a little confused now as to who's seeing what problem.
I thought that you needed a clean install to duplicate this but the
above obviously didn't come from a clean install.

I'll be doing a clean uninstall and reinstall in a short while.
Thank you cygwin people for doing such a great job at cygwin!  I'm 
seeing this not as a problem (Really!!!) but another exciting episode 
of the wonders of open source software and open-source collaboration.  
Thank you!

Cygwin Rocks!
I tried to reproduce the problem on the WinXP SP2 machine in question 
and I was unsuccessful in reproducing it...

Cygwin installed like a charm =)
Now, I don't  know why such is the case.  

Hmmm...To tell the truth, I was actually asking  someone to follow 
instructions from me, (i.e. press this button, select Unix, click ok, 
etc.).  However, when I myself tried do a fresh uninstall and fresh 
install, all worked well. 

In any case, I'm now attaching cygcheck.out and setup.log (compressed) 
so the experts could point out what difference it had with my previous 
posting of cygcheck.out and setup.log,

My suspicion is that the one whom I asked to install cygwin did 
something else that she didn't tell me(What I saw when she was 
installing cygwin was the 99% completed on xorg that never stopped.  
This, I verified with my  eyes.   On her following my instructions,  I 
didn't see it with my own eyes.  She just said she did.)

Sheesh...sorry for all these noise for the past 3 days. 

Thank you to all you cygwin developers.
Cygwin Rocks!
Best Regards,
Carlo
--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


winsup/utils ChangeLog cygcheck.cc

2004-11-10 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2004-11-11 01:56:03

Modified files:
utils  : ChangeLog cygcheck.cc 

Log message:
* cygcheck.cc: Change keyeprint to display_error throughout.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaumr1=1.291r2=1.292
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/cygcheck.cc.diff?cvsroot=uberbaumr1=1.61r2=1.62



[Patch] cygcheck: Make keyeprint more versatile.

2004-11-10 Thread Bas van Gompel
Hi,

Another (trivial, I hope) patch.

It will add some optional parameters to keyeprint, so errormessages
can be made more appropriate. When the options are not supplied, output
will remain as is.


ChangeLog-entry:

2004-11-11  Bas van Gompel  [EMAIL PROTECTED]

* cygcheck.cc (keyeprint): New optional parameters: show_error and
print_failed.


--- src/winsup/utils/cygcheck.cc31 Oct 2004 18:46:31 -  1.59
+++ src/winsup/utils/cygcheck.cc10 Nov 2004 21:11:26 -
@@ -102,9 +102,14 @@ static char **paths = 0;
  * keyeprint() is used to report failure modes
  */
 static int
-keyeprint (const char *name)
+keyeprint (const char *name, bool show_error = true, bool print_failed = true)
 {
-  fprintf (stderr, cygcheck: %s failed: %lu\n, name, GetLastError ());
+  if (show_error)
+fprintf (stderr, cygcheck: %s%s: %lu\n, name,
+   print_failed ?  failed : , GetLastError ());
+  else
+fprintf (stderr, cygcheck: %s%s\n, name,
+   print_failed ?  failed : );
   return 1;
 }
 


L8r,

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe s.u(z)\1.as.| me. 4^re


Re: [Patch] cygcheck: Make keyeprint more versatile.

2004-11-10 Thread Christopher Faylor
On Thu, Nov 11, 2004 at 01:18:43AM +0100, Bas van Gompel wrote:
Hi,

Another (trivial, I hope) patch.

It will add some optional parameters to keyeprint, so errormessages
can be made more appropriate. When the options are not supplied, output
will remain as is.


ChangeLog-entry:

2004-11-11  Bas van Gompel  [EMAIL PROTECTED]

   * cygcheck.cc (keyeprint): New optional parameters: show_error and
   print_failed.

Please check in.  Thanks.

Have I mentioned that I don't like the name 'keyeprint'?  It seems like an odd
name to me.

cgf


Re: [Patch] cygcheck: Make keyeprint more versatile.

2004-11-10 Thread Bas van Gompel
Op Wed, 10 Nov 2004 19:35:51 -0500 schreef Christopher Faylor
in [EMAIL PROTECTED]:
[...]
:  * cygcheck.cc (keyeprint): New optional parameters: show_error and
:  print_failed.
:
:   Please check in.  Thanks.

Done.

:  Have I mentioned that I don't like the name 'keyeprint'?  It seems like an 
odd
:  name to me.

Well, why don't you change it to something sensible, then?
May I suggest:

sed -i -e 's/keyeprint/display_error/' src/winsup/utils/cygcheck.cc

(I'd post a patch, but am afraid it'd be too large...)


* cygcheck.cc (keyeprint): Rename to display_error.
(display_error): Renamed from keyeprint.
(add_path): keyeprint is now called display_error.
(init_paths): ditto.
(find_on_path): ditto.
(get_word): ditto.
(get_dword): ditto.
(rva_to_offset): ditto.
(cygwin_info): ditto.
(init_paths): ditto.
(dll_info): ditto.
(track_down): ditto.
(ls): ditto.
(scan_registry): ditto.
(dump_sysinfo): ditto.
(check_keys): ditto.


L8r,

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe s.u(z)\1.as.| me. 4^re


Re: [Patch] cygcheck: Make keyeprint more versatile.

2004-11-10 Thread Christopher Faylor
On Thu, Nov 11, 2004 at 02:49:35AM +0100, Bas van Gompel wrote:
Op Wed, 10 Nov 2004 19:35:51 -0500 schreef Christopher Faylor
Have I mentioned that I don't like the name 'keyeprint'?  It seems like
an odd name to me.

Well, why don't you change it to something sensible, then?
May I suggest:

sed -i -e 's/keyeprint/display_error/' src/winsup/utils/cygcheck.cc

I've renamed this to display_error, as per your suggestion, and added
an abbreviated ChangeLog, giving you the credit.

Thanks.

cgf


Re: [Patch] cygcheck: Make keyeprint more versatile.

2004-11-10 Thread Bas van Gompel
Op Wed, 10 Nov 2004 20:57:36 -0500 schreef Christopher Faylor
in [EMAIL PROTECTED]:
:  On Thu, Nov 11, 2004 at 02:49:35AM +0100, Bas van Gompel wrote:
:  Op Wed, 10 Nov 2004 19:35:51 -0500 schreef Christopher Faylor
:  Have I mentioned that I don't like the name 'keyeprint'?  It seems like
:  an odd name to me.
: 
:  Well, why don't you change it to something sensible, then?
:  May I suggest:
: 
:  sed -i -e 's/keyeprint/display_error/' src/winsup/utils/cygcheck.cc
:
:   I've renamed this to display_error, as per your suggestion, and added
:  an abbreviated ChangeLog, giving you the credit.
:
:  Thanks.

T/U/VM.


L8r,
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe s.u(z)\1.as.| me. 4^re


Re: docbook-xml42-4.2-3-src.tar.bz2 : md5sum failure

2004-11-10 Thread Marcel Telka
On Wed, Nov 10, 2004 at 07:38:50AM -, [EMAIL PROTECTED] wrote:
 ~ grep xml42.*3.*src setup.ini
 release/docbook-xml42/docbook-xml42-4.2-3-src.tar.bz2 119001
 04459ac59c6b258d1cb812bbcc59c6eb
 
 ~ find release/ -name *xml42*3*src* | xargs md5sum
 c443933657226aacfd8c05082db86f0f
 *release/docbook-xml42/docbook-xml42-4.2-3-src.tar.bz2

MD5 sum in setup.ini is bad.

-- 
+---+
| Marcel Telka   e-mail:   [EMAIL PROTECTED]  |
|homepage: http://telka.sk/ |
|jabber:   [EMAIL PROTECTED] |
+---+

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



rlogind vs. smb

2004-11-10 Thread Yuval Kogman
Howdy!

We have some windows machines running Cygwin to which we'd like to connect via
rsh.

It all works well if the passwd entry's home field points to a local directory,
and the .rhosts file in that directory contains the proper values.

The accounts are hosted on a linux based file server. The unixes get the home
directory via NFS, and the fileserver also shares via samba.

If you set the home to //fileserver/share in the cygwin box's /etc/passwd, then
.rhosts suddenly stops being valid, and you're asked for a password. What's
funny is that if you put the right password in, then a shell is started, and
the pwd is the share, and the files therein are available, including .rhosts.

So basically:

1. does anybody know why rlogind doesn't like SMB shares?
2. does anybody know where rlogind logs it's complaints to?  3. while we're
added, how do you get rlogind to be promiscuous? Or actually, what's the cygwin
equivelent of /etc/pam.d/rlogind ?

Thanks!

-- 
Yuval Kogman, Sysadmin
HyperRoll Israel, Ltd.

--
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: rlogind vs. smb

2004-11-10 Thread Morche Matthias
[EMAIL PROTECTED] wrote:
 Howdy!
 
 We have some windows machines running Cygwin to which we'd like to
 connect via rsh.
 
 It all works well if the passwd entry's home field points to a local
 directory, and the .rhosts file in that directory contains the proper
 values. 
 
 The accounts are hosted on a linux based file server. The unixes get
 the home directory via NFS, and the fileserver also shares via samba.
 
 If you set the home to //fileserver/share in the cygwin box's
 /etc/passwd, then .rhosts suddenly stops being valid, and you're
 asked for a password. What's funny is that if you put the right
 password in, then a shell is started, and the pwd is the share, and
 the files therein are available, including .rhosts. 
 
 So basically:
 
 1. does anybody know why rlogind doesn't like SMB shares?
 2. does anybody know where rlogind logs it's complaints to?  3. while
 we're added, how do you get rlogind to be promiscuous? Or actually,
 what's the cygwin equivelent of /etc/pam.d/rlogind ?
...

What are the permissions of .rhosts on the shares? rshd/rlogind refuses to use 
them if anybody but the owner has write access!

--
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: rlogind vs. smb

2004-11-10 Thread Yuval Kogman
On Wed, Nov 10, 2004 at 10:11:42AM +0100, Morche Matthias wrote:
 What are the permissions of .rhosts on the shares? rshd/rlogind refuses to 
 use them if anybody but the owner has write access!

They are properly owned and properly modded - they work via NFS on all the
other unixen, be they Linux, SunOS HP-UX, Aix or Tru64. The mode is usually
0600, with the group set to 'staff' or equivelent.

The privs as transmitted by samba are screwed up a bit, though. They become
0644.

Thanks!

-- 
Yuval Kogman, Sysadmin
HyperRoll Israel, Ltd.

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



Unresolved symbols in libstdc++

2004-11-10 Thread Marco Alanen
Greetings
(I posted this in cygwin.talk, but then I realized that this was a much 
more suited place)
I'm trying to get a fairly large C++ project to compile using the mingw 
tools in cygwin. I've sorted out most of the errors so far, but now I'm 
stuck on the executable linking .

Compilation flags: (probably a TON of useless compilation and linker 
flags, but I've been trying virtually everything here):
  gcc -pipe -g -O -Wall -fno-rtti -fno-exceptions -I/usr/include -I
  /usr/include/mingw -I /usr/include/w32api -mno-cygwin -mwindows
  -mwin32 -D__MINGW32__ -DWIN32 -march=pentium-mmx -mmmx
  -malign-double -mpreferred-stack-boundary=8 -traditional

Linker flags:
  lots of object files -lsbg_fltk -lflvw -lmsvcrt -lpng -ljpeg -lz
  -lstdc++ -lgcc -lcrtdll -lmingw32 -lmingwex -lopengl32 -lglu32 -lgdi32
  -lwsock32 -lm
These are the linker errors I get. The strange thing is that those 
functions are implemented in libgcc.a.
/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt24__default_alloc_templateILb1ELi0EE5_LockC2Ev+0x2b):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_lock'
/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt24__default_alloc_templateILb1ELi0EE5_LockC1Ev+0x2b):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_lock'
/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt24__default_alloc_templateILb1ELi0EE5_LockD2Ev+0x2b):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_unlock'

/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt24__default_alloc_templateILb1ELi0EE5_LockD1Ev+0x2b):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_unlock'

/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj+0xfb):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_unlock
'
/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj+0x151):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_lock'

/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj+0x1d6):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_unloc
k'
/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0x8f):stl-inst.cc: 
undefined reference to `___gthr_win32_once'
/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0xa1):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_lock'
/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0xc1):stl-inst.cc: 
undefined reference to `___gthr_win32_once'
/usr/lib/mingw/libstdc++.a(stl-inst.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0x7e):stl-inst.cc: 
undefined reference to `___gthr_win32_mutex_unlock'
/usr/lib/mingw/libmingw32.a(main.o)(.text+0x106):main.c: undefined 
reference to [EMAIL PROTECTED]'

I found a guy who had the same problem as me, and he was adviced to 
reinstall gcc since his versions differed. That isn't the case for me, 
but I can try it out if it helps.
http://www.cygwin.com/ml/cygwin/2003-12/msg00270.html

Any ideas what I should do or what I should add to this post in order to 
solve my problem? I'm currently reinstalling cygwin from scratch to 
eliminate any screwups from my side. I'll use nothing but stable packages.

 Thank you /Marco
U
--
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/


looking for an arm9 cross-compiler

2004-11-10 Thread niac78


Hi,
I used to work with Linux and I'm trying Cygwin. Does anyone know if there's an
existing cross compiler for arm9 package? I could not find it in the package
list. Otherwise, what is the solution? Do I have to compile an arm-gcc with the
cygwin library?
I'm sure there's already an existing arm compiler I could use without having to
die trying to make my own.
Thanks for your help.

Nick

--
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: Unresolved symbols in libstdc++

2004-11-10 Thread Marco Alanen
I might have solved this by adding -mno-cygwin, -mwin32 and -mwindows to 
the linker flags too. It doesn't run (eats up all CPU power instead), 
but at least it compiles.

 /Marco
--
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: Unresolved symbols in libstdc++

2004-11-10 Thread Gerrit P. Haase
Marco Alanen wrote:
I might have solved this by adding -mno-cygwin, -mwin32 and -mwindows to 
the linker flags too. It doesn't run (eats up all CPU power instead), 
but at least it compiles.
Yes, of course, if you don't add these flags the linker picks up the 
cygwin version of libgcc and the other libs which are different than the 
mingw version.

Gerrit
--
=^..^=
--
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: What to do when setup fails?

2004-11-10 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Max Bowsher
 Sent: 10 November 2004 00:37
 To: Luke Kendall; cygwin
 Subject: Re: What to do when setup fails?
 
 Luke Kendall wrote:
  I recently found another system that Cygwin setup failed on 
  every time.
 
  I'm installing from a local mirror for which all the 
  checksums are good.
 
  It fails due to mount, apparently.  A panel titled Mount pops up
  after the download stage, saying: The operation completed
  successfully, and then setup exits.
 
  I tried several times, with failures pretty consistent but 
  just small variations on this theme.
 
 Bizarre. I've noted this in setup's bug tracker for attention when my 
 university work eases off.


From mount.cc:

void
create_mount (String const posix, String const win32, int istext,
  int issystem)
{
  char buf[1000];
  HKEY key;
  DWORD disposition;
  DWORD flags;

  remove_mount (posix);

  snprintf (buf, sizeof(buf), Software\\%s\\%s\\%s\\%s,
   CYGWIN_INFO_CYGNUS_REGISTRY_NAME,
   CYGWIN_INFO_CYGWIN_REGISTRY_NAME,
   CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME, posix.cstr_oneuse ());

  HKEY kr = issystem ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER;
  if (RegCreateKeyEx (kr, buf, 0, (char *)Cygwin, 0, KEY_ALL_ACCESS,
  0, key, disposition) != ERROR_SUCCESS)
fatal (mount);


  Luke, if setup is failing to create that key, you must be trying to install
for all users while running as a user with inadequate rights, mustn't you?  The
attached patch would tell you what the actual error code was, if you felt like
rebuilding setup.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


setup-mnt-err-patch.diff
Description: Binary data
--
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: Accessing the Windows clipboard

2004-11-10 Thread Igor Pechtchanski
On Tue, 9 Nov 2004, George wrote:

 Aside from the 'putclip' and 'getclip' utilities, or making use of
 '/dev/clipboard', I'm wondering if there are other approaches.

You can also use pure Win32 API calls.

 Accessing bitmaps, for example, doesn't quite work as expected.

Yep.  For now clipboard access in Cygwin is text-only.
http://cygwin.com/acronyms/#PTC.
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: rlogind vs. smb

2004-11-10 Thread Igor Pechtchanski
On Wed, 10 Nov 2004, Yuval Kogman wrote:

 Howdy!

 We have some windows machines running Cygwin to which we'd like to
 connect via rsh.

 It all works well if the passwd entry's home field points to a local
 directory, and the .rhosts file in that directory contains the proper
 values.

 The accounts are hosted on a linux based file server. The unixes get the
 home directory via NFS, and the fileserver also shares via samba.

 If you set the home to //fileserver/share in the cygwin box's
 /etc/passwd, then .rhosts suddenly stops being valid, and you're asked
 for a password. What's funny is that if you put the right password in,
 then a shell is started, and the pwd is the share, and the files therein
 are available, including .rhosts.

 So basically:

 1. does anybody know why rlogind doesn't like SMB shares?

http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SWITCH, or see
/usr/share/doc/Cygwin/inetutils-1.3.2.README

 2. does anybody know where rlogind logs it's complaints to?

Should be in /var/log/inetd.log or the Windows Event Log (Application).

 3. while we're added, how do you get rlogind to be promiscuous?  Or
 actually, what's the cygwin equivelent of /etc/pam.d/rlogind ?

If by promiscuous you mean persistent, go to the Service Control
Manager and set Startup Type for the inetd service to Automatic.
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: What to do when setup fails?

2004-11-10 Thread Igor Pechtchanski
On Wed, 10 Nov 2004, Dave Korn wrote:

 From mount.cc:
 [snip]
 fatal (mount);

   Luke, if setup is failing to create that key, you must be trying to
 install for all users while running as a user with inadequate rights,
 mustn't you?  The attached patch would tell you what the actual error
 code was, if you felt like rebuilding setup.

Quoting the patch:

-fatal (mount);
+  {
+  char errbuffer[40];
+_snprintf (errbuffer, 40, mount %d, GetLastError ());
+fatal (errbuffer);
+  }

Umm, isn't this exactly what fatal() does already?

Quoting dialog.cc:

void
fatal (const char *msg)
{
  DWORD e = GetLastError ();
  char *buf;
  FormatMessage (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
 0, e, 0, (CHAR *)  buf, 0, 0);
  MessageBox (0, buf, msg, 0);
  LogSingleton::GetInstance().exit (1);
  // Keep gcc happy - some sort of bug!
  exit (1);
}

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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: Setup column far too wide

2004-11-10 Thread Aaron Humphrey

On Tue, 9 Nov 2004, Christopher Faylor wrote:
 The column width is as long as the widest version number.  It seems fine
 to me.  It's certainly not 3/4 of the screen width on my system.

Igor Pechtchanski wrote:
There was a package at some point that confused setup's versioning logic,
so setup stored a very long version number for it.  The package is long
gone from the mirrors, but if the OP was unlucky enough to update while it
was still available, he has a corrupt line in his /etc/setup/installed.db.
Since it's a plain text file, he can just edit it and remove that line (it
should be easy to spot).
HTH,
   Igor

Yes, it was indeed libopenldap-bananananananananana that was the
problem, and removing it from installed.db did fix it.  It explains why my
home computer, which I update less frequently and which thus missed
the heyday of that package, never exhibited the problem.

Thanks for your perspicacity.

 The Sun will pass between the Earth and the Moon tonight for a total
 Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

Darn, and I missed it!  I was really looking forward to seeing the oceans boil
off into space.


Aaron V. Humphrey
Kakari Systems Ltd.



--
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: What to do when setup fails?

2004-11-10 Thread Dave Korn
 -Original Message-
 From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] 
 Sent: 10 November 2004 16:10

 Quoting the patch:
 
 -fatal (mount);
 +  {
 +  char errbuffer[40];
 +_snprintf (errbuffer, 40, mount %d, GetLastError ());
 +fatal (errbuffer);
 +  }
 
 Umm, isn't this exactly what fatal() does already?
 
 Quoting dialog.cc:
 
 void
 fatal (const char *msg)
 {
   DWORD e = GetLastError ();
   char *buf;
   FormatMessage (FORMAT_MESSAGE_ALLOCATE_BUFFER | 
 FORMAT_MESSAGE_FROM_SYSTEM,
  0, e, 0, (CHAR *)  buf, 0, 0);
   MessageBox (0, buf, msg, 0);
   LogSingleton::GetInstance().exit (1);
   // Keep gcc happy - some sort of bug!
   exit (1);
 }

  Ah, didn't look closely at that.

  Ok, then according to Luke's original post

It fails due to mount, apparently.  A panel titled Mount pops up
after the download stage, saying: The operation completed
successfully, and then setup exits.

..which must imply that RegCreateKeyEx returns some value other than
ERROR_SUCCESS, but at the same time GetLastError is returning zero.  Time to
check MSDN:

quote usage=fair
If the function succeeds, the return value is ERROR_SUCCESS.

If the function fails, the return value is a nonzero error code defined in
Winerror.h. You can use the FormatMessage function with the
FORMAT_MESSAGE_FROM_SYSTEM flag to get a generic description of the error.
quote usage=fair

...which *implies* that the error code is being returns, not SetLastError'd, and
so we're discarding it early.  Perhaps the following patch would be more like
it:

Index: mount.cc
===
RCS file: /cvs/cygwin-apps/setup/mount.cc,v
retrieving revision 2.16
diff -p -u -r2.16 mount.cc
--- mount.cc11 Jul 2003 22:48:14 -  2.16
+++ mount.cc10 Nov 2004 17:02:32 -
@@ -151,9 +151,14 @@ create_mount (String const posix, String
   CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME, posix.cstr_oneuse ());
 
   HKEY kr = issystem ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER;
-  if (RegCreateKeyEx (kr, buf, 0, (char *)Cygwin, 0, KEY_ALL_ACCESS,
- 0, key, disposition) != ERROR_SUCCESS)
-fatal (mount);
+  LONG retval = RegCreateKeyEx (kr, buf, 0, (char *)Cygwin, 0, 
+  KEY_ALL_ACCESS, 0, key, disposition);
+  if (retval != ERROR_SUCCESS)
+  {
+  char errbuffer[40];
+_snprintf (errbuffer, 40, Mount error %d, retval);
+fatal (errbuffer);
+  }
 
   RegSetValueEx (key, native, 0, REG_SZ, (BYTE *) win32.cstr_oneuse (),
 win32.size () + 1);



cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


setup-mnt-err-patch.diff
Description: Binary data
--
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: vpath search failures in Clearcase when files do actually exist

2004-11-10 Thread Pierre A. Humblet
On Tue, Nov 09, 2004 at 07:51:23PM -0500, Christopher Faylor wrote:
 On Tue, Nov 09, 2004 at 07:21:00PM -0500, Jeremy Broughton wrote:
 Cyg ver:1.3.10 (although I have reproduced the same problem with 1.5.7)
 OS : Windows 2000
 File system:   MVFS (running gnumake inside a Rational Clearcase dynamic
 view)
 cygcheck:   (See attached file: cygcheck.out)
 
 It appears as though there is a problem using the /cygdrive/m type paths
 inside MVFS when there are extremely large dependency trees.
 
 Unless you can point to problems with a standard, supported W2K filesystem,
 please don't expect anyone to try to fix this.
 
 Cygwin uses standard Win32 APIs for detemining if something is a
 directory.  If those APIs are not working for Clearcase then it
 is unlikely that anyone will be motivated to fix the problem on
 the Cygwin side.

The OP was suggesting both a problem determining if something is a
directory and a problem related to pathnames.
Running strace my shed some light on the root cause.

To limit the output you could initially filter it like this:
strace something | grep -B 1 'st_mode=\|stat_worker: -1'

Pierre

--
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: vpath search failures in Clearcase when files do actually exist

2004-11-10 Thread Christopher Faylor
On Wed, Nov 10, 2004 at 12:47:26PM -0500, Pierre A. Humblet wrote:
On Tue, Nov 09, 2004 at 07:51:23PM -0500, Christopher Faylor wrote:
On Tue, Nov 09, 2004 at 07:21:00PM -0500, Jeremy Broughton wrote:
Cyg ver:1.3.10 (although I have reproduced the same problem with 1.5.7)
OS : Windows 2000
File system:   MVFS (running gnumake inside a Rational Clearcase dynamic
view)
cygcheck:   (See attached file: cygcheck.out)

It appears as though there is a problem using the /cygdrive/m type paths
inside MVFS when there are extremely large dependency trees.
 
Unless you can point to problems with a standard, supported W2K
filesystem, please don't expect anyone to try to fix this.

Cygwin uses standard Win32 APIs for detemining if something is a
directory.  If those APIs are not working for Clearcase then it is
unlikely that anyone will be motivated to fix the problem on the Cygwin
side.

The OP was suggesting both a problem determining if something is a
directory and a problem related to pathnames.  Running strace my shed
some light on the root cause.

Would it have made you feel better if I had said for dealing with paths
and determining if something is a directory?

To limit the output you could initially filter it like this:
strace something | grep -B 1 'st_mode=\|stat_worker: -1'

If the OP is willing to do this then I hope he does it on a standard
filesystem like NTFS, as I originally suggested.  If there is a problem
there then it is obviously not a ClearCase problem.

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



rebaseall crashes

2004-11-10 Thread Ulrich Voss
Hi,

I can't use XML::LibXML Perl module under cygwin, cause it needs libxml.a and 
cygwin only 
delivers libxml2.la and libxml2.dll.a (bug?)

So I installed libxml by compiling it myself.

I now have libxml2 installed in /usr/local/lib/

When I try to use the Perl module, perl crashes with this:

C:\cygwin\bin\perl.exe (1392): *** unable to remap C:\cygwin\bin\cygiconv-2.dll 
to same address 
as parent(0x10A) != 0x10B
  5 [main] perl 1804 sync_with_child: child 1392(0x2A0) died before 
initialization with status 
code 0x1
   6395 [main] perl 1804 sync_with_child: *** child state child loading dlls
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install

Form searching the mailing list, this seems to be the kind of problem where a 
rebaseall might 
help.
 
so...

$ rebaseall -v
/opt/gnome/lib/GConf/1/cyggconfbackend-xml.dll: new base = 6ffe, new size = 
2
/opt/gnome/lib/GConf/1/cyggconfbackend-bdb.dll: new base = 6ffc, new size = 
2
/opt/gnome/bin/cyggconf-1.dll: new base = 6ff7, new size = 5
/opt/gnome/bin/cyggconf-gtk-1.dll: new base = 6ff5, new size = 2
ReBaseImage (/usr/bin/cyggconf-2-4.dll) failed with last error = 6

Huh? Now I'm stuck. Any ideas?

Ciao

Ulrich.

-

Ulrich Voss\ \   / /__  / ___|__ _| |
VoCal web publishing\ \ / / _ \| |   / _` | |
[EMAIL PROTECTED] \ V / (_) | |__| (_| | |
http://www.vocalweb.de\_/ \___/ \\__,_|_|
Tel: (++49) 203-306-1560   web publishing
Fax: (++49) 203-306-1561


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



stack overflow in cygwin_nt-5.0

2004-11-10 Thread Yu-Cheng Chou

Hi,

I declared three double matrices in main function and it caused stack 
overflow.

double a[300][300],
   b[300][300],
   c[300][300];

below is the message of stack overflow:

Exception: STATUS_STACK_OVERFLOW at eip=00444683
eax=00013624 ebx=0004 ecx=00032064 edx=00401060 esi=610EF060 
edi=61005A9C
ebp=0022F068 esp=0022F05C program=C:\home\ycchou\upload\matrix.exe, pid 
2376, thread main
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
0022F068  00444683  (0001, 617816A0, 0A0500A8, 0022F0C0)
0022F0A8  61005F34  (0022F0C0, , 0022F0A8, 0200)
0022FF88  6100614B  (, , , )
End of stack trace


Any patch for this?



--
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: stack overflow in cygwin_nt-5.0

2004-11-10 Thread Max Bowsher
Yu-Cheng Chou wrote:
Hi,
I declared three double matrices in main function and it caused stack
overflow.
double a[300][300],
  b[300][300],
  c[300][300];
Don't declare huge data structures on the stack.
Max.
--
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: Windows logins with spaces

2004-11-10 Thread Joshua Daniel Franklin
On Sat, 6 Nov 2004 14:58:12 -0500, Christopher Faylor
[EMAIL PROTECTED] wrote:
 On Sat, Nov 06, 2004 at 11:48:05AM -0500, Pierre A. Humblet wrote:
 You are absolutely right. Substitute text has already been proposed,
 see the thread
 http://cygwin.com/ml/cygwin-patches/2003-q1/msg00315.html
 
 This probably came in during one of the times when our FAQ maintainer
 was on a break.

Hmm, looks like I declined back then thinking davidsb would take
care of it. I'll patch it sometime soon if you don't first, Pierre.

--
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: Missing DocBook XML DTD

2004-11-10 Thread Joshua Daniel Franklin
On Sun, 7 Nov 2004 02:52:39 +0100, Marcel Telka [EMAIL PROTECTED] wrote:
 On Thu, Oct 28, 2004 at 01:29:14PM +0200, Gerrit P. Haase wrote:
  Jani Tiainen wrote:
  Actually in my installation I have no /usr/share/xml/docbook-4.1.2,
  instead I have usr/share docbook-xml42, and under /usr/share/xml is
  _only_ libglade subdir...
  
  Wondered that while looking those one of scripts...
  
  Are packages installed improperly in wrong directory?
 
  Hmmm, the cygwin docbook packages are there because the maintainer
  decided to put them there.  Make symlinks or mount the according paths
  or change the script to your needs.  You may also start a discussion
  with the docbook-x* maintainer to use paths like recommended by the FHS:
  http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHARESGMLSGMLANDXMLDATA
  or like debian or fedora or whatever you think is better.
 
 DTDs are now[1] in /usr/share/xml/docbook/4.2 directory. It should be
 compliant with FHS 2.3 now...
 
 [1] in new docbook-xml42-4.2-3 package


Thanks Marcel, this makes FHS compliancy for Cygwin one step closer.

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



stack overflow in cygwin_nt-5.0

2004-11-10 Thread Yu-Cheng Chou

I have to use large matrices (even larger) in my application.
So, how to do it?

Don't declare huge data structures on the stack.

Max.

Hi,

I declared three double matrices in main function and it caused stack 
overflow.

double a[300][300],
   b[300][300],
   c[300][300];

below is the message of stack overflow:

Exception: STATUS_STACK_OVERFLOW at eip=00444683
eax=00013624 ebx=0004 ecx=00032064 edx=00401060 esi=610EF060 
edi=61005A9C
ebp=0022F068 esp=0022F05C program=C:\home\ycchou\upload\matrix.exe, pid 
2376, thread main
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
0022F068  00444683  (0001, 617816A0, 0A0500A8, 0022F0C0)
0022F0A8  61005F34  (0022F0C0, , 0022F0A8, 0200)
0022FF88  6100614B  (, , , )
End of stack trace


Any patch for this?


--
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: stack overflow in cygwin_nt-5.0

2004-11-10 Thread Marcel Telka
On Wed, Nov 10, 2004 at 11:45:29AM -0800, Yu-Cheng Chou wrote:
 
 I have to use large matrices (even larger) in my application.
 So, how to do it?

malloc() ?

 
 Don't declare huge data structures on the stack.

-- 
+---+
| Marcel Telka   e-mail:   [EMAIL PROTECTED]  |
|homepage: http://telka.sk/ |
|jabber:   [EMAIL PROTECTED] |
+---+

--
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: stack overflow in cygwin_nt-5.0

2004-11-10 Thread David Postill
On Wed, 10 Nov 2004 11:45:29 -0800 (PST), Yu-Cheng Chou [EMAIL PROTECTED] 
wrote:

| 
| I have to use large matrices (even larger) in my application.
| So, how to do it?

C:   http://www.eskimo.com/~scs/C-faq/q6.16.html
C++: http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.15

| 
| Don't declare huge data structures on the stack.
| 
| Max.
| 
| Hi,
| 
| I declared three double matrices in main function and it caused stack 
| overflow.
| 
| double a[300][300],
|b[300][300],
|c[300][300];
| 
| below is the message of stack overflow:
| 
| Exception: STATUS_STACK_OVERFLOW at eip=00444683
| eax=00013624 ebx=0004 ecx=00032064 edx=00401060 esi=610EF060 
| edi=61005A9C
| ebp=0022F068 esp=0022F05C program=C:\home\ycchou\upload\matrix.exe, pid 
| 2376, thread main
| cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
| Stack trace:
| Frame Function  Args
| 0022F068  00444683  (0001, 617816A0, 0A0500A8, 0022F0C0)
| 0022F0A8  61005F34  (0022F0C0, , 0022F0A8, 0200)
| 0022FF88  6100614B  (, , , )
| End of stack trace
| 
| 
| Any patch for this?

davidp /

-- 
David Postill

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



remote usage of cygwin via microsoft telnet services

2004-11-10 Thread Rearick, Gabriele


not sure if this is the right mailing list:

Hi,
I am appreciating you sharing your input and experience regarding the following 
questions. 
I am currently using Microsoft telnet server and then execute cygwin.bat to 
start bash to build applications within cygwin.
so, I am telneting INTO the Windows2003 server. 
Since this kind of remote access results in messy output due to dtterm/telnet 
and bash settings for which I have not found a solution yet, I am writing to 
you.
I am looking for a solution to un-screwup bash via Microsoft windows telnet 
server or other products. 

Which LF/CR and other settings enable proper output?

I have also tried to use ReflexionX to get into the Windows2003 server, with no 
result.

Locally (sitting directly at the Windows2003 server) I can either start normal 
bash shell or start rxvt, but that window doesn't get thru 
to my other PC (at home or work).  

does anyone know if Interix telnet server (from Microsoft services for Unix) 
workes better with bash?

thanks in advance

--
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: rebaseall crashes

2004-11-10 Thread Brian Dessent
Ulrich Voss wrote:

 I can't use XML::LibXML Perl module under cygwin, cause it needs libxml.a and 
 cygwin only
 delivers libxml2.la and libxml2.dll.a (bug?)

It's not a bug.  The package offered is version 2 of the library,
whereas your perl module is looking for the old version 1, which is
deprecated and should not be used unless the program has not been
updated.

 C:\cygwin\bin\perl.exe (1392): *** unable to remap 
 C:\cygwin\bin\cygiconv-2.dll to same address
 as parent(0x10A) != 0x10B

This is usually fixed by a rebase.

 ReBaseImage (/usr/bin/cyggconf-2-4.dll) failed with last error = 6
 
 Huh? Now I'm stuck. Any ideas?

Re-read the rebaseall readme.  You have some cygwin program or service
running which means rebase cannot write to that .dll.  You must close
all running cygwin programs and run the command from a plain command
prompt (bash prompt from cmd.exe, not rxvt or xterm.)

Brian

--
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 usage of cygwin via microsoft telnet services

2004-11-10 Thread Bobby McNulty
Reading this reminded me of some. Disable telenet.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Rearick, Gabriele
Sent: Wednesday, November 10, 2004 3:05 PM
To: Rearick, Gabriele; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: remote usage of cygwin via microsoft telnet services




not sure if this is the right mailing list:

Hi,
I am appreciating you sharing your input and experience regarding the
following questions.
I am currently using Microsoft telnet server and then execute cygwin.bat to
start bash to build applications within cygwin.
so, I am telneting INTO the Windows2003 server.
Since this kind of remote access results in messy output due to
dtterm/telnet and bash settings for which I have not found a solution yet, I
am writing to you.
I am looking for a solution to un-screwup bash via Microsoft windows telnet
server or other products.

Which LF/CR and other settings enable proper output?

I have also tried to use ReflexionX to get into the Windows2003 server, with
no result.

Locally (sitting directly at the Windows2003 server) I can either start
normal bash shell or start rxvt, but that window doesn't get thru
to my other PC (at home or work). 

does anyone know if Interix telnet server (from Microsoft services for Unix)
workes better with bash?

thanks in advance

--
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: remote usage of cygwin via microsoft telnet services

2004-11-10 Thread Brian Dessent
Rearick, Gabriele wrote:

 I am looking for a solution to un-screwup bash via Microsoft windows telnet 
 server or other products.

Don't use telnet.  Use ssh.  Cygwin's sshd is fully functional.  If you
must use telnet then use Cygwin's inetd.

 Locally (sitting directly at the Windows2003 server) I can either start 
 normal bash shell or start rxvt, but that window doesn't get thru
 to my other PC (at home or work).

If you want to use X apps remotely you need to be running an X server on
the remote machine and have your DISPLAY environment variable set.  The
latter is taken care of for you if you use ssh with the -X option.  Go
read any faq about X Windows.  And this applies to X apps only, not
native windows apps.

Brian

--
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: What to do when setup fails?

2004-11-10 Thread Luke Kendall
On 10 Nov, Dave Korn wrote:
Luke, if setup is failing to create that key, you must be trying to 
 install 
  for all users while running as a user with inadequate rights, mustn't you?  
 The 
  attached patch would tell you what the actual error code was, if you felt 
 like 
  rebuilding setup. 

Ah!  That's quite possible, now you've explained what the message means.

I'll investigate further, but I think you've cracked my problem.
Thanks, Dave!

luke


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



[ANNOUNCEMENT] Updated: docbook-xsl-1.67.0-1

2004-11-10 Thread Marcel Telka
I've updated the docbook-xsl package to version 1.67.0-1.

docbook-xsl package contains XSL stylesheets for the DocBook XML DTD 
created by Norman Walsh and others.

Changes since 1.66.1-2:
- Updated to mainstream 1.67.0

To update your installation, click on the Install Cygwin now link on 
the http://cygwin.com/ web page. This downloads setup.exe to your 
system. Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin 
mailing list at: cygwin at cygwin dot com. I would appreciate it if you 
would use this mailing list rather than emailing me directly.

-- 
+---+
| Marcel Telka   e-mail:   [EMAIL PROTECTED]  |
|homepage: http://telka.sk/ |
|jabber:   [EMAIL PROTECTED] |
+---+


--
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 usage of cygwin via microsoft telnet services

2004-11-10 Thread Rearick, Gabriele
how else other than telnet would you suggest to login to that machine, then?


-Original Message-
From: Bobby McNulty [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 10, 2004 2:31 PM
To: Rearick, Gabriele; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: remote usage of cygwin via microsoft telnet services

Reading this reminded me of some. Disable telenet.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Rearick, Gabriele
Sent: Wednesday, November 10, 2004 3:05 PM
To: Rearick, Gabriele; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: remote usage of cygwin via microsoft telnet services




not sure if this is the right mailing list:

Hi,
I am appreciating you sharing your input and experience regarding the
following questions.
I am currently using Microsoft telnet server and then execute cygwin.bat to
start bash to build applications within cygwin.
so, I am telneting INTO the Windows2003 server.
Since this kind of remote access results in messy output due to
dtterm/telnet and bash settings for which I have not found a solution yet, I
am writing to you.
I am looking for a solution to un-screwup bash via Microsoft windows telnet
server or other products.

Which LF/CR and other settings enable proper output?

I have also tried to use ReflexionX to get into the Windows2003 server, with
no result.

Locally (sitting directly at the Windows2003 server) I can either start
normal bash shell or start rxvt, but that window doesn't get thru
to my other PC (at home or work). 

does anyone know if Interix telnet server (from Microsoft services for Unix)
workes better with bash?

thanks in advance

--
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: remote usage of cygwin via microsoft telnet services

2004-11-10 Thread Christopher Faylor
On Wed, Nov 10, 2004 at 05:01:01PM -0500, Rearick, Gabriele wrote:
how else other than telnet would you suggest to login to that machine,
then?

Please remove cygwin-xfree from any future responses.

This has nothing to do with X on Cygwin.

cgf

--
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: What to do when setup fails?

2004-11-10 Thread Luke Kendall
On 11 Nov, To: Dave Korn wrote:
  I'll investigate further, but I think you've cracked my problem. 
  Thanks, Dave! 

Certainly, the confusing part was getting an error that stopped setup
and which was reported as mount: the command completed successfully.

I've tried again today with Administrators privileges and it's worked
much better.  Still not installed, though.  It's stopped at the 99%
Install stage, with setup reporting for the last hour:

Installing
xwinwm-0.0.5-1
/usr/bin/wimwm.exe

There seems to be a lot of disc activity, and the title (99% - Cygwin
Setup) flickering as if it's being refreshed a lot.

The last message in /var/log/tmp/setup.log is Ending Cygwin Install,
but it's from 9 days ago, at my previous attempt.

I started looking for the real log find via explorer's search, while
running procexp, which shows that the I/O was churning away in the
Other category - the number of reads and writes weren't changing,
just the other category (presumably VM activity).

I dropped the priority from normal to low, and a few minutes later a
panel popped up saying:

Microsoft Visual C++ Runtime Error
Runtime Error!
Program \\samba\install\win32\cygwin\setup.exe
This application has requested the Runtime to terminate it in an
unusual way.  Please contact the application's support team for
more information.

In the resources view of setup.exe (in procexp), it did mention one
item of interest amongs the thousands of files etc.:

KeyedEvent  \KernelObjects\CritSectOutOfMemoryEvent

which sounds like a bit of a giveaway.

Indeed, Task Manager showed the system was thrashing - instead of
displaying memory, it was showing page faults, which had climbed to
1.93GB (the system only has 512MB of RAM).

By the time it had crashed with the above panel, Task Manager was
showing setup of using only 10MB of memory.  Yet as soon as I clicked
on OK for the runtime error, the pages were very quickly handed back to
the system and it returned to about 100MB of memory in use (no page
faults).  So it sounds like setup.exe was the culprit.

This is an old version of setup.  I notice that my post-install stuff
detected the problem of a failed install (symptom: missing /etc/profile
file).  The sanest thing to do will be to reboot, and try installing a
much more recent Cygwin.

If that fails, I'll scrub the installed files and reg keys, and try
again.

I'll let you know what happens.

Regards,

luke




--
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: vpath search failures in Clearcase when files do actually exist

2004-11-10 Thread Pierre A. Humblet
On Wed, Nov 10, 2004 at 01:09:47PM -0500, Christopher Faylor wrote:
 On Wed, Nov 10, 2004 at 12:47:26PM -0500, Pierre A. Humblet wrote:
 On Tue, Nov 09, 2004 at 07:51:23PM -0500, Christopher Faylor wrote:
 On Tue, Nov 09, 2004 at 07:21:00PM -0500, Jeremy Broughton wrote:
 Cyg ver:1.3.10 (although I have reproduced the same problem with 1.5.7)
 OS : Windows 2000
 File system:   MVFS (running gnumake inside a Rational Clearcase dynamic
 view)
 cygcheck:   (See attached file: cygcheck.out)
 
 It appears as though there is a problem using the /cygdrive/m type paths
 inside MVFS when there are extremely large dependency trees.
  
 Unless you can point to problems with a standard, supported W2K
 filesystem, please don't expect anyone to try to fix this.
 
 Cygwin uses standard Win32 APIs for detemining if something is a
 directory.  If those APIs are not working for Clearcase then it is
 unlikely that anyone will be motivated to fix the problem on the Cygwin
 side.
 
 The OP was suggesting both a problem determining if something is a
 directory and a problem related to pathnames.  Running strace my shed
 some light on the root cause.
 
 Would it have made you feel better if I had said for dealing with paths
 and determining if something is a directory?

The related to pathnames was refering to the last paragraph in the initial
post, which points to Cygwin (although I can't imagine how):
 As shown above, using vpath .  ../..  /cygdrive/m/top fails, even
though it should work.  Using vpath .  /cygdrive/m/top fails with the same
errors as above.  However, vpath .  M:/top succeeds in the dependency
check, even though M:/top should apparently be written as /cygdrive/m/top
to comply to cygwin standards.
  
 If the OP is willing to do this then I hope he does it on a standard
 filesystem like NTFS, as I originally suggested.  If there is a problem
 there then it is obviously not a ClearCase problem.

Right. But then if it is a ClearCase problem, it can't be identified...
My request would be to trace under the latest Cygwin.

Pierre

--
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: What to do when setup fails?

2004-11-10 Thread Luke Kendall
On 11 Nov, luke wrote:
  By the time it had crashed with the above panel, Task Manager was 
  showing setup of using only 10MB of memory.  Yet as soon as I clicked 
  on OK for the runtime error, the pages were very quickly handed back to 
  the system and it returned to about 100MB of memory in use (no page 
  faults).  So it sounds like setup.exe was the culprit. 
   
  This is an old version of setup.  I notice that my post-install stuff 
  detected the problem of a failed install (symptom: missing /etc/profile 
  file).  The sanest thing to do will be to reboot, and try installing a 
  much more recent Cygwin. 
   
  If that fails, I'll scrub the installed files and reg keys, and try 
  again. 

Hmm, using a mirror that's a few days old shows similar behaviour.
This time though it's saying it's installing zip-2.3-6 - all the other
details seem the same.

I watched in task manager as setup's memory use climbed from 50MB to
127MB over a period of a few minutes.  When next I looked nothing had
visibly changed, except task manager reckoned setup was now using only
12MB (again climbing steadily upwards at about 5MB per minute), even as
the Performance task manager view showed system memory use had climbed
to 880MB (and still climbing).

Sounds like the first attempted install, with the insufficient
permissions and the Mount: command completed successfully might have
left things in a somehow strange state.

I'll force a system disc check and reboot and try again.  Then scrub
Cygwin and try a fresh install if that's no better.

luke


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



library `/usr/lib/libncurses.la' was moved.

2004-11-10 Thread Gerrit P. Haase
Hi,
Getting this warning:
libtool: link: warning: library `/usr/lib/libncurses.la' was moved.
$ cat /usr/lib/libncurses.la
[...]
# Directory that this library needs to be installed in:
libdir='/usr/src/ncurses/ncurses-5.4/.inst/usr/lib'
Gerrit
--
=^..^=
--
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: What to do when setup fails?

2004-11-10 Thread Luke Kendall
On 11 Nov, To: [EMAIL PROTECTED] wrote:
  Sounds like the first attempted install, with the insufficient 
  permissions and the Mount: command completed successfully might have 
  left things in a somehow strange state. 

I no longer think this.
 
  I'll force a system disc check and reboot and try again.  Then scrub 
  Cygwin and try a fresh install if that's no better. 

That didn't help.  I now suspect hardware problems: specifically, a
faulty hard drive.  There have been various odd problems unrelated to
Cygwin.  E.g. the screen went blank for about 2 hours after rebooting
requesting a file system check.  Very noisy hard drive (it's driving me
even battier than I normally am!).

luke


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



Updated: docbook-xsl-1.67.0-1

2004-11-10 Thread Marcel Telka
I've updated the docbook-xsl package to version 1.67.0-1.

docbook-xsl package contains XSL stylesheets for the DocBook XML DTD 
created by Norman Walsh and others.

Changes since 1.66.1-2:
- Updated to mainstream 1.67.0

To update your installation, click on the Install Cygwin now link on 
the http://cygwin.com/ web page. This downloads setup.exe to your 
system. Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin 
mailing list at: cygwin at cygwin dot com. I would appreciate it if you 
would use this mailing list rather than emailing me directly.

-- 
+---+
| Marcel Telka   e-mail:   [EMAIL PROTECTED]  |
|homepage: http://telka.sk/ |
|jabber:   [EMAIL PROTECTED] |
+---+