Re: emacs / libICE.dll

2004-03-10 Thread Corinna Vinschen
On Mar  9 13:43, Harold L Hunt II wrote:
   I have been 
 telling people that the lib*.dll libraries for Cygwin/X would be going 
 away for a few months now and apparently the emacs maintainer has not 
 had a chance to recompile their package in 8 months.
 
 emacs really needs to get rebuilt since I will be pulling thos lib*.dll 
 libraries from the distribution within the next week or so.

Ok, who's the maintainer of emacs? [dig, dig, dig] Uh, ok.

Joe, please rebuild the emacs package ASAP, otherwise we'll pull it
from the distro in two weeks.

 On a side note, emacs must have been missing XFree86-lib-compat as 
 dependency in setup.hint for about 8 months now; this would explain why 
 this user does not have those libraries.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: emacs / libICE.dll

2004-03-10 Thread Joe Buehler
Corinna Vinschen wrote:

On Mar  9 13:43, Harold L Hunt II wrote:

 I have been 
telling people that the lib*.dll libraries for Cygwin/X would be going 
away for a few months now and apparently the emacs maintainer has not 
had a chance to recompile their package in 8 months.
You were not intentionally ignored -- it's a question of the massive
volume of stuff flowing past in the Cygwin lists.  I don't read it all,
I just skim it.
Joe, please rebuild the emacs package ASAP, otherwise we'll pull it
from the distro in two weeks.
I'll work on it.
--
Joe Buehler


Re: emacs / libICE.dll

2004-03-10 Thread Dr. Volker Zell
 Joe == Joe Buehler  writes:

Joe Corinna Vinschen wrote:
 On Mar  9 13:43, Harold L Hunt II wrote:

 I have been telling people that the lib*.dll libraries for
 Cygwin/X would be going away for a few months now and apparently
 the emacs maintainer has not had a chance to recompile their
 package in 8 months.

Joe You were not intentionally ignored -- it's a question of the massive
Joe volume of stuff flowing past in the Cygwin lists.  I don't read it all,
Joe I just skim it.

 Joe, please rebuild the emacs package ASAP, otherwise we'll pull it
 from the distro in two weeks.

Joe I'll work on it.

Joe, while you're at it, is it possible to decouple the files conflicting
with the xemacs package (/usr/bin/b2m.exe and /usr/bin/rcs-checkin) like
I did with my xemacs-emacs-common package ?

Or even pull them from the emacs package as they are the same as provided
now with xemacs-emacs-common.

Joe Joe Buehler

Thanks
  Volker




cygutils - mkshortcut - Patch for --desc option for description/tooltip text - Needed for new Cygwin/X package

2004-03-10 Thread Harold L Hunt II
Attached is a patch to mkshortcut to allow it to take a [-d|--desc] DESC 
option that specifies the text of the description (tooltip text) for the 
shortcut.  If -d|--desc is not specified, then the previous behavior of 
setting the description to the POSIX path to the application is used.

I have build tested and run tested the attached patch.

I need this patch for a replacement for the XFree86-bin-icons package. 
I already have the new package in hand, but I need this new 
functionality in order for the shortcuts to have meaningful names and 
descriptions.

Harold
Index: mkshortcut/mkshortcut.1
===
RCS file: /cvs/cygwin-apps/cygutils/src/mkshortcut/mkshortcut.1,v
retrieving revision 1.5
diff -u -r1.5 mkshortcut.1
--- mkshortcut/mkshortcut.1 14 Feb 2004 23:34:57 -  1.5
+++ mkshortcut/mkshortcut.1 10 Mar 2004 18:43:03 -
@@ -1,6 +1,6 @@
 .\{{{}}}
 .\{{{  Title
-.TH MKSHORTCUT 1 21 Oct 03 mkshortcut 1.5 (cygutils) Cygutils
+.TH MKSHORTCUT 1 10 Mar 04 mkshortcut 1.6 (cygutils) Cygutils
 .\}}}
 .\{{{  Name
 .SH NAME
@@ -10,7 +10,8 @@
 .SH SYNOPSIS
 .B mkshorcut
 .RB [\-\fBa\fP \fIARGS\fP]
-.RB [\-\fBi\fP \fIiconfile\fP [\-\fBj\fP \fIINT\fP] ]
+.RB [\-\fBd\fP \fIDESC\fP]
+.RB [\-\fBi\fP \fIICONFILE\fP [\-\fBj\fP \fIINT\fP] ]
 .RB [\-\fBn\fP \fINAME\fP ]
 .RB [\-\fBs\fP \fInorm|min|max\fP ]
 .RB [\-\fBw\fP \fIPATH\fP ]
@@ -23,6 +24,10 @@
 .TP 
 \fB\-a\fR, \fB\-\-arguments\fP=\fIARGS\fP
 Arguments to use (see example below).
+
+.TP 
+\fB\-d\fR, \fB\-\-desc\fR=\fIDESC\fP
+Text for description/tooltip (defaults to POSIX path of TARGET). Note that 
\fIDESC\fP can contain spaces, but in that case must be enclosed in quotes.
 
 .TP 
 \fB\-h\fR, \fB\-\-help\fR
Index: mkshortcut/mkshortcut.c
===
RCS file: /cvs/cygwin-apps/cygutils/src/mkshortcut/mkshortcut.c,v
retrieving revision 1.6
diff -u -r1.6 mkshortcut.c
--- mkshortcut/mkshortcut.c 14 Feb 2004 23:34:57 -  1.6
+++ mkshortcut/mkshortcut.c 10 Mar 2004 18:43:03 -
@@ -61,6 +61,7 @@
   int show_flag;
   int offset;
   char * name_arg;
+  char * desc_arg;
   char * dir_name_arg;
   char * argument_arg;
   char * target_arg;
@@ -93,7 +94,7 @@
   const char * arg;
 
   struct poptOption helpOptionsTable[] = {
-{ help,  'h',  POPT_ARG_NONE, NULL, '?', \
+{ help, 'h',  POPT_ARG_NONE, NULL, '?', \
 Show this help message, NULL},
 { usage, '\0', POPT_ARG_NONE, NULL, 'u', \
 Display brief usage message, NULL},
@@ -105,24 +106,26 @@
   };
 
   struct poptOption generalOptionsTable[] = {
-{ arguments,  'a',  POPT_ARG_STRING, NULL, 'a', \
+{ arguments, 'a',  POPT_ARG_STRING, NULL, 'a', \
 Use arguments ARGS, ARGS},
+{ desc, 'd', POPT_ARG_STRING, NULL, 'd', \
+Text for description/tooltip (defaults to POSIX path of TARGET), DESC},
 { icon, 'i', POPT_ARG_STRING, NULL, 'i', \
-icon file for link to use, iconfile},
+Icon file for link to use, ICONFILE},
 { iconoffset, 'j', POPT_ARG_INT, (opts.offset), 'j', \
-offset of icon in icon file (default is 0), NULL},
+Offset of icon in icon file (default is 0), NULL},
 { name, 'n', POPT_ARG_STRING, NULL, 'n', \
-name for link (defaults to TARGET), NAME},
+Name for link (defaults to TARGET), NAME},
 { show, 's', POPT_ARG_STRING, NULL, 's', \
-window to show: normal, minimized, maximized, norm|min|max},
+Window to show: normal, minimized, maximized, norm|min|max},
 { workingdir, 'w', POPT_ARG_STRING, NULL, 'w', \
-set working directory (defaults to directory path of TARGET), PATH},
+Set working directory (defaults to directory path of TARGET), PATH},
 { allusers, 'A', POPT_ARG_VAL, (opts.allusers_flag), 1, \
-use 'All Users' instead of current user for -D,-P, NULL},
+Use 'All Users' instead of current user for -D,-P, NULL},
 { desktop, 'D', POPT_ARG_VAL, (opts.desktop_flag), 1, \
-create link relative to 'Desktop' directory, NULL},
+Create link relative to 'Desktop' directory, NULL},
 { smprograms, 'P', POPT_ARG_VAL, (opts.smprograms_flag), 1, \
-create link relative to Start Menu 'Programs' directory, NULL},
+Create link relative to Start Menu 'Programs' directory, NULL},
 { NULL, '\0', 0, NULL, 0, NULL, NULL }
   };
   
@@ -161,6 +164,7 @@
   opts.target_arg = NULL;
   opts.argument_arg = NULL;
   opts.name_arg = NULL;
+  opts.desc_arg = NULL;
   opts.dir_name_arg = NULL;
   opts.icon_name_arg = NULL;
 
@@ -177,6 +181,14 @@
  goto exit;
   case 'l':  license(optCon, stderr, program_name);
  goto exit;
+  case 'd':  if (arg = poptGetOptArg(optCon)) {
+   if ((opts.desc_arg = strdup(arg)) == NULL ) {
+ fprintf(stderr, %s: memory allocation error\n, program_name);
+ 

Re: cygutils - mkshortcut - Patch for --desc option for description/tooltip text - Needed for new Cygwin/X package

2004-03-10 Thread Igor Pechtchanski
On Wed, 10 Mar 2004, Harold L Hunt II wrote:

Attached is a patch to mkshortcut to allow it to take a [-d|--desc] DESC
option that specifies the text of the description (tooltip text) for the
shortcut.  If -d|--desc is not specified, then the previous behavior of
setting the description to the POSIX path to the application is used.
I have build tested and run tested the attached patch.

I need this patch for a replacement for the XFree86-bin-icons package.
I already have the new package in hand, but I need this new
functionality in order for the shortcuts to have meaningful names and
descriptions.
Harold
Umm, don't the symbolic links in Cygwin use the description field for the
link contents?  Also, why was this sent to cygwin-apps -- doesn't it fit
better with the main Cygwin list?
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!
I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: Can I use the library of cygwin such as GSL in Visual C++ in Windows directly?

2004-03-10 Thread Christopher Faylor
On Wed, Mar 10, 2004 at 08:09:36PM +, bonjour online wrote:
Now I want to use GSL library of Cygwin in Visual C++ in Windows
directly.  Is there any method to do it?  Thank you very much.

Please use the main cygwin mailing list for these type of questions.

I've redirected this email there.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com


RE:[2] perspicuity

2004-03-10 Thread Dannie Kurtz
Discount Cigarettes Store sells only the very finest 
quality tobacco, delivered to you factory 
fresh in the shortest time possible.

more information here:
http://graywacke.cigaretesstore.net/il/?preferred

__
Un_subscr1ber$ go here:
http://universal.cigaretesstore.net/pizdec.php?36382

3762268429344457816--


Some help with [re-]installation please

2004-03-10 Thread Chris Green
I had a disk disaster over the week-end, a disk 'optimiser' made my
160Gb main drive very optimal by wiping it completely.  I was fairly
well backed up etc. but it takes a while to get everything back to
normality.

I found re-installing cygwin and cygwin/X a bit confusing so would
appreciate some comments and help.

I had all the ftp'ed files left from installing cygwin previously
sitting in a directory on a networded drive, could I have used these
to re-install cygwin rather than downloading everything again?  If so
how does one do it?  There are a number of different directories, one
for each FTP site I've used.

As it was I chose an FTP site (the last one I had used I think) and
re-downloaded from there, or did I?  If I accept defaults does it just
download only the files which have been updated and install the rest
from the previously downloaded files on disk.

I really find the window where you select what to download, etc.
*very* confusing, some of the wording is very odd.  Two examples from
the User's Guide which I find difficult to understand are:-

You can change setup.exe's view style, which is helpful if you know
the name of a package you want to install but not which category it is
in. Click on the View button and it will rotate between Category (the
default), Full (all packages), and Partial (only packages to be
upgraded). If you are familiar with Unix, you will probably want to at
east glance through the Full listing for your favorite tools.

So what does 'Partial' mean?  I can see that Category means all
packages sorted into types, Full means all in alphabetical order but
what does Partial mean?  Does it mean only display packages that I've
got already?

... and the second (and more confusing for me) bit is:-

Once you have an existing Cygwin installation, the setup.exe chooser
is also used to manage your Cygwin installation. Information on
installed packages is kept in the /etc/setup/ directory of your Cygwin
installation; if setup.exe cannot find this directory it will act just
like you had no Cygwin installation. If setup.exe finds a newer
version of an installed package available, it will automatically mark
it to be upgraded. To Uninstall, Reinstall, or get the Source for an
existing package, click on Keep to toggle it. Also, to avoid the need
to reboot after upgrading, make sure to close all Cygwin windows and
stop all Cygwin processes before setup.exe begins to install the
upgraded package.

What on earth does To Uninstall, Reinstall, or get the Source for an
existing package, click on Keep to toggle it., mean???

-- 
Chris Green ([EMAIL PROTECTED])


Re: Solved: AltGr with Solaris 2.6

2004-03-10 Thread Walter Haidinger
On Tue, 9 Mar 2004, Harold L Hunt II wrote:

  Well, I forgot to mention that I've edited startxwin.bat to start XFree86 
  like this (on one line):
  
  start XWin -multiwindow -clipboard -xf86config C:\cygwin\etc\X11\XF86Config
 
 Doesn't matter.  The code for parsing XF86Config files is no longer 
 present in the executable.  It was just a mistake that an error is not 
 raised when the -xf86config option is used when XF86Config support has 
 not been compiled in.

Odd. However, I'm getting suspicious that I was (am?) not using -51 after
all because it did make a difference if the RightAlt Option wasn't set.
I'll double check and report again.

Regards, Walter 


Okay, I feel stupid

2004-03-10 Thread Matthew L. Mandalek
How do I use cygwin to start a X console on my XP machine like I get on
the Rad Hat Fedora console?

Thank

Matt



Re: Okay, I feel stupid

2004-03-10 Thread Chris Green
On Wed, Mar 10, 2004 at 07:01:06AM -0800, Matthew L. Mandalek wrote:
 How do I use cygwin to start a X console on my XP machine like I get on
 the Rad Hat Fedora console?
 
Do you just mean a terminal window or do you mean an X desktop?

To me 'console' means a text mode terminal, in that case all you need
to do is run the cygwin object that should be on your desktop and you
have something like wghat you're after.

If you want a 'proper' Unix/Linux terminal then you need rxvt which
you may or may not have downloaded with cygwin.

-- 
Chris Green ([EMAIL PROTECTED])


Re: xserv-4.3.0-52 - keyboard autorepeat pb

2004-03-10 Thread Harold L Hunt II
Oops, that was me that broke that when I added support for disabling the 
XF86Config file support.  I am working on a fix now.

Harold

gagou wrote:
Alexander Gottwald wrote:

The -kb option turns off XKB. Do you really need it?
If you remove it then autorepeat should work again.


I do need it. With xkb set, alt-gr chars such as | ou
@ can't be used in AIX or HP-UX X apps.
In a previous thread, you submitted a patch which was
working just great:
http://sources.redhat.com/ml/cygwin-xfree/2003-11/msg00278.html
Is the logic used deprecated (Only discard the windows
autorepeat messages if the XKB layer is not
disabled.)?
Thanks for your answer,
Gael.
__
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster
http://search.yahoo.com


Win 2000: No german keyboard

2004-03-10 Thread hj . beckers
I can't use a german keyboard-definition under Win2000. Under NT it did
work.
Xwin.log talks about Couldn't load XKB keymap, falling back to pre-XKB
keymap
(complete log is attached).

Any hints?

Yours
hjb
(See attached file: XWin.log)


XWin.log
Description: Binary data


Re: Okay, I feel stupid

2004-03-10 Thread Thomas Dickey
On Wed, 10 Mar 2004, Chris Green wrote:

 On Wed, Mar 10, 2004 at 07:01:06AM -0800, Matthew L. Mandalek wrote:
  How do I use cygwin to start a X console on my XP machine like I get on
  the Rad Hat Fedora console?
 
 Do you just mean a terminal window or do you mean an X desktop?

 To me 'console' means a text mode terminal, in that case all you need
 to do is run the cygwin object that should be on your desktop and you
 have something like wghat you're after.

 If you want a 'proper' Unix/Linux terminal then you need rxvt which
 you may or may not have downloaded with cygwin.

or xterm, of course.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Re: xserv-4.3.0-52 - keyboard autorepeat pb

2004-03-10 Thread Alexander Gottwald
On Wed, 10 Mar 2004, gagou wrote:

 Alexander Gottwald wrote:
  The -kb option turns off XKB. Do you really need it?
  If you remove it then autorepeat should work again.
 
 I do need it. With xkb set, alt-gr chars such as | ou
 @ can't be used in AIX or HP-UX X apps.
 In a previous thread, you submitted a patch which was
 working just great:
 http://sources.redhat.com/ml/cygwin-xfree/2003-11/msg00278.html
 Is the logic used deprecated (Only discard the windows
 autorepeat messages if the XKB layer is not
 disabled.)?

The autorepeat is set via the XKB layer. If it is disabled
I have no other way to enable the xserver internal autorepeat
feature. but the windows autorepeat message should generate
the repeated keypresses.

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


Re: Win 2000: No german keyboard

2004-03-10 Thread Alexander Gottwald
On Wed, 10 Mar 2004 [EMAIL PROTECTED] wrote:

 I can't use a german keyboard-definition under Win2000. Under NT it did
 work.
 Xwin.log talks about Couldn't load XKB keymap, falling back to pre-XKB
 keymap
 (complete log is attached).

see faq.

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


Re: xserv-4.3.0-52 - keyboard autorepeat pb - Fixed in 4.3.0-53

2004-03-10 Thread Harold L Hunt II
Gael,

I fixed your problem (hopefully) in the xserv-4.3.0-53 release.

Harold


Re: XWin crash when running Oracle installer

2004-03-10 Thread Rob Foehl
On Tue, 9 Mar 2004, Harold L Hunt II wrote:

 Rob,

 It sounds like both you and Fabrizio are having the same problem (crash
 in multi-window mode, no crash in single window mode):

 http://cygwin.com/ml/cygwin-xfree/2004-03/msg00221.html

I agree, the stack dumps are nearly identical and the circumstances are
the same..  I'll keep an eye on the list and verify any potential fixes
if/when they are released.

-Rob


Re: Okay, I feel stupid

2004-03-10 Thread Eric Hanchrow
 Matthew == Matthew L Mandalek [EMAIL PROTECTED] writes:

Matthew How do I use cygwin to start a X console on my XP machine
Matthew like I get on the Rad Hat Fedora console?

startxwin.bat

-- 
But users will not now with glad cries glom on to a language that
gives them no more than what Scheme or Pascal gave them.

-- Guy Steele, http://www.sun.com/research/jtech/pubs/98-oopsla-growing.ps


Re: X/Cygwin icon proposal

2004-03-10 Thread Nahor
Harold L Hunt II wrote:
http://pdx.freedesktop.org/cgi-bin/viewcvs.cgi/*checkout*/xc/programs/Xserver/hw/xwin/X.ico?rev=1.1.6.1only_with_tag=CYGWINcvsroot=xorg 
Thanks.

My vote is between the one in CVS and my new one.
Ideally, the news one should have a real alpha channel for transparency 
around its border. It don't know if it's actually possible but the 
FireFox/Thunderbird icons seems to use such an alpha channel for the 
shadow part.

What about this one. It has an alpha channel. It has only the 32x32 16m 
colors for now so look at it using a big view. It looks really cool on 
my black desktop. Really smooth. However, I haven't checked it how it 
looks on systems that don't support alpha channel in icons.

	Nahor
inline: x_test3.ico

Re: X/Cygwin icon proposal

2004-03-10 Thread Harold L Hunt II
Nahor,

That new one you just made with the alpha channel is awesome!  It would 
be great if we can create an icon that has this, plus non-alpha channel 
icons (or at least it doesn't look much worse than the current icon when 
alpha channels are not supported).

Excellent work!

Harold

Nahor wrote:

Harold L Hunt II wrote:

http://pdx.freedesktop.org/cgi-bin/viewcvs.cgi/*checkout*/xc/programs/Xserver/hw/xwin/X.ico?rev=1.1.6.1only_with_tag=CYGWINcvsroot=xorg 


Thanks.

My vote is between the one in CVS and my new one.
Ideally, the news one should have a real alpha channel for transparency 
around its border. It don't know if it's actually possible but the 
FireFox/Thunderbird icons seems to use such an alpha channel for the 
shadow part.

What about this one. It has an alpha channel. It has only the 32x32 16m 
colors for now so look at it using a big view. It looks really cool on 
my black desktop. Really smooth. However, I haven't checked it how it 
looks on systems that don't support alpha channel in icons.



Re: X/Cygwin icon proposal

2004-03-10 Thread Nahor
Harold L Hunt II wrote:

That new one you just made with the alpha channel is awesome!  It would 
be great if we can create an icon that has this, plus non-alpha channel 
icons (or at least it doesn't look much worse than the current icon when 
alpha channels are not supported).
Here you go. This icon has images in 32x32 and 16x16, in 16m with alpha, 
256 and 16 colors.

	Nahor
inline: x_test4.ico

Xwinclip 1.2.0-1 with aixterm

2004-03-10 Thread SMore
I can use highlighting to copy paste between all my xterms when Xwinclip is
not running.

When I start Xwinclip, I can no longer paste into my aixterm. All other
copy-pasting is working as advertised.

What can I do to help debug this issue ?

-Thanks
Steve More


NOTICE:  This e-mail may contain confidential or legally privileged
information and is intended solely for delivery to the specific person
identified as the recipient.  Any review, re-transmission, dissemination or
other use or taking of any action in reliance upon this e-mail by persons
other than the intended recipient is prohibited.  If you receive this e-mail
in error, please contact us at ([EMAIL PROTECTED]) and delete from your
computer system, or otherwise from you records, the information, which was
transmitted to you in error.


Re: Could not open default font 'fixed'

2004-03-10 Thread Igor Pechtchanski
On Tue, 9 Mar 2004, Harold L Hunt II wrote:

 Jeff,

 Jeff Wolkove wrote:

  I had the above error when I attempted to run startxwin.bat. The FAQ says
  I should nudge the mailing list so here I am nudging. Does anyone know
  of a fix for this error? Let me know if you need any further details.

 Yes, we all know the answer, but it looks like it took me quite a long
 time to get around to updating the FAQ :)

 There is now a detailed answer were there was previously a request to
 nudge the mailing list by 2003-01-31... I hope I mistyped that as 2003
 when it really should have been 2004.  It would be a little silly if it
 really took longer than a year to revisit this issue.

 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

 Harold

Harold,

FWIW, you should be able to simply re-run any one of the
/etc/postinstall/XFree86-f*.sh.done scripts... :-)
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!

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


Re: Could not open default font 'fixed'

2004-03-10 Thread Harold L Hunt II
Igor Pechtchanski wrote:

On Tue, 9 Mar 2004, Harold L Hunt II wrote:


Jeff,

Jeff Wolkove wrote:


I had the above error when I attempted to run startxwin.bat. The FAQ says
I should nudge the mailing list so here I am nudging. Does anyone know
of a fix for this error? Let me know if you need any further details.
Yes, we all know the answer, but it looks like it took me quite a long
time to get around to updating the FAQ :)
There is now a detailed answer were there was previously a request to
nudge the mailing list by 2003-01-31... I hope I mistyped that as 2003
when it really should have been 2004.  It would be a little silly if it
really took longer than a year to revisit this issue.
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

Harold


Harold,

FWIW, you should be able to simply re-run any one of the
/etc/postinstall/XFree86-f*.sh.done scripts... :-)
Igor
I don't understand, please explain.

Harold


Re: Xwinclip 1.2.0-1 with aixterm

2004-03-10 Thread Harold L Hunt II
Don't use xwinclip, use the -clipboard option for XWin.exe instead. 
Please make sure that you have a recent (i.e. XFree86-xserv-4.3.0-51 or 
greater) version of XWin.exe.

Harold

[EMAIL PROTECTED] wrote:
I can use highlighting to copy paste between all my xterms when Xwinclip is
not running.
When I start Xwinclip, I can no longer paste into my aixterm. All other
copy-pasting is working as advertised.
What can I do to help debug this issue ?

-Thanks
Steve More


Re: Could not open default font 'fixed'

2004-03-10 Thread Igor Pechtchanski
On Wed, 10 Mar 2004, Harold L Hunt II wrote:

 Igor Pechtchanski wrote:

  On Tue, 9 Mar 2004, Harold L Hunt II wrote:
 
 Jeff,
 
 Jeff Wolkove wrote:
 
 I had the above error when I attempted to run startxwin.bat. The FAQ says
 I should nudge the mailing list so here I am nudging. Does anyone know
 of a fix for this error? Let me know if you need any further details.
 
 Yes, we all know the answer, but it looks like it took me quite a long
 time to get around to updating the FAQ :)
 
 There is now a detailed answer were there was previously a request to
 nudge the mailing list by 2003-01-31... I hope I mistyped that as 2003
 when it really should have been 2004.  It would be a little silly if it
 really took longer than a year to revisit this issue.
 
 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof
 
 Harold
 
  Harold,
 
  FWIW, you should be able to simply re-run any one of the
  /etc/postinstall/XFree86-f*.sh.done scripts... :-)
Igor

 I don't understand, please explain.
 Harold

Harold,

First, all the postinstall scripts for XFree86-fnts, XFree86-f100,
XFree86-fscl, XFree86-fcyr, and XFree86-fenc are the same -- that's the
any one of... part.

Secondly, umount is already part of these scripts, and there should be no
need to reinstall the package just to re-run the postinstall script, hence
my suggestion (to just re-run the script from the command line).  Of
course, if any of the font files are corrupt then reinstallation *is*
needed.

Hope this helps,
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!

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


Re: Could not open default font 'fixed'

2004-03-10 Thread Harold L Hunt II
Igor Pechtchanski wrote:

On Wed, 10 Mar 2004, Harold L Hunt II wrote:


Igor Pechtchanski wrote:


On Tue, 9 Mar 2004, Harold L Hunt II wrote:


Jeff,

Jeff Wolkove wrote:


I had the above error when I attempted to run startxwin.bat. The FAQ says
I should nudge the mailing list so here I am nudging. Does anyone know
of a fix for this error? Let me know if you need any further details.
Yes, we all know the answer, but it looks like it took me quite a long
time to get around to updating the FAQ :)
There is now a detailed answer were there was previously a request to
nudge the mailing list by 2003-01-31... I hope I mistyped that as 2003
when it really should have been 2004.  It would be a little silly if it
really took longer than a year to revisit this issue.
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

Harold
Harold,

FWIW, you should be able to simply re-run any one of the
/etc/postinstall/XFree86-f*.sh.done scripts... :-)
 Igor
I don't understand, please explain.
Harold


Harold,

First, all the postinstall scripts for XFree86-fnts, XFree86-f100,
XFree86-fscl, XFree86-fcyr, and XFree86-fenc are the same -- that's the
any one of... part.
Right.

Secondly, umount is already part of these scripts, and there should be no
need to reinstall the package just to re-run the postinstall script, hence
my suggestion (to just re-run the script from the command line).  Of
course, if any of the font files are corrupt then reinstallation *is*
needed.
Sure, umount is part of those scripts, but I want my instructions to 
work in all possible cases.  I could think of some weird instances where 
someone had removed the postinstall scripts.  In any case, I don't want 
to depend on those scripts being there.

The second part of your answer indicates that you don't fully understand 
the problem.  See, it goes like this:

1) You have an invalid mount point in the registry that points to 
nowhere for /usr/X11R6/lib/X11/fonts.

2) You have setup.exe install the fonts packages.

3) setup.exe extracts the fonts packages according to the mount points, 
thus extracting the fonts packages to *nowhere*.

4) You do not actually have the files from the fonts packages on your 
system.

5) You have to kill the invalid mount point, then resinstall the fonts 
packages in order to actually get the files.

Weird, eh?

Harold


Re: Could not open default font 'fixed'

2004-03-10 Thread Igor Pechtchanski
On Wed, 10 Mar 2004, Harold L Hunt II wrote:

 Igor Pechtchanski wrote:

  On Wed, 10 Mar 2004, Harold L Hunt II wrote:
 
 Igor Pechtchanski wrote:
 
 On Tue, 9 Mar 2004, Harold L Hunt II wrote:
 
 Jeff,
 
 Jeff Wolkove wrote:
 
 
 I had the above error when I attempted to run startxwin.bat. The FAQ says
 I should nudge the mailing list so here I am nudging. Does anyone know
 of a fix for this error? Let me know if you need any further details.
 
 Yes, we all know the answer, but it looks like it took me quite a long
 time to get around to updating the FAQ :)
 
 There is now a detailed answer were there was previously a request to
 nudge the mailing list by 2003-01-31... I hope I mistyped that as 2003
 when it really should have been 2004.  It would be a little silly if it
 really took longer than a year to revisit this issue.
 
 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof
 
 Harold
 
 Harold,
 
 FWIW, you should be able to simply re-run any one of the
 /etc/postinstall/XFree86-f*.sh.done scripts... :-)
   Igor
 
 I don't understand, please explain.
 Harold
 
  Harold,
 
  First, all the postinstall scripts for XFree86-fnts, XFree86-f100,
  XFree86-fscl, XFree86-fcyr, and XFree86-fenc are the same -- that's the
  any one of... part.

 Right.

  Secondly, umount is already part of these scripts, and there should be no
  need to reinstall the package just to re-run the postinstall script, hence
  my suggestion (to just re-run the script from the command line).  Of
  course, if any of the font files are corrupt then reinstallation *is*
  needed.

 Sure, umount is part of those scripts, but I want my instructions to
 work in all possible cases.  I could think of some weird instances where
 someone had removed the postinstall scripts.  In any case, I don't want
 to depend on those scripts being there.

 The second part of your answer indicates that you don't fully understand
 the problem.  See, it goes like this:

 1) You have an invalid mount point in the registry that points to
 nowhere for /usr/X11R6/lib/X11/fonts.

 2) You have setup.exe install the fonts packages.

 3) setup.exe extracts the fonts packages according to the mount points,
 thus extracting the fonts packages to *nowhere*.

 4) You do not actually have the files from the fonts packages on your
 system.

 5) You have to kill the invalid mount point, then resinstall the fonts
 packages in order to actually get the files.

 Weird, eh?
 Harold

Eek.  You're absolutely right -- I didn't think of this...  However, there
still should be no need for a umount in the instructions, as executing
the postinstall scripts during the first install should have pointed the
mount to the right place already.  A simple reinstallation of the fonts
packages should suffice.
Igor
P.S. Unless explicitly deleted by some program or by the user, the scripts
will be there.
-- 
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!

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


Re: Could not open default font 'fixed'

2004-03-10 Thread Harold L Hunt II
Igor Pechtchanski wrote:

On Wed, 10 Mar 2004, Harold L Hunt II wrote:


Igor Pechtchanski wrote:


On Wed, 10 Mar 2004, Harold L Hunt II wrote:


Igor Pechtchanski wrote:


On Tue, 9 Mar 2004, Harold L Hunt II wrote:


Jeff,

Jeff Wolkove wrote:



I had the above error when I attempted to run startxwin.bat. The FAQ says
I should nudge the mailing list so here I am nudging. Does anyone know
of a fix for this error? Let me know if you need any further details.
Yes, we all know the answer, but it looks like it took me quite a long
time to get around to updating the FAQ :)
There is now a detailed answer were there was previously a request to
nudge the mailing list by 2003-01-31... I hope I mistyped that as 2003
when it really should have been 2004.  It would be a little silly if it
really took longer than a year to revisit this issue.
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

Harold
Harold,

FWIW, you should be able to simply re-run any one of the
/etc/postinstall/XFree86-f*.sh.done scripts... :-)
Igor
I don't understand, please explain.
Harold
Harold,

First, all the postinstall scripts for XFree86-fnts, XFree86-f100,
XFree86-fscl, XFree86-fcyr, and XFree86-fenc are the same -- that's the
any one of... part.
Right.


Secondly, umount is already part of these scripts, and there should be no
need to reinstall the package just to re-run the postinstall script, hence
my suggestion (to just re-run the script from the command line).  Of
course, if any of the font files are corrupt then reinstallation *is*
needed.
Sure, umount is part of those scripts, but I want my instructions to
work in all possible cases.  I could think of some weird instances where
someone had removed the postinstall scripts.  In any case, I don't want
to depend on those scripts being there.
The second part of your answer indicates that you don't fully understand
the problem.  See, it goes like this:
1) You have an invalid mount point in the registry that points to
nowhere for /usr/X11R6/lib/X11/fonts.
2) You have setup.exe install the fonts packages.

3) setup.exe extracts the fonts packages according to the mount points,
thus extracting the fonts packages to *nowhere*.
4) You do not actually have the files from the fonts packages on your
system.
5) You have to kill the invalid mount point, then resinstall the fonts
packages in order to actually get the files.
Weird, eh?
Harold


Eek.  You're absolutely right -- I didn't think of this...  However, there
still should be no need for a umount in the instructions, as executing
the postinstall scripts during the first install should have pointed the
mount to the right place already.  A simple reinstallation of the fonts
packages should suffice.
A simple reinstall has been shown to not always work... just search the 
mailing list archives.  It is sort of a Catch-22 situation.  Trust me, I 
spent a lot of time thinking about the different scenarios that have 
tripped people up, and I want to leave the instructions in the most 
likely to work state rather than in a fewest possible steps state.  I 
want it to work right the first time, everytime, and I don't want anyone 
having the steps fail then asking on the mailing list for us to explain 
this again.

P.S. Unless explicitly deleted by some program or by the user, the scripts
will be there.
That is what I don't want to count on.

Additionally, I am simply not comfortable writing step-by-step 
instructions for running the post-install script.  You are making it 
sound easier to describe in spoonfulls than I think it is.  I think 
you'll find that describing it in a bullet-proof manner will lead to a 
list of caveats three times longer than my simple umount instruction. 
For example, you would have to put in a caveat for if they last updated 
their fonts before a certain date, in which case they would not have a 
postinstall script at all.

We are wasting a lot of words on a issue that is already sufficiently 
addressed.  If you really want it changed, write the step-by-step 
instructions for it, convince me that they are easier and more reliable, 
and I will change it; otherwise, lets drop it.

Harold


Re: XWin crash when running Oracle installer

2004-03-10 Thread Harold L Hunt II
Rob Foehl wrote:

On Tue, 9 Mar 2004, Harold L Hunt II wrote:


Rob,

It sounds like both you and Fabrizio are having the same problem (crash
in multi-window mode, no crash in single window mode):
http://cygwin.com/ml/cygwin-xfree/2004-03/msg00221.html


I agree, the stack dumps are nearly identical and the circumstances are
the same..  I'll keep an eye on the list and verify any potential fixes
if/when they are released.
Okay, I am working with Fabrizio now to diagnose this.  I have VICE 
building, but I cannot reproduce his crash yet.  Keep monitoring the 
mailing list.

Harold


Re: Some help with [re-]installation please

2004-03-10 Thread Brian Ford
Since none of this is really specific to Cygwin/X, I've redirected this
thread to the main cygwin list.

I'll take a stab at a few of these, but there are parts I am not
sure of either.

On Wed, 10 Mar 2004, Chris Green wrote:

 I had a disk disaster over the week-end, a disk 'optimiser' made my
 160Gb main drive very optimal by wiping it completely.  I was fairly
 well backed up etc. but it takes a while to get everything back to
 normality.

Yep.  My 160Gb main drive in a brand new Dell box died in less than a
month.  I had just got the box up and configured, but I had no backups yet
:(.  So, I sympathsize.

 I found re-installing cygwin and cygwin/X a bit confusing so would
 appreciate some comments and help.

 I had all the ftp'ed files left from installing cygwin previously
 sitting in a directory on a networded drive, could I have used these
 to re-install cygwin rather than downloading everything again?  If so,
 how does one do it?

Yes.  Choose Install from Local Directory instead of Install from
Internet, and point setup there.  Keep in mind, however, you would have
missed out on all the new and exciting updates :).

 There are a number of different directories, one for each FTP site I've
 used.

This is the part I am not sure how to handle.

 As it was I chose an FTP site (the last one I had used I think) and
 re-downloaded from there, or did I?  If I accept defaults does it just
 download only the files which have been updated and install the rest
 from the previously downloaded files on disk.

I think it uses the Local Package Directory that it prompted you for as
a cache.  So, I think the answer is yes.

 I really find the window where you select what to download, etc.
 *very* confusing, some of the wording is very odd.  Two examples from
 the User's Guide which I find difficult to understand are:-

 You can change setup.exe's view style, which is helpful if you know
 the name of a package you want to install but not which category it is
 in. Click on the View button and it will rotate between Category (the
 default), Full (all packages), and Partial (only packages to be
 upgraded). If you are familiar with Unix, you will probably want to at
 east glance through the Full listing for your favorite tools.

 So what does 'Partial' mean?  I can see that Category means all
 packages sorted into types, Full means all in alphabetical order but
 what does Partial mean?  Does it mean only display packages that I've
 got already?

I found it confusing at first too :).

No, it is more of a view of what is to come ie. the packages that you or
it have selected to upgrade/install.  Does that help?

 ... and the second (and more confusing for me) bit is:-

 Once you have an existing Cygwin installation, the setup.exe chooser
 is also used to manage your Cygwin installation. Information on
 installed packages is kept in the /etc/setup/ directory of your Cygwin
 installation; if setup.exe cannot find this directory it will act just
 like you had no Cygwin installation. If setup.exe finds a newer
 version of an installed package available, it will automatically mark
 it to be upgraded. To Uninstall, Reinstall, or get the Source for an
 existing package, click on Keep to toggle it. Also, to avoid the need
 to reboot after upgrading, make sure to close all Cygwin windows and
 stop all Cygwin processes before setup.exe begins to install the
 upgraded package.

 What on earth does To Uninstall, Reinstall, or get the Source for an
 existing package, click on Keep to toggle it., mean???

Did you try it?  Clicking on Keep transitions it to Uninstall, Reinstall,
Source, etc.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


src/winsup/w32api ChangeLog include/winsock2.h

2004-03-10 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-10 20:00:21

Modified files:
winsup/w32api  : ChangeLog 
winsup/w32api/include: winsock2.h 

Log message:
2004-03-10  Al Slater  [EMAIL PROTECTED]

* include/winsock2.h: Add missing LPFN_ typdefs for
function pointers.
Clean up whitespace.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.545r2=1.546
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winsock2.h.diff?cvsroot=srcr1=1.21r2=1.22



Re: [Patch] Signal mask handling

2004-03-10 Thread Christopher Faylor
On Wed, Mar 10, 2004 at 11:26:19PM -0500, Pierre A. Humblet wrote:
2004-02-11  Pierre Humblet [EMAIL PROTECTED]
   
   * gendef (_sigdelayed): Replace the call to 
   set_process_mask by a call to set_process_mask_delta.
   * exceptions.cc (_cygtls::interrupt_setup): Set oldmask
   to the delta and don't set newmask.
   (set_process_mask_delta): New function.
   (_cygtls::call_signal_handler): Replace the first call to 
   set_process_mask by a call to set_process_mask_delta.

I tried applying this patch and saw a difference in behavior with
the attached program.  It wasn't setting the signal mask in the handler
correctly.  I have changes in my sandbox which conflicted with your
patch, so I probably misapplied something, though since your patch
looks correct to me otherwise.

Can you confirm the same behavior on the below program before and
after your change?  If so, I'd say it's ok to check in but I'd like to
check my changes in first.  I hope to have them completed soon.

Btw, I think that if you check this in, set_process_mask becomes
obsolete, right?

cgf
#include stdio.h
#include unistd.h
#include stdlib.h
#include signal.h

void
ouch (int sig)
{
  sigset_t set, oset;
  sigemptyset (set);
  sigprocmask (SIG_SETMASK, set, oset);
  sigprocmask (SIG_SETMASK, NULL, set);
  printf (sig %d, set 0%x, oset 0%x\n, sig, set, oset);
}

int
main (int argc, char **argv)
{
  sigset_t set, oset;
  sigemptyset (set);
  sigaddset (set, SIGUSR1);
  sigaddset (set, SIGINT);
  sigprocmask (SIG_SETMASK, set, oset);
  printf (set 0%x, oset 0%x\n, set, oset);
  signal (SIGALRM, ouch);
  alarm (1);
  pause ();
  sigprocmask (SIG_SETMASK, NULL, oset);
  printf (oset 0%x\n, oset);
  exit (0);
}


cron will not execute commands

2004-03-10 Thread steve


Hello:)

To whom It may concern-

I am trying to have cron execute a simple rsync command, but have run across
substantial problems trying to make it work. I have rtfm documentation -
user guide, FAQ, Google and mail archives when I came across this

http://sources.redhat.com/ml/cygwin/2003-12/msg00711.html

I have run the cron_diagnose.sh and followed the suggestion done it twice so
now I am sending you this. By the way it works fine from the command line. I
have also included the messages.txt from tail -f /var/log/messages for this
crontab.

Will someone respond to this?

Need help.

Thanks:
Steve Nutt
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.2792 installed on Tue Mar  9 23:22:23 2004)
# (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)


23 */23 * * * rsync -e ssh -avvz 10.10.10.9:/BACKUPS /temp  /var/log/messages 21

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Mar 09 23:48:07 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Common Files\Roxio Shared\DLLShared

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 10500(Administrator) GID: 10545(mkgroup-l-d)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 10500(Administrator) GID: 10545(mkgroup-l-d)
544(Administrators)   545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `c:\Documents and Settings\administrator.HELIOS1'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/Documents and Settings/administrator.HELIOS1'
USER = `Administrator'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\administrator.HELIOS1\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `JUPITER'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\administrator.HELIOS1'
HOSTNAME = `jupiter'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LOGONSERVER = `\\W2K-DELL'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0602'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\ADMINI~1.HEL\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ADMINI~1.HEL\LOCALS~1\Temp'
USERDNSDOMAIN = `HELIOS1.ATH.CX'
USERDOMAIN = `HELIOS1'
USERNAME = `Administrator'
USERPROFILE = `C:\Documents and Settings\administrator.HELIOS1'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   14998Mb  80% CP CS UN PA FC 
d:  cd   N/AN/A
e:  cd   N/AN/A
f:  hd  NTFS   14998Mb  43% CP CS UN PA2nd Local Disk
g:  hd  NTFS   46320Mb  61% CP CS UN PA3rd LOcal Disk
h:  fd   N/AN/A
m:  hd  NTFS   29321Mb   1% CP CS UN PA FC RAID1

C:\cygwin  / system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.  /cygdrive   

Creating DLL's for use with MSVC

2004-03-10 Thread Niklas Wallin
We are currently porting a linux C++ project to windows. The project 
consists of several dll's (or .so's). To recreate those dll's in 
Windows it seems like you have to add a lot of __cdecls definitions or 
use a definitions file. Neither method is appealing to us. So, I read 
somewhere that Cygwin might do the trick by exporting all symbols. So, 
I started to compile dll's in cygwin:

c++ -shared -mno-cygwin -o mydll.dll mydll.cpp \
-Wl, --out-implib=mydll.lib
-W1,--output-def=mydll.def
-W1,--export-all-symbols
The problem was that I could not link my MSVC program with the import 
library, since the symbols are decorated differently. Cygwin (and I 
guess Linux) creates symbols like _ZN7Myclass8GetValueEv while MSVC 
looks for [EMAIL PROTECTED]@@QAEHXZ.
The definitions file was correct however. Then I read somewhere that 
you should produce the import library from the def file using MS lib:

lib /machine:i386 /def:mydll.def

This did not work either, the symbols are of course decorated the same 
way (cygwin way). I have also tried to use the dllwrap and dlltool but 
all I got was empty def files, and undefined references.

Please tell me I that I actually can create DLL's in Cygwin and link 
them with MSVC. If you do that can you please tell me how. I spent 
yesterday reading and reading, compiling and linking but without any 
success.

/ Niklas

--
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: Postgres Backend doesn't catch the next command, after SIGUSR2

2004-03-10 Thread Patrick Samson

--- Larry Hall wrote:
 try the 
 most recent snapshot and see if that helps.  

With 20040306 snapshot, same pb.
frozen at 569 runs, on COPY
   58 runs, on CREATE TABLE
   39 runs, on CREATE TABLE


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

--
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: select() hangs sometimes, for TCP connections

2004-03-10 Thread Patrick Samson
Sorry, I was wrong. Tcl-DP was not the primary
cause.
The story goes on at:
Backend doesn't catch the next command, after
SIGUSR2
http://cygwin.com/ml/cygwin/2004-03/msg00418.html

This time with a simpler context:
only pgtclsh and Postgresql.

--- Patrick Samson wrote:
 I finally found the culprit.
 It seems to be a Tcl extension which was badly
 built.
 
 --- Patrick Samson wrote:
  Problem: sometimes select() doesn't return.
  
  Context: I run a DB replication scenario,
  with cron, everything 5 mn. There is no change in
  the
  DB, so the scenario is always the same. Most of
 the
  time, it works. But eventually, after some time
 (may
  be some minutes or hours), a process A keeps
 waiting
  forever in select() for a response on a TCP
 socket.
  With gdb I can see that the other end B returned
 in
  its
  ReadCommand() function, meaning it has send its
  response and waits for a new command, so this side
  should be OK.

Correction: this side didn't catch the command, so
will never answer to it.



__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



couldn't load library ../libitcl32.a:invalid argument ...

2004-03-10 Thread Christian Montanari
Hi,
Any updates on this issue on package tcltk-20030901-1 ?
Redhat stuff seems to work better (ie. like with the snavigator package). 
what is the difference with this installation ?

Thanks,
-- 

Dr. Christian Montanari,
SHARP TELECOMMUNICATIONS OF EUROPE Ltd.,
Azure House,
Bagshot Road,
Bracknell,
Berks, RG12 7QY, UK.
Tel: +44 (0) 1344 301883
Fax: +44 (0) 1344 300293



--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Dave Korn

 -Original Message-
 From: cygwin-owner On Behalf Of Niklas Wallin
 Sent: 10 March 2004 07:59

 The problem was that I could not link my MSVC program with 
 the import library, since the symbols are decorated 
 differently. Cygwin (and I guess Linux) creates symbols like 
 _ZN7Myclass8GetValueEv while MSVC looks for 
 [EMAIL PROTECTED]@@QAEHXZ.
 The definitions file was correct however. Then I read 
 somewhere that you should produce the import library from the 
 def file using MS lib:
 
 lib /machine:i386 /def:mydll.def
 
 This did not work either, the symbols are of course decorated 
 the same way (cygwin way). I have also tried to use the 
 dllwrap and dlltool but all I got was empty def files, and 
 undefined references.
 
 Please tell me I that I actually can create DLL's in Cygwin 
 and link them with MSVC. If you do that can you please tell 
 me how. I spent yesterday reading and reading, compiling and 
 linking but without any success.


  Well, it may seem like cheating, but unless you desparately need to export
actually overloaded functions, why not just extern C the whole lot of it
and be done with it ?



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


--
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: dvips failing to include cmdunh10 font definition

2004-03-10 Thread Tim Reid
Ah, many thanks. It's all looking much clearer now.

do you have one of those:
$ locate cmdunh
/usr/share/texmf/fonts/source/jknappen/sauter/b-cmdunh.mf
/usr/share/texmf/fonts/source/public/cm/cmdunh10.mf
/usr/share/texmf/fonts/tfm/public/cm/cmdunh10.tfm
/usr/share/texmf/fonts/tfm/public/vcm/vcmdunh10.tfm
/usr/share/texmf/fonts/tfm/public/cm/cmdunh10.tfm
$ locate cmdunh
locate: /usr/var/locatedb: No such file or directory
Hmmm. I'll have to look into this.

[EMAIL PROTECTED]:/etc/setup
$ zgrep cmdunh *
tetex-base.lst.gz:usr/share/texmf/fonts/source/jknappen/sauter/b-cmdunh.mf
tetex-base.lst.gz:usr/share/texmf/fonts/source/public/cm/cmdunh10.mf
tetex-base.lst.gz:usr/share/texmf/fonts/tfm/public/cm/cmdunh10.tfm
tetex-base.lst.gz:usr/share/texmf/fonts/tfm/public/vcm/vcmdunh10.tfm
tetex-base.lst.gz:usr/share/texmf/fonts/type1/bluesky/cm/cmdunh10.pfb
tetex-base.lst.gz:usr/share/texmf/fonts/vf/public/vcm/vcmdunh10.vf
tetex-tiny.lst.gz:usr/share/texmf/fonts/source/public/cm/cmdunh10.mf
tetex-tiny.lst.gz:usr/share/texmf/fonts/tfm/public/cm/cmdunh10.tfm
This was when it dawned on me. I had tetex-tiny installed (it was
a prerequisite for another package) but not any of the other tetex
packages. Installing tetex-base fixed the problem, and everything seems
to be working fine now.
I guess we're left with two questions:

1) I've never properly understood the intended distinction between
tetex-tiny and tetex-base. However, if tiny is intended to be a small,
self-contained basic distribution, and contains the mf and tfm files for
cmdunh10, shouldn't it have whatever else is required to make the font
work properly in dvips, or know how to build it from the MetaFont source?
2) When I ran dvips, it presumably couldn't find the cmdunh10 font
definition, so it failed to include it. However, I don't recall seeing
any error message, or I might have spotted this earlier. I guess I could
uninstall tetex-base to examine the dvips output again, to see whether
there was anything which I should have noticed, but shouldn't dvips be
more vocal?
But in any case, it's working now.

Many thanks indeed.

Tim Reid

_
Sign-up for a FREE BT Broadband connection today! 
http://www.msn.co.uk/specials/btbroadband

--
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: dvips failing to include cmdunh10 font definition

2004-03-10 Thread Demmer, Thomas
Regarding locate:
/usr/bin/updatedb is your friend. 


For your other questions: That it is an interesting
one, because the .tfm and the .mf is included, so it
should work with both packages. Jan?


Ciao
Tom



-Original Message-
From: Tim Reid 
Sent: Wednesday, 10 March, 2004 11:24
To: cygwinatcygwin.com
Cc: TDemmeratkrafteurope.com
Subject: RE: dvips failing to include cmdunh10 font definition


Ah, many thanks. It's all looking much clearer now.

do you have one of those:
$ locate cmdunh
/usr/share/texmf/fonts/source/jknappen/sauter/b-cmdunh.mf
/usr/share/texmf/fonts/source/public/cm/cmdunh10.mf
/usr/share/texmf/fonts/tfm/public/cm/cmdunh10.tfm
/usr/share/texmf/fonts/tfm/public/vcm/vcmdunh10.tfm
/usr/share/texmf/fonts/tfm/public/cm/cmdunh10.tfm

$ locate cmdunh
locate: /usr/var/locatedb: No such file or directory

Hmmm. I'll have to look into this.

[EMAIL PROTECTED]:/etc/setup
$ zgrep cmdunh *
tetex-base.lst.gz:usr/share/texmf/fonts/source/jknappen/sauter/b-cmdunh.mf
tetex-base.lst.gz:usr/share/texmf/fonts/source/public/cm/cmdunh10.mf
tetex-base.lst.gz:usr/share/texmf/fonts/tfm/public/cm/cmdunh10.tfm
tetex-base.lst.gz:usr/share/texmf/fonts/tfm/public/vcm/vcmdunh10.tfm
tetex-base.lst.gz:usr/share/texmf/fonts/type1/bluesky/cm/cmdunh10.pfb
tetex-base.lst.gz:usr/share/texmf/fonts/vf/public/vcm/vcmdunh10.vf
tetex-tiny.lst.gz:usr/share/texmf/fonts/source/public/cm/cmdunh10.mf
tetex-tiny.lst.gz:usr/share/texmf/fonts/tfm/public/cm/cmdunh10.tfm

This was when it dawned on me. I had tetex-tiny installed (it was
a prerequisite for another package) but not any of the other tetex
packages. Installing tetex-base fixed the problem, and everything seems
to be working fine now.

I guess we're left with two questions:

1) I've never properly understood the intended distinction between
tetex-tiny and tetex-base. However, if tiny is intended to be a small,
self-contained basic distribution, and contains the mf and tfm files for
cmdunh10, shouldn't it have whatever else is required to make the font
work properly in dvips, or know how to build it from the MetaFont source?

2) When I ran dvips, it presumably couldn't find the cmdunh10 font
definition, so it failed to include it. However, I don't recall seeing
any error message, or I might have spotted this earlier. I guess I could
uninstall tetex-base to examine the dvips output again, to see whether
there was anything which I should have noticed, but shouldn't dvips be
more vocal?

But in any case, it's working now.

Many thanks indeed.

Tim Reid

_
Sign-up for a FREE BT Broadband connection today! 
http://www.msn.co.uk/specials/btbroadband

--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Alejandro Lopez-Valencia
On Wed, 10 Mar 2004 08:59:26 +0100, Niklas Wallin wrote in
[EMAIL PROTECTED]:

We are currently porting a linux C++ project to windows. The project 
consists of several dll's (or .so's). To recreate those dll's in 
Windows it seems like you have to add a lot of __cdecls definitions or 
use a definitions file. Neither method is appealing to us. So, I read 
somewhere that Cygwin might do the trick by exporting all symbols. So, 
I started to compile dll's in cygwin:

c++ -shared -mno-cygwin -o mydll.dll mydll.cpp \
   -Wl, --out-implib=mydll.lib
   -W1,--output-def=mydll.def
   -W1,--export-all-symbols


Try:

cc++ -shared -mno-cygwin -o mydll.dll mydll.cpp \
-Wl,--out-implib=mydll.lib \
-W1,--output-def=mydll.def \
-W1,--export-all-symbols \
-Wl,--enable-auto-import \
-Wl,--enable-auto-image-base \
-Wl,--compat-implib \
-Wl,--add-stdcall-alias \
-Wl,--enable-stdcall-fixup

Yu should recycle recycle your def file. You see, it will contain a
lot of unnecessary symbols, so... After you have obtained a def file
above, edit it to include only the symbols you really need exported
and include it in your project for future use. Then you can do:

cc++ -shared -mno-cygwin -o mydll.dll mydll.cpp mydll.def \
-Wl,--out-implib=mydll.lib \
-Wl,--compat-implib \
-Wl,--enable-auto-import \
-Wl,--enable-auto-image-base \
-Wl,--add-stdcall-alias \
-Wl,--enable-stdcall-fixup

To obtain a well behaved dll and a (probably?) usable import library.

If you are using this within a Makefile, you should rather input the
object files. Like this:

cc++ -shared -mno-cygwin $(CXXFLAGS) -o mydll.dll \
-Wl,--out-implib=mydll.lib \
-Wl,--compat-implib \
-Wl,--add-stdcall-alias \
-Wl,--enable-stdcall-fixup \
-Wl,--enable-auto-import \
-Wl,--enable-auto-image-base \
-Wl,--whole-archive \
$(MY_DLL_OBJECT_FILES_LIST) \
my_dll_symbols_export_list.def \
-Wl,--no-whole-archive \
$(ANY_LIBRARIES_THE_DLL_SHOULD_AUTO_LOAD) 

See GNU GCC and GNU binutils' documentation for an explanation. (This,
btw, should go in the FAQ, consider it a contribution).



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



Bizarre perms on web2c files causing pdflatex failures

2004-03-10 Thread Dave Korn


[ similar to http://sources.redhat.com/ml/cygwin/2004-01/msg01075.html, but
that thread seems to have died without any resolution ]

pdflatex wouldn't work for me.  It kept complaining about not being to open
various config files:

---snip---
 pdftex ../../../../dlxtools/binutils/gas/doc/internals.texi
/usr/share/texmf/web2c/texmf.cnf: Permission denied
/usr/share/texmf/web2c/texmf.cnf: Permission denied
/usr/share/texmf/web2c/texmf.cnf: Permission denied
/usr/share/texmf/ls-R: Permission denied
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)
(../../../../dlxtools/binutils/gas/doc/internals.texi
Error: pdftex (file pdftex.cfg): cannot open config file
 == Fatal error occurred, the output PDF file is not finished!
---snip---

So I had a quick look at the perms, and noticed something a little strange:

---snip---
 ls -la /usr/share/texmf/web2c/ | sort --key=16
-rw-r--r--1 artimius None  440 Dec 22 11:37 mpost.log
-rw-r--r--1 artimius None  737 Dec 22 11:37 mf.log
-rw-r--r--1 artimius None  739 Dec 22 11:37 mfw.log
-rw-r--r--1 artimius None 2463 Dec 22 11:37 tex.log
-rw-r--r--1 artimius None 2487 Dec 22 11:37 pdftex.log
-rw-r--r--1 artimius None 3056 Dec 22 11:37 omega.log
-rw-r--r--1 artimius None 3092 Dec 22 11:37 amstex.log
-rw-r--r--1 artimius None 3669 Dec 22 11:37 etex.log
-rw-r--r--1 artimius None 3690 Dec 22 11:37 pdfetex.log
-rw-r--r--1 artimius None10567 Dec 22 11:37 latex.log
-rw-r--r--1 artimius None10591 Dec 22 11:37 pdflatex.log
-rw-r--r--1 artimius None10603 Dec 22 11:37 elatex.log
-rw-r--r--1 artimius None10626 Dec 22 11:37 pdfelatex.log
-rw-r--r--1 artimius None11321 Dec 22 11:37 lambda.log
-rw-r--r--1 artimius None66872 Dec 22 11:37 mpost.mem
-rw-r--r--1 artimius None   150368 Dec 22 11:37 mf.base
-rw-r--r--1 artimius None   150372 Dec 22 11:37 mfw.base
-rw-r--r--1 artimius None   245277 Dec 22 11:37 tex.fmt
-rw-r--r--1 artimius None   254621 Dec 22 11:37 pdftex.fmt
-rw-r--r--1 artimius None   278597 Dec 22 11:37 etex.efmt
-rw-r--r--1 artimius None   287950 Dec 22 11:37 pdfetex.efmt
-rw-r--r--1 artimius None   405706 Dec 22 11:37 amstex.fmt
-rw-r--r--1 artimius None   752230 Dec 22 11:37 latex.fmt
-rw-r--r--1 artimius None   755624 Dec 22 11:37 elatex.efmt
-rw-r--r--1 artimius None   761177 Dec 22 11:37 pdflatex.fmt
-rw-r--r--1 artimius None   764508 Dec 22 11:37 pdfelatex.efmt
-rw-r--r--1 artimius None  1189170 Dec 22 11:37 omega.oft
-rw-r--r--1 artimius None  3793280 Dec 22 11:37 lambda.oft
-rwxr-x---1 artimius None  679 Dec 22 11:36 mktex.cnf
-rwxr-x---1 artimius None  679 Dec 22 11:36
mktex.cnf.cygwin-orig
-rwxr-x---1 artimius None 3142 Dec 22 11:36 fmtutil.cnf
-rwxr-x---1 artimius None 3142 Dec 22 11:36
fmtutil.cnf.cygwin-orig
-rwxr-x---1 artimius None19967 Dec 22 11:36 texmf.cnf
-rwxr-x---1 artimius None19967 Dec 22 11:36
texmf.cnf.cygwin-orig
-rwxr-x---+   1 artimius Users 328 Sep 17 17:41 mktexdir.opt
-rwxr-x---+   1 artimius Users 679 Sep 18 20:30
mktex.cnf.cygwin-dist
-rwxr-x---+   1 artimius Users1342 Sep 17 17:41 mktexdir
-rwxr-x---+   1 artimius Users1630 Sep 17 17:41 mktexupd
-rwxr-x---+   1 artimius Users3142 Sep 18 20:30
fmtutil.cnf.cygwin-dist
-rwxr-x---+   1 artimius Users3423 Sep 17 17:41 mktexnam.opt
-rwxr-x---+   1 artimius Users4430 Jan 30  2003 updmap.cfg
-rwxr-x---+   1 artimius Users4715 Sep 17 17:41 mktex.opt
-rwxr-x---+   1 artimius Users5773 May 25  2002 macce-t1.tcx
-rwxr-x---+   1 artimius Users5909 May 25  2002 macce-pl.tcx
-rwxr-x---+   1 artimius Users6380 Sep 17 17:41 mktexnam
-rwxr-x---+   1 artimius Users   19967 Sep 18 20:30
texmf.cnf.cygwin-dist
-rwxr-x---+   1 artimius Users   22179 Sep 17 17:41 mf.pool
-rwxr-x---+   1 artimius Users   24672 Sep 17 17:41 mp.pool
-rwxr-x---+   1 artimius Users   26233 Sep 17 17:41 tex.pool
-rwxr-x---+   1 artimius Users   28056 Sep 17 17:41 etex.pool
-rwxr-x---+   1 artimius Users   28712 Sep 17 17:41 tex-pl.pool
-rwxr-x---+   1 artimius Users   30132 Sep 17 17:41 omega.pool
-rwxr-x---+   1 artimius Users   30638 Sep 17 17:41 etex-pl.pool
-rwxr-x---+   1 artimius Users   33106 Sep 17 17:41 pdftex.pool
-rwxr-x---+   1 artimius Users   34929 Sep 17 17:41 pdfetex.pool
-rwxr-x---+   1 artimius Users   35546 Sep 17 17:41 pdftex-pl.pool
-rwxr-x---+   1 artimius Users   37472 Sep 17 17:41 pdfetex-pl.pool
drwxrwx---+   2 artimius Users   0 Dec 22 11:37 .
drwxrwx---+  22 artimius Users   0 Dec 22 11:37 ..
lrwxrwxrwx1 artimius None   94 Dec 22 11:37 mf-nowin.base -
mf.base

lrwxrwxrwx1 artimius None   

Re: sshd vs. lftp

2004-03-10 Thread Chris Herborth
Mark Blackburn wrote:

I tried to replicate but I didn't see the same problems. I'm using lftp
fish://[EMAIL PROTECTED] though since I don't have acces to another machine
running cygwin.
The only difference between my working system at home (besides slightly 
older versions of sshd and lftp) is the domain; at work, my system is part 
of domain, at home, I don't have one.

I made sure the SYSTEM account (which is what inetd is starting sshd as) had 
access to my directories, but it doesn't seem to have made any difference.

--
Chris Herborth [EMAIL PROTECTED]
Documentation Overlord, CRYPTOCard Corp.  http://www.cryptocard.com/
Never send a monster to do the work of an evil scientist.
Postatem obscuri lateris nescitis.
--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Niklas Wallin
Thanks for your answer Alejandro, I still can't get it right though.

class MyClass
{
public:
  MyClass();
  ~MyClass();
  int getValue();
  void setValue(int val);
private:
   int value_;
};


Try:

cc++ -shared -mno-cygwin -o mydll.dll mydll.cpp \
-Wl,--out-implib=mydll.lib \
-W1,--output-def=mydll.def \
-W1,--export-all-symbols \
-Wl,--enable-auto-import \
-Wl,--enable-auto-image-base \
-Wl,--compat-implib \
-Wl,--add-stdcall-alias \
-Wl,--enable-stdcall-fixup
Ok, the .def file then looks like this:

EXPORTS
_ZN7MyClass8getValueEv @1
_ZN7MyClass8setValueEi @2
_ZN7MyClassC1Ev @3
_ZN7MyClassC2Ev @4
_ZN7MyClassD1Ev @5
_ZN7MyClassD2Ev @6


Yu should recycle recycle your def file. You see, it will contain a
lot of unnecessary symbols, so... After you have obtained a def file
above, edit it to include only the symbols you really need exported
and include it in your project for future use. Then you can do:
I guess I don't have to edit this file

cc++ -shared -mno-cygwin -o mydll.dll mydll.cpp mydll.def \
-Wl,--out-implib=mydll.lib \
-Wl,--compat-implib \
-Wl,--enable-auto-import \
-Wl,--enable-auto-image-base \
-Wl,--add-stdcall-alias \
-Wl,--enable-stdcall-fixup
To obtain a well behaved dll and a (probably?) usable import library.

If the .dll and .lib file is correct I can't tell. When I try to link 
the .lib file with an MSVC executable it still can't find the 
references. I am not sure what to expect, should the lib, def and dll 
contain Cygwin decorated symbols (which is the case now) or the MSVC 
symbols? Or do I have to add any flags to the MSVC linker (compiler) to 
solve the name differences?

/ Niklas

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


Cygwin somebody sent you an e-card MCwO

2004-03-10 Thread Protecting H. Stultify
Good evening Cygwin,

Viagrax will make your a god within your four walls, that is in the bed of course 
Get your capsules shipped anonymously in a brown shipment when you order from us.
No secret charges, no min. order, no automatic re-buys... so purchase now!

http://www.chokopoppa.com/delphi/

Sanga'ay hanto,
Protecting H. Stultify

The Transvaal water park was packed to capacity and cable television channels on its 
way to obscurity. Texas traded shortstop Alex Rodriguez to the New York Yankees. Don't 
do it, Conte advised in an August 2002 response.  she said. We won't address (80 
Natoma) until the public document has been approved. citing the same objections. 


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



OLOCA

2004-03-10 Thread Jason B. Alonso
Here's one for the OLOCA (sorry it's out of the blue):

CGF: computer-generated fiction

Cheers,
Jason

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



RE: cygwin's emacs

2004-03-10 Thread Richard Campbell
On Tue, Mar 09, 2004 at 10:46:47PM -0500, George Hester wrote:
I go into emacs easy enough.  I start cygwin and type emacs and there I
am in emacs.  The directions say to exit type C-x C-c where C is the
control key.  I am assuming that is the left control key.  So I hold
down the left control key and type x.  I get a C-x in the lower bottom
of the window.  I then try C-c which is holding down the left control
key and hitting the c key.  Nothing.  Justy a ding.  In fact I casnnot
exit from emacs at all.  Does anyone have a way of exiting from emacs
which works?  Thanks.

Either set the environment variable CYGWIN=tty prior to running any
cygwin program or run emacs under rxvt.  CTRL-C is not remappable in
the normal cygwin console due to windows constraints.

2 more options:
1. Run emacs under the X-Windows server.
2. Use M-x kill-emacs, which is either:
a. Hit the key ALT-x, then type kill-emacs, then hit the key ENTER.
b. Hit the key ESCAPE, then hit the key x, then type kill-emacs, then hit 
the key ENTER.

-Richard Campbell.


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



Dr Watson invoking Sqlplus within Cygwin on NT4 sp6

2004-03-10 Thread Buglass, Eileen M (IBM)
I am calling Sqlplus from within Cygwin on NT4 SP6 and am getting a Dr
Watson error. The error does not occur every time I call Sqlplus perhaps 6
successful connections to 1 failed connection (Dr Watson).
I am using the NT4 registry setting to identify my ORACLE_HOME value and my
Oracle bin is in my PATH when running in bash.
Any ideas?

Eileen 

--
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: OLOCA

2004-03-10 Thread Buchbinder, Barry (NIH/NIAID)
Not CGF: computer-generated friction?  In case anyone wonder how he got to
be so mean?  :-)

-Original Message-
From: Jason B. Alonso [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 9:02 AM
To: [EMAIL PROTECTED]
Subject: OLOCA


Here's one for the OLOCA (sorry it's out of the blue):

CGF: computer-generated fiction

Cheers,
Jason

--
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: Dr Watson invoking Sqlplus within Cygwin on NT4 sp6

2004-03-10 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Buglass, Eileen M (IBM)
 Sent: 10 March 2004 14:45

 I am calling Sqlplus from within Cygwin on NT4 SP6 and am 
 getting a Dr Watson error. The error does not occur every 
 time I call Sqlplus perhaps 6 successful connections to 1 
 failed connection (Dr Watson).

You seem to have completely forgotten to actually give us any details of
WHAT error.  Debugging by psychic remote viewing is a fairly rare skill
round these parts!  (Debugging by random guessing isn't much good either).

 I am using the NT4 registry setting to identify my 
 ORACLE_HOME value and my Oracle bin is in my PATH when 
 running in bash.
 Any ideas?
 
 Eileen 

You could try submitting a real bug report, with like information and all
that apparently-superfluous stuff in it:-

 Problem reports:   http://cygwin.com/problems.html


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


--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Christopher Faylor
On Wed, Mar 10, 2004 at 02:21:41PM +0100, Niklas Wallin wrote:
When I try to link the .lib file with an MSVC executable it still can't
find the references.  I am not sure what to expect, should the lib, def
and dll contain Cygwin decorated symbols (which is the case now) or the
MSVC symbols?  Or do I have to add any flags to the MSVC linker
(compiler) to solve the name differences?

http://cygwin.com/faq/faq_4.html#SEC120
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Brian Ford
On Wed, 10 Mar 2004, Christopher Faylor wrote:

 On Wed, Mar 10, 2004 at 02:21:41PM +0100, Niklas Wallin wrote:
 When I try to link the .lib file with an MSVC executable it still can't
 find the references.  I am not sure what to expect, should the lib, def
 and dll contain Cygwin decorated symbols (which is the case now) or the
 MSVC symbols?  Or do I have to add any flags to the MSVC linker
 (compiler) to solve the name differences?

 http://cygwin.com/faq/faq_4.html#SEC120

I am probably wrong, as I'm sure cgf is *way* more knowledgable than I,
but I got the impression this was no longer true via the mingw-users at lists
dot sourceforge dot net list.

Since Niklas is using gcc -mno-cygwin, this question is really off topic
for this list.  He would probably get better advice on the mingw-users
list.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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: using shared libraries w/o cygwin

2004-03-10 Thread Liang, James
My current goal is to run my custom build of objcopy WITH cygwin1.dll

Is there a special compile or link time flag that tells it to link the
cygwin1.dll instead of
doing whatever it's doing now that's causing the crashes?


 -Original Message-
 From: Larry Hall [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 09, 2004 7:59 PM
 To: Liang, James; '[EMAIL PROTECTED]'
 Subject: Re: using shared libraries w/o cygwin
 
 
 At 07:35 PM 3/9/2004, you wrote:
 Hi.  I've got a port of objcopy that I'd like to run on 
 Windows systems.
 I'd rather not have to install cygwin on the machine that
 I'm going to be running this tool on.
 
 The problem I'm having is that whenever I run my program on 
 a file, it
 appears to have a STACK_VIOLATION on a call to malloc.  
 It works just fine under Linux, under cygwin, and can print the usage
 statement and things like that under DOS, 
 but crashes in DOS whenever I actually pass it a data file. 
 
 So far, the only explanation I can come up with is that 
 there's some sort of
 failure during the dynamic libraries.  Is there any way I can
 setup a DOS environment to make it run?  I tried statically 
 linking in bfd,
 but that didn't seem to the problem either.  Could this be caused
 by something else?
 
 
 The 'objcopy' that comes with the 'binutils' package works fine when 
 invoked directly from a DOS prompt (outside of a Cygwin 
 shell).  Of course,
 that one comes with Cygwin and links to cygwin1.dll.  If you 
 don't want
 to have to install Cygwin or manage a local copy of 
 cygwin1.dll on your
 target systems, then this isn't an option for you.  However, 
 if you're 
 using a custom built version of 'objcopy' that doesn't use 
 cygwin1.dll, 
 then the question is really off-topic for this list.  You'll need to 
 debug the problem yourself. Sorry.
 
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 838 Washington Street   (508) 893-9889 - FAX
 Holliston, MA 01746 
 
 


--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Christopher Faylor
On Wed, Mar 10, 2004 at 09:38:06AM -0600, Brian Ford wrote:
On Wed, 10 Mar 2004, Christopher Faylor wrote:
On Wed, Mar 10, 2004 at 02:21:41PM +0100, Niklas Wallin wrote:
When I try to link the .lib file with an MSVC executable it still can't
find the references.  I am not sure what to expect, should the lib, def
and dll contain Cygwin decorated symbols (which is the case now) or the
MSVC symbols?  Or do I have to add any flags to the MSVC linker
(compiler) to solve the name differences?

http://cygwin.com/faq/faq_4.html#SEC120

I am probably wrong, as I'm sure cgf is *way* more knowledgable than I,
but I got the impression this was no longer true via the mingw-users
at lists dot sourceforge dot net list.

The last I saw, there was a big discussion about this on the gcc mailing
list and everyone agreed that gcc was not going to change anytime soon.

As always, it is possible to link some C objects between MSVC and gcc.
It isn't possible to link C++ objects which export symbols.

However if you think this has changed why not post a URL which explains
how this came to be?

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



Test Msg

2004-03-10 Thread Crescioli, Phil


--
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: using shared libraries w/o cygwin

2004-03-10 Thread Larry Hall
James,

If you want to build objcopy locally and have it linked against cygwin1.dll,
just compile it with Cygwin's compiler.  Don't use the '-mno-cygwin'
flag.  The 'binutils' package obviously builds 'objcopy' so you can consult 
that package's process if you're having problems with building your custom
version.

Larry


At 10:44 AM 3/10/2004, you wrote:
My current goal is to run my custom build of objcopy WITH cygwin1.dll

Is there a special compile or link time flag that tells it to link the
cygwin1.dll instead of
doing whatever it's doing now that's causing the crashes?


 -Original Message-
 From: Larry Hall [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 09, 2004 7:59 PM
 To: Liang, James; '[EMAIL PROTECTED]'
 Subject: Re: using shared libraries w/o cygwin
 
 
 At 07:35 PM 3/9/2004, you wrote:
 Hi.  I've got a port of objcopy that I'd like to run on 
 Windows systems.
 I'd rather not have to install cygwin on the machine that
 I'm going to be running this tool on.
 
 The problem I'm having is that whenever I run my program on 
 a file, it
 appears to have a STACK_VIOLATION on a call to malloc.  
 It works just fine under Linux, under cygwin, and can print the usage
 statement and things like that under DOS, 
 but crashes in DOS whenever I actually pass it a data file. 
 
 So far, the only explanation I can come up with is that 
 there's some sort of
 failure during the dynamic libraries.  Is there any way I can
 setup a DOS environment to make it run?  I tried statically 
 linking in bfd,
 but that didn't seem to the problem either.  Could this be caused
 by something else?
 
 
 The 'objcopy' that comes with the 'binutils' package works fine when 
 invoked directly from a DOS prompt (outside of a Cygwin 
 shell).  Of course,
 that one comes with Cygwin and links to cygwin1.dll.  If you 
 don't want
 to have to install Cygwin or manage a local copy of 
 cygwin1.dll on your
 target systems, then this isn't an option for you.  However, 
 if you're 
 using a custom built version of 'objcopy' that doesn't use 
 cygwin1.dll, 
 then the question is really off-topic for this list.  You'll need to 
 debug the problem yourself. Sorry.
 
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 838 Washington Street   (508) 893-9889 - FAX
 Holliston, MA 01746 
 
 


--
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: Postgres Backend doesn't catch the next command, after SIGUSR2

2004-03-10 Thread Larry Hall
At 03:38 AM 3/10/2004, you wrote:

--- Larry Hall wrote:
 try the 
 most recent snapshot and see if that helps.  

With 20040306 snapshot, same pb.
frozen at 569 runs, on COPY
   58 runs, on CREATE TABLE
   39 runs, on CREATE TABLE


OK, no easy fix for you then. :-(  Looks like you'll need to dig into 
this some more.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Brian Ford
On Wed, 10 Mar 2004, Christopher Faylor wrote:
 On Wed, Mar 10, 2004 at 09:38:06AM -0600, Brian Ford wrote:
 On Wed, 10 Mar 2004, Christopher Faylor wrote:
 http://cygwin.com/faq/faq_4.html#SEC120
 
 I am probably wrong, as I'm sure cgf is *way* more knowledgable than I,
 but I got the impression this was no longer true via the mingw-users
 at lists dot sourceforge dot net list.

 The last I saw, there was a big discussion about this on the gcc mailing
 list and everyone agreed that gcc was not going to change anytime soon.

 As always, it is possible to link some C objects between MSVC and gcc.
 It isn't possible to link C++ objects which export symbols.

 However if you think this has changed why not post a URL which explains
 how this came to be?

Because it took me 20 minutes to dig back through the list archives and
find the set of posts that confused me :^\?  I still don't think I found
all of them.

Nevertheless, the redirect to mingw-users was, IMHO, valuable
and appropriate.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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



LANL MCNP5

2004-03-10 Thread John Cox
What should I download to be able to use the geometry plotting capability of this 
program?
Your software is recommended in the MCNP5 documentation?

Thank you.

John Cox
[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/



Advice needed: Scheduled rsync via SSH with ssh-agent...

2004-03-10 Thread Don Littlefield II
Hi there folks,

I need some advice on how to do what I initially
thought would be a simply thing.

Basically, on a scheduled basis, I need to rsync some
files between hostA to hostB.

I have to make use of SSH for the connection which is
where my troubles are coming in.  As this process
needs to be automated and hands off, I need to make
the authentication happen automatically.

Interactively, I can run ssh-agent and then ssh-add to
get rsync to continue without a prompt.  However, as
this process needs to be scripted and work after
reboots with no fiddling...im in a bit of a rut.

I cannot see how I can get ssh-agent running as a
service. I've seen some posts from folks on this, but
I tried their methods to no avail.  While I do get
ssh-agent running as a service, the needed env
variables are not set and so ssh-add does not work.

Maybe there is some other workaround to this or there
is some better solution you folks can think of.  My
only other possibility is using a Perl script I wrote
using SCP to do the sync with Net::SCP::Expect..,
but...rsync is more robust and hence I would like to
stick with it.

Any ideas appreciated!

--
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: OLOCA

2004-03-10 Thread Martin Gainty
Jason-

No link
Please re-transmit

Thanks,

Martin
Sanity is a form of conformity
.John Nash.. MIT

- Original Message - 
From: Jason B. Alonso [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 9:02 AM
Subject: OLOCA


 Here's one for the OLOCA (sorry it's out of the blue):
 
 CGF: computer-generated fiction
 
 Cheers,
 Jason
 
 --
 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: OLOCA

2004-03-10 Thread Igor Pechtchanski
While we're on the mean theme, how about
CGF: Crabbed, Grumpy, Forbidding to go with RCM?.. ;-)
Igor
P.S. FWIW, the OLOCA already has CGF: Computer-Generated Forms...

On Wed, 10 Mar 2004, Buchbinder, Barry (NIH/NIAID) wrote:

 Not CGF: computer-generated friction?  In case anyone wonder how he got to
 be so mean?  :-)

 -Original Message-
 From: Jason B. Alonso [mailto:jalonsoatmitdotedu]
 Sent: Wednesday, March 10, 2004 9:02 AM
 To: cygwinatcygwindotcom
 Subject: OLOCA

 Here's one for the OLOCA (sorry it's out of the blue):

 CGF: computer-generated fiction

 Cheers,
 Jason

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

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

--
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: Loading gcc-compiled DLL with Java (JNI) crashes when using newer (1.5.5) cygwin1.dll

2004-03-10 Thread Shankar Unni
Igor Pechtchanski wrote:

The core Cygwin DLL (/bin/cygwin1.dll) has no support for dynamic loading.
You may have been lucky before in that the functionality you had in your
DLL didn't require the loading of the core one.  Apparently this has
changed between 1.5.5 and 1.5.7. 
Right. This seems to be, on the face of it, the same problem that bit 
the WinCVS users - WinCVS looks for a tcl84.dll in the PATH and 
automatically dynamically loads it, and if it happens to be a 
Cygwin-compiled one, it hangs. This also changed after 1.5.6 - before 
that, it would work, for some definition of working.

Someone (I see eyes turning this way :-) needs to debug this, at least 
to understand what changed..

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


cygwin sshd / using USB ports (TCP forwarding over USB)

2004-03-10 Thread cygwin-user


 Hi,

  I was wondering whether there is a way to get cygwin apps 
to use USB ports.

  I have two Windows XP computers I need to hookup. On the
server (which has connectivity to internet) I don't have
admin rights, so I can't setup IPs. I can open TCP ports on
localhsot as a user, though, and I can plug stuff into USB
ports.

  As worst-case scenario, I might be able to convert the
other machine (the client) into a Linux box - would that
help ?

  I was hoping to do TCP-port forwarding using an ssh/sshd 
over a USB port. (Essentially I was hoping to get ssh/sshd 
to open the USB as a tty - I guess.)

  Any ideas on how could I port-forward over USB (Even if
without SSH) ?

thanks,

John


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



Re: LANL MCNP5

2004-03-10 Thread Frédéric L. W. Meunier
Why are you asking it on a Cygwin mailing-list ? You should ask
the author / maintainers of such application.

On Wed, 10 Mar 2004, John Cox wrote:

 What should I download to be able to use the geometry plotting capability of this 
 program?
 Your software is recommended in the MCNP5 documentation?

-- 
http://www.pervalidus.net/contact.html

--
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: Loading gcc-compiled DLL with Java (JNI) crashes when using newer (1.5.5) cygwin1.dll

2004-03-10 Thread Larry Hall
At 02:40 PM 3/10/2004, you wrote:
Igor Pechtchanski wrote:

The core Cygwin DLL (/bin/cygwin1.dll) has no support for dynamic loading.
You may have been lucky before in that the functionality you had in your
DLL didn't require the loading of the core one.  Apparently this has
changed between 1.5.5 and 1.5.7. 

Right. This seems to be, on the face of it, the same problem that bit the WinCVS 
users - WinCVS looks for a tcl84.dll in the PATH and automatically dynamically loads 
it, and if it happens to be a Cygwin-compiled one, it hangs. This also changed after 
1.5.6 - before that, it would work, for some definition of working.

Someone (I see eyes turning this way :-) needs to debug this, at least to understand 
what changed..


Dynamic loading of cygwin1.dll has been broken for a very long time.  That
doesn't mean it cannot be fixed.  Just that figuring out what changed 
between 1.5.5 and 1.5.7 and reinstating it would not be a fix.  It's 
the Cygwin DLL initialization that needs attention really.  But I do 
expect that everyone would like it if someone got this working again. :-)


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Shankar Unni
Brian Ford wrote:

Because it took me 20 minutes to dig back through the list archives and
find the set of posts that confused me :^\?  I still don't think I found
all of them.
With C++, the problem is that it's not just a matter of matching the 
mangling scheme - it's a matter of matching the MS VC++ compiler's 
object layout scheme *exactly*, including virtual table layouts.

The virtual table layout algorithm for GCC is shared across all 
implementations, and is incompatible with MSVC's. And IIRC, MSVC's 
virtual table layout scheme is patented (they play some clever tricks to 
avoid having to have split virtual tables with multiple inheritance, 
using inbound and outbound stubs to match object offsets), so it might 
not even be possible for GCC to ever emulate it exactly.

So simply genererating a different kind of mangling may (will) not be 
enough.

Basically, if you want to mix C++ objects from *any* two vendors, you 
have to use 'extern C'. The cardinal, and simple, rule of C++ APIs is 
never to export C++ symbols directly.

Both the Sun JVM and NSAPI programmers blew this badly, and as a result, 
have historically had all sorts of trouble with mixing compiler versions.

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


Featureprice Information

2004-03-10 Thread fpann1

Mammoth Data announced on March 5th, 2004 Featureprice is now out of business.


To switch your hosting, please select from this list that FeaturePrice recommended 
BEFORE going out of business:

#1 http://Globalhost.com : 7 months free 
(starting at $9.95 per month)

#2 FeaturePrice/Atl : See note above

#3 http://Ipowerweb : no free months 
(starting at 9.95 per month when paid quarterly)

#4 http://Server4you.com : Free sign-up and 3 months free for Featureprice customers, 
but you can't sign up yet 
(their site is collecting email addresses of people who want to sign up eventually) 
(no pricing information, this is a German company)

#5 http://Affinity.com : No clear offer. They seem to be a group of hosts, rather than 
a single web host.


--
To unsubscribe from this list, reply with unsubscribe in the subject.

--
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: Creating DLL's for use with MSVC

2004-03-10 Thread Alejandro Lopez-Valencia
On Wed, 10 Mar 2004 14:21:41 +0100, Niklas Wallin wrote in
[EMAIL PROTECTED]:

Hi Niklas,

Thanks for your answer Alejandro, I still can't get it right though.

You are welcome, but this has truly veered into the realms of the
off-topic.

So in order to pull it back on track, let's do a 'Gendankexperiment'
and suppose neither you or I ever mentioned the flag -mno-cygwin.
Let's suppose instead that you managed to compile Tendra++ and want to
use Cygwin's GNU g++ to create a DLL with an import library that could
be used by the other compiler.


Ok, the .def file then looks like this:

EXPORTS
 _ZN7MyClass8getValueEv @1
 _ZN7MyClass8setValueEi @2
 _ZN7MyClassC1Ev @3
 _ZN7MyClassC2Ev @4
 _ZN7MyClassD1Ev @5
 _ZN7MyClassD2Ev @6

As CGF pointed out earlier, g++ and your other compiler decorate
functions differently, but you could create an exports aliasing table
in the DLL:


LIBRARY mylibrary
DESCRIPTION Blah, blah.
EXPORTS
getValueEv = _ZN7MyClass8getValueEv @1
.
.
.
Ev2= _ZN7MyClassD2Ev @6


This is GNU binutils' equivalent to private function declarations in
that other win32 compiler.

Now, I can't say this will work for you, but it works for a couple of
things I use everyday...



--
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: Advice needed: Scheduled rsync via SSH with ssh-agent...

2004-03-10 Thread Mark Blackburn
You should be able to use rsync -e ssh and call it from system agent

Don Littlefield II wrote:

Hi there folks,

I need some advice on how to do what I initially
thought would be a simply thing.
Basically, on a scheduled basis, I need to rsync some
files between hostA to hostB.
I have to make use of SSH for the connection which is
where my troubles are coming in.  As this process
needs to be automated and hands off, I need to make
the authentication happen automatically.
Interactively, I can run ssh-agent and then ssh-add to
get rsync to continue without a prompt.  However, as
this process needs to be scripted and work after
reboots with no fiddling...im in a bit of a rut.
I cannot see how I can get ssh-agent running as a
service. I've seen some posts from folks on this, but
I tried their methods to no avail.  While I do get
ssh-agent running as a service, the needed env
variables are not set and so ssh-add does not work.
Maybe there is some other workaround to this or there
is some better solution you folks can think of.  My
only other possibility is using a Perl script I wrote
using SCP to do the sync with Net::SCP::Expect..,
but...rsync is more robust and hence I would like to
stick with it.
Any ideas appreciated!

--
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: cygwin's emacs

2004-03-10 Thread George Hester
OK someone sent me a FAQ which did do the trick.  In the cygwin.bat file in C:\cygwin 
I entered this before the call to the bash shell:

Set CYGWIN=tty notitle glob

Are there any gotchas here?  tty seems amenable enough as does notitle.  But the one 
that has me worried is glob.  I don't want my cygwin globbing anything into Not 
Working if I can help it.  Thanks.

George Hester
__
Christopher Faylor  wrote in message news:[EMAIL PROTECTED]
 On Tue, Mar 09, 2004 at 10:46:47PM -0500, George Hester wrote:
 I go into emacs easy enough.  I start cygwin and type emacs and there I
 am in emacs.  The directions say to exit type C-x C-c where C is the
 control key.  I am assuming that is the left control key.  So I hold
 down the left control key and type x.  I get a C-x in the lower bottom
 of the window.  I then try C-c which is holding down the left control
 key and hitting the c key.  Nothing.  Justy a ding.  In fact I casnnot
 exit from emacs at all.  Does anyone have a way of exiting from emacs
 which works?  Thanks.
 
 Either set the environment variable CYGWIN=tty prior to running any
 cygwin program or run emacs under rxvt.  CTRL-C is not remappable in
 the normal cygwin console due to windows constraints.
 --
 Please use the resources at cygwin.com rather than sending personal email.
 Special for spam email harvesters: send email to [EMAIL PROTECTED]
 and be permanently blocked from mailing lists at sources.redhat.com



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



1.5.7-1 rollback to gcc 3.2

2004-03-10 Thread Brian Mohr
Hello,

I have recently installed Cygwin and am attempting to rollback from gcc
3.3.1 to 3.2.x.  A friend of mine was able to do this a few days before I
tried it.  However, I only see gcc 3.3.1 when running setup.exe by
either using the Prev button or by clicking on the version.  Is 3.2.x no
longer being offered?

After reading the mail archive, I found a relevant discussion about
rolling back to gcc 2.95.  I followed the advice given there and searched
on google for the appropriate gcc-3.2xxx.tar.bz2 file.  Unfortunately, all
of the sites I found actually directed me to 3.3.1.

I am rolling back to cygwin 1.5.5-1 and gcc 3.2.x to avoid the problems
with emacs and ROOT.  I know there is a patch of some sort (a snapshot
posted by Axel), but I would like to avoid this option if possible.

TIA,
Brian



Cygwin Win95/NT Configuration Diagnostics

Current System Time: Mon Mar 08 18:02:43 2004



Windows XP Professional Ver 5.1 Build 2600 Service Pack 1



Path:   C:\cygwin\usr\local\bin

C:\cygwin\bin

C:\cygwin\bin

C:\cygwin\usr\X11R6\bin

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: 1003(mohr) GID: 513(None)

513(None)



Output from C:\cygwin\bin\id.exe (ntsec)

UID: 1003(mohr) GID: 513(None)

513(None)544(Administrators)  

545(Users)



SysDir: C:\WINDOWS\System32

WinDir: C:\WINDOWS



HOME = `C:\cygwin\home\mohr'

MAKE_MODE = `unix'

PWD = `/home/mohr'

USER = `mohr'



ALLUSERSPROFILE = `C:\Documents and Settings\All Users'

APPDATA = `C:\Documents and Settings\mohr\Application Data'

CLIENTNAME = `Console'

COMMONPROGRAMFILES = `C:\Program Files\Common Files'

COMPUTERNAME = `NUCLALAP02'

COMSPEC = `C:\WINDOWS\system32\cmd.exe'

CVS_RSH = `/bin/ssh'

DISPLAY = `127.0.0.1:0.0'

HOMEDRIVE = `C:'

HOMEPATH = `\Documents and Settings\mohr'

HOSTNAME = `nuclalap02'

INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'

LOGONSERVER = `\\NUCLALAP02'

MANPATH = 
`/usr/X11R6/man:/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'

NUMBER_OF_PROCESSORS = `1'

OLDPWD = `/usr/bin'

OS = `Windows_NT'

PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'

PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'

PROCESSOR_ARCHITECTURE = `x86'

PROCESSOR_IDENTIFIER = `x86 Family 6 Model 9 Stepping 5, GenuineIntel'

PROCESSOR_LEVEL = `6'

PROCESSOR_REVISION = `0905'

PROGRAMFILES = `C:\Program Files'

PROMPT = `$P$G'

PS1 = `\[\033]0;\w\007

[EMAIL PROTECTED] \[\033[33m\w\033[0m\]

$ '

SESSIONNAME = `Console'

SHLVL = `1'

SYSTEMDRIVE = `C:'

SYSTEMROOT = `C:\WINDOWS'

TEMP = `c:\DOCUME~1\mohr\LOCALS~1\Temp'

TERM = `cygwin'

TMP = `c:\DOCUME~1\mohr\LOCALS~1\Temp'

USERDOMAIN = `NUCLALAP02'

USERNAME = `mohr'

USERPROFILE = `C:\Documents and Settings\mohr'

WINDIR = `C:\WINDOWS'

_ = `/usr/bin/cygcheck'



HKEY_CURRENT_USER\Software\Cygnus Solutions

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

  (default) = `/cygdrive'

  cygdrive flags = 0x0022

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/

  (default) = `C:\cygwin'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin

  (default) = `C:\cygwin/bin'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib

  (default) = `C:\cygwin/lib'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts

  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options



c:  hd  NTFS   28615Mb  13% CP CS UN PA FC 

d:  cd   N/AN/A



C:\cygwin  / system  binmode

C:\cygwin/bin  /usr/bin  system  binmode

C:\cygwin/lib  /usr/lib  system  binmode

C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode

.  /cygdrive system  binmode,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

Not Found: cpp (good!)

Found: C:\cygwin\bin\find.exe

Not Found: gcc

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: 

Re: 1.5.7-1 rollback to gcc 3.2

2004-03-10 Thread Frédéric L. W. Meunier
On Wed, 10 Mar 2004, Brian Mohr wrote:

 I have recently installed Cygwin and am attempting to
 rollback from gcc 3.3.1 to 3.2.x.  A friend of mine was able
 to do this a few days before I tried it.  However, I only see
 gcc 3.3.1 when running setup.exe by either using the Prev
 button or by clicking on the version.  Is 3.2.x no longer
 being offered?

Right.

 After reading the mail archive, I found a relevant discussion
 about rolling back to gcc 2.95.  I followed the advice given
 there and searched on google for the appropriate
 gcc-3.2xxx.tar.bz2 file.  Unfortunately, all of the sites I
 found actually directed me to 3.3.1.

The only reports I've seen so far where from people trying to
compile broken code. But follow what others suggested: find an
outdated mirror, install it, and be on your own if there are
any problems.

-- 
http://www.pervalidus.net/contact.html

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



1.5.5.1 fgetc returns no error for bad file descriptor

2004-03-10 Thread Ghanshyam

Hi All,

The 9th assertion of fgetc in IEEE std 2003.1-1992 Test Methods for
Measuring Conformance to Posix-Part1 System Interface document states:
When the stream pointer argument addresses a file descriptor that
is not open for reading, then a call to fgetc()returns a value of 
EOF and sets errno to [EBADF].
The current implementation does not set any errno. It says No error. 

here is the small program which i compiled using gcc under cygwin and it
prints 'FAILURE: No error'

#includestdio.h
#includeerrno.h
int main()
{
char path[]=./testfile;
FILE *p;
p=fopen(path,w); /*file descriptor is open for writing!*/
fgetc(p);   /*must set errno to EBADF*/
if(errno!=EBADF)
perror(FAILURE);
else
printf(PASS\n);
return 0;
}


Regards,
ghanshyam



--
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: cygutils - mkshortcut - Patch for --desc option for description/tooltip text - Needed for new Cygwin/X package

2004-03-10 Thread Charles Wilson
Igor Pechtchanski wrote:
On Wed, 10 Mar 2004, Harold L Hunt II wrote:

Attached is a patch to mkshortcut to allow it to take a [-d|--desc] DESC
option that specifies the text of the description (tooltip text) for the
shortcut.  If -d|--desc is not specified, then the previous behavior of
setting the description to the POSIX path to the application is used.
I have build tested and run tested the attached patch.

I need this patch for a replacement for the XFree86-bin-icons package.
I already have the new package in hand, but I need this new
functionality in order for the shortcuts to have meaningful names and
descriptions.
I'll let Joshua make the call on this; if he says go then I'll put it 
in and release a new cygutils as quickly as I can.

Umm, don't the symbolic links in Cygwin use the description field for the
link contents? 
Perhaps, but it doesn't matter.  mkshortcut is for creating 
Windows-style shortcuts.  And Windows-style shortcuts put descriptions 
in the desc field.

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


man rxvt

2004-03-10 Thread fergus
All responses to man present properly to screen as far as I can tell with
the exception of man rxvt which contains a lot of explicit code of the style
.YODLTAGSTART roffcmd ... .YODLTAGEND.
Fergus


--
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: zip-2.3-6

2004-03-10 Thread cwilson
Zip is an open-source, command-line alternative to other zip-format 
archives such as WinZip, etc.  zip-2.3 is the latest release from 
Info-Zip, http://www.info-zip.org/pub/infozip/Zip.html.

CHANGES:

* now with encryption support, persuant to
   http://cygwin.com/ml/cygwin-apps/2004-02/msg00318.html

This adds the new options '-e' (encrypt) and '-P password' (if you're 
stupid enough to specify an encryption password on a command line, where 
it will show up in the process database...)

Note that cygwin's 'unzip' has always had DEcryption support.

-- 
Charles Wilson
zip volunteer maintainer for cygwin

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.

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.


--
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: Advice needed: Scheduled rsync via SSH with ssh-agent...

2004-03-10 Thread Brian Dessent
Don Littlefield II wrote:

 Basically, on a scheduled basis, I need to rsync some
 files between hostA to hostB.

Use public key authentication with ssh and run it from a cronjob.  No
need for any password hacks.

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: cygwin sshd / using USB ports (TCP forwarding over USB)

2004-03-10 Thread Brian Dessent
[EMAIL PROTECTED] wrote:

   I was wondering whether there is a way to get cygwin apps
 to use USB ports.
 
   I have two Windows XP computers I need to hookup. On the
 server (which has connectivity to internet) I don't have
 admin rights, so I can't setup IPs. I can open TCP ports on
 localhsot as a user, though, and I can plug stuff into USB
 ports.
 
   As worst-case scenario, I might be able to convert the
 other machine (the client) into a Linux box - would that
 help ?
 
   I was hoping to do TCP-port forwarding using an ssh/sshd
 over a USB port. (Essentially I was hoping to get ssh/sshd
 to open the USB as a tty - I guess.)
 
   Any ideas on how could I port-forward over USB (Even if
 without SSH) ?

I have never heard of anyone implementing TCP/IP directly over USB, I'm
not even sure it's possible -- certainly not with Cygwin.  I don't even
think you can connect two USB hosts directly like that because it's a
master-slave kind of protocol.

The closest you will come would be two USB ethernet adapters and a
crossover cable.  But if you don't have administrator rights on one
machine I doubt you'll be able to bring up another interface.

If you just want to transfer stuff, go down to Office Depot or whatever
and get one of those PC to PC backup apps.  They let you move files
between PCs using serial, parallel, or USB (with adaptor.)

However, all of this discussion (except for ssh port forwarding) is very
much off topic for this list.

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: man rxvt

2004-03-10 Thread Frédéric L. W. Meunier
On Thu, 11 Mar 2004 [EMAIL PROTECTED] wrote:

 All responses to man present properly to screen as far as I
 can tell with the exception of man rxvt which contains a lot
 of explicit code of the style .YODLTAGSTART roffcmd ...
 .YODLTAGEND.

True. The man page is messed up. If the maintainer used CVS, he
needs Yodl to generate it, what also raiser another issue.
Since Yodl isn't part of Cygwin, one can't generate it from the
source package.

BTW, this is just to report that I noticed there are 2 empties
directories in the binary package, namely /usr/include and
/usr/lib, and rxvt-2.7.10.README is installed in
/usr/doc/Cygwin, not /usr/share/doc/Cygwin. The same for the
man page, which should go in /usr/share/man/man1.

And the source package includes autom4te.cache.

-- 
http://www.pervalidus.net/contact.html

--
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: Some help with [re-]installation please

2004-03-10 Thread Brian Ford
Since none of this is really specific to Cygwin/X, I've redirected this
thread to the main cygwin list.

I'll take a stab at a few of these, but there are parts I am not
sure of either.

On Wed, 10 Mar 2004, Chris Green wrote:

 I had a disk disaster over the week-end, a disk 'optimiser' made my
 160Gb main drive very optimal by wiping it completely.  I was fairly
 well backed up etc. but it takes a while to get everything back to
 normality.

Yep.  My 160Gb main drive in a brand new Dell box died in less than a
month.  I had just got the box up and configured, but I had no backups yet
:(.  So, I sympathsize.

 I found re-installing cygwin and cygwin/X a bit confusing so would
 appreciate some comments and help.

 I had all the ftp'ed files left from installing cygwin previously
 sitting in a directory on a networded drive, could I have used these
 to re-install cygwin rather than downloading everything again?  If so,
 how does one do it?

Yes.  Choose Install from Local Directory instead of Install from
Internet, and point setup there.  Keep in mind, however, you would have
missed out on all the new and exciting updates :).

 There are a number of different directories, one for each FTP site I've
 used.

This is the part I am not sure how to handle.

 As it was I chose an FTP site (the last one I had used I think) and
 re-downloaded from there, or did I?  If I accept defaults does it just
 download only the files which have been updated and install the rest
 from the previously downloaded files on disk.

I think it uses the Local Package Directory that it prompted you for as
a cache.  So, I think the answer is yes.

 I really find the window where you select what to download, etc.
 *very* confusing, some of the wording is very odd.  Two examples from
 the User's Guide which I find difficult to understand are:-

 You can change setup.exe's view style, which is helpful if you know
 the name of a package you want to install but not which category it is
 in. Click on the View button and it will rotate between Category (the
 default), Full (all packages), and Partial (only packages to be
 upgraded). If you are familiar with Unix, you will probably want to at
 east glance through the Full listing for your favorite tools.

 So what does 'Partial' mean?  I can see that Category means all
 packages sorted into types, Full means all in alphabetical order but
 what does Partial mean?  Does it mean only display packages that I've
 got already?

I found it confusing at first too :).

No, it is more of a view of what is to come ie. the packages that you or
it have selected to upgrade/install.  Does that help?

 ... and the second (and more confusing for me) bit is:-

 Once you have an existing Cygwin installation, the setup.exe chooser
 is also used to manage your Cygwin installation. Information on
 installed packages is kept in the /etc/setup/ directory of your Cygwin
 installation; if setup.exe cannot find this directory it will act just
 like you had no Cygwin installation. If setup.exe finds a newer
 version of an installed package available, it will automatically mark
 it to be upgraded. To Uninstall, Reinstall, or get the Source for an
 existing package, click on Keep to toggle it. Also, to avoid the need
 to reboot after upgrading, make sure to close all Cygwin windows and
 stop all Cygwin processes before setup.exe begins to install the
 upgraded package.

 What on earth does To Uninstall, Reinstall, or get the Source for an
 existing package, click on Keep to toggle it., mean???

Did you try it?  Clicking on Keep transitions it to Uninstall, Reinstall,
Source, etc.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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: Can I use the library of cygwin such as GSL in Visual C++ in Windows directly?

2004-03-10 Thread Christopher Faylor
On Wed, Mar 10, 2004 at 08:09:36PM +, bonjour online wrote:
Now I want to use GSL library of Cygwin in Visual C++ in Windows
directly.  Is there any method to do it?  Thank you very much.

Please use the main cygwin mailing list for these type of questions.

I've redirected this email there.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

--
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: zip-2.3-6

2004-03-10 Thread cwilson
Zip is an open-source, command-line alternative to other zip-format 
archives such as WinZip, etc.  zip-2.3 is the latest release from 
Info-Zip, http://www.info-zip.org/pub/infozip/Zip.html.

CHANGES:

* now with encryption support, persuant to
  http://cygwin.com/ml/cygwin-apps/2004-02/msg00318.html
This adds the new options '-e' (encrypt) and '-P password' (if you're 
stupid enough to specify an encryption password on a command line, where 
it will show up in the process database...)

Note that cygwin's 'unzip' has always had DEcryption support.

--
Charles Wilson
zip volunteer maintainer for cygwin
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.
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:
[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.