Re: sshd_conf and local groups

2006-01-01 Thread René Berber
Wes S wrote:
[snip]
> Just for grins, I added wess to the group ssh_allow and tried logging 
> in before / after uncommenting AllowGroups.  Can not log in when 
> AllowGroups is uncommented.

When you say "I added wess to the group ssh_allow" you mean in Windows? in
/etc/groups? in both?

Have you tried the option "AllowUsers"?
-- 
René Berber



--
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: sshd_conf and local groups

2006-01-01 Thread Wes S
On 1 Jan 2006 at 2:07, René Berber wrote:

> Wes S wrote:
> [snip]
> > Just for grins, I added wess to the group ssh_allow and tried logging 
> > in before / after uncommenting AllowGroups.  Can not log in when 
> > AllowGroups is uncommented.
> 
> When you say "I added wess to the group ssh_allow" you mean in Windows? in
> /etc/groups? in both?

Both.

ssh_allow is in /etc/groups 
wess is in local groups (windows) 
> 
> Have you tried the option "AllowUsers"?

No, but in the morning I will try it since AllowGroups is bombing on 
me.  

Thanks,

Wes S
 


--
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: 1.5.18-1: Crash launching COMMAND.COM (W98)

2006-01-01 Thread Ingo Brueckl
Christopher Faylor writes:

> as would some indication of what you mean by "crash", i.e., maybe
> even running this under gdb to find out precisely where the "crash" is
> happening.

This dialog appears:

"This program has performed an illegal operation and will be shut down."

Confirming the dialog results in another one. There is no end to this cycle.

Ctrl-Alt-Delete is unresponsive at this time, though Windows continues to
function. Any attempt to shutdown Windows will hang.

The attempt to close the shell will hang that window.

Ingo

PS: Seems to be still the same problem Sean Gugler reported on 03 Sep 2005
which has - partly - been fixed with the 20050905 snapshot:

* spawn.cc (av::fixup): Do win16 detection for .com files.  Make sure
  that buffer has been unmapped in all cases.


--
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: 1.5.18-1: Crash launching COMMAND.COM (W98)

2006-01-01 Thread Ingo Brueckl
Christopher Faylor writes:

> cygcheck output would help.

cygcheck -s crashes itself (but only with option -s, other options work):

"This program has performed an illegal operation and will be shut down."

Details>>:

CYGCHECK caused an invalid page fault
in module KERNEL32.DLL at 0167:bff7b992.
Registers:
EAX=0020 CS=0167 EIP=bff7b992 EFLGS=00010202
EBX=0073a950 SS=016f ESP=0073a8d0 EBP=0073a918
ECX=7803b670 DS=016f ESI=0020 FS=21df
EDX=bffc9490 ES=016f EDI=0073a950 GS=
Bytes at CS:EIP:
80 3e 04 74 0f 33 c0 50 50 50 68 05 00 00 c0 e8
Stack dump:
 78010504 0020 78023542    0073a950 
0073a950  00871c70  00871bb0 0073a700 0074ff68 7800db11

Ingo


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



http://www.dll-files.com offers cygwin1.dll, no sources

2006-01-01 Thread Ville Herva
http://www.dll-files.com/dllindex/index-c.shtml

The same old story, if anybody's interested.

Tried to email them via the contact form - haven't heard back.


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



gcc maintainer, 'man gcc' minor error

2006-01-01 Thread Hannu E K Nevalainen
$ man gcc
/[EMAIL PROTECTED]

Three hits exist in

$ cygcheck -cd gcc
Cygwin Package Information
Package  Version
gcc  3.4.4-1

e.g:
==8<--
   @anchor{dashMF}

   -MF file
   When used with -M or -MM, specifies a file to write the
dependencies to.  If no -MF
   switch is given the preprocessor sends the rules to the same
place it would have sent
   preprocessed output.

==8<--

/H
--



--
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: http://www.dll-files.com offers cygwin1.dll, no sources

2006-01-01 Thread Václav Haisman
They seem to be offering just unmodified binary. There is imho nothing
wrong with that.

Vaclav Haisman


Ville Herva wrote:
> http://www.dll-files.com/dllindex/index-c.shtml
> 
> The same old story, if anybody's interested.
> 
> Tried to email them via the contact form - haven't heard back.


signature.asc
Description: OpenPGP digital signature


Re: executable = exe + data

2006-01-01 Thread Reini Urban
2006/1/1, Sam Steingold <[EMAIL PROTECTED]>:
> > * Reini Urban <[EMAIL PROTECTED]> [2005-12-30 20:14:23 +0100]:
> > 2005/12/30, Christopher Faylor <[EMAIL PROTECTED]>:
> >> On Fri, Dec 30, 2005 at 12:00:35AM -0500, Sam Steingold wrote:
> >> >any suggestions?
> >>
> >> Isn't this what windows resources are good for?
> >
> > Yes.
> > Sam,
> > please see the Corman Lisp sources, how Roger implemented
> > loading the especially attached LISP ressource (the img) from the exe.
>
> is this windows-specific?

Yes.
The resource functions are only available on windows.
  See e.g. Corman Tools\Corman Lisp 2.01\Libraries\acad\clarx.cpp

But your trick with the magic marker sounds better.
--
Reini Urban


--
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: executable = exe + data

2006-01-01 Thread Sam Steingold
> * Brian Dessent <[EMAIL PROTECTED]> [2005-12-31 15:46:50 -0800]:
>
> Sam Steingold wrote:
>
>> Is it possible?
>> 
>> simply put, it it possible to write something like this:
>> 
>> int main () {
>>   size_t my_length;
>>   
>>   printf("exe size=%lld\n",my_length);
>>   return 0;
>> }
>
> All the methods mentioned so far are essentially hacks working against
> the linker, doing stuff behind its back.  Why not go with the flow?
> Put your data in its own section, and write a linker script to handle
> that section in the desired way.  You can access the address by
> referencing the linker script variables in your source code.  See
> section 3 of the ld manual, particularly 3.5.3.  This should work on
> any platform that uses ld.

the problems with this is that the "data" that is being appended is not
known at link time and appending it may not require C tools (ld/gcc &c).


-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://www.jihadwatch.org/ http://www.mideasttruth.com/ http://pmw.org.il/
http://ffii.org/ http://www.palestinefacts.org/ http://www.dhimmi.com/
Ph.D. stands for "Phony Doctor"  - Isaak Asimov, Ph.D.


--
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: http://www.dll-files.com offers cygwin1.dll, no sources

2006-01-01 Thread Larry Hall (Cygwin)


Reformatted top-post...

Václav Haisman wrote:

Ville Herva wrote:


http://www.dll-files.com/dllindex/index-c.shtml

The same old story, if anybody's interested.

Tried to email them via the contact form - haven't heard back.
They seem to be offering just unmodified binary. There is imho nothing 
wrong with that


Vaclav Haisman




They are distributing the DLL without sources; that's a violation of the GPL.
They could only get an exemption using the Red Hat buy-out license option but
based on dll-files site disclaimer 
I would be very surprised to find out they have such a license.

--
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: executable = exe + data

2006-01-01 Thread Hannu E K Nevalainen
Sam S wrote:
>> * Brian Dessent  [2005-12-31 15:46:50 -0800]:
>> 
>> Sam Steingold wrote:
>> 
>>> Is it possible?
>>> 
>>> simply put, it it possible to write something like this:
>>> 
>>> int main () {
>>>   size_t my_length;
>>>   
>>>   printf("exe size=%lld\n",my_length);
>>>   return 0;
>>> }
>> 
>> All the methods mentioned so far are essentially hacks working
>> against the linker, doing stuff behind its back.  Why not go with
>> the flow? Put your data in its own section, and write a linker
>> script to handle that section in the desired way.  You can access
>> the address by referencing the linker script variables in your
>> source code.  See section 3 of the ld manual, particularly 3.5.3. 
>> This should work on any platform that uses ld.
> 
> the problems with this is that the "data" that is being appended is
> not known at link time and appending it may not require C tools
> (ld/gcc &c). 

Then your options seems to have shrunk to a "launcher" that basicly does

  system("lisp.exe -M lispinit.mem")

Can you elaborate on _why_ the "single executable" is so important?

Having a monolithic application exe is hardly doable in most cases, AFAICS.
Unless you defer from using ANY external resources.

/H
-- 


--
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: executable = exe + data

2006-01-01 Thread Sam Steingold
> * Hannu E K Nevalainen <[EMAIL PROTECTED]> [2006-01-01 19:29:33 +0100]:
>
> Sam S wrote:
>>> * Brian Dessent  [2005-12-31 15:46:50 -0800]:
>>> 
>>> Sam Steingold wrote:
>>> 
 Is it possible?
 
 simply put, it it possible to write something like this:
 
 int main () {
   size_t my_length;
   
   printf("exe size=%lld\n",my_length);
   return 0;
 }
>>> 
>>> All the methods mentioned so far are essentially hacks working
>>> against the linker, doing stuff behind its back.  Why not go with
>>> the flow? Put your data in its own section, and write a linker
>>> script to handle that section in the desired way.  You can access
>>> the address by referencing the linker script variables in your
>>> source code.  See section 3 of the ld manual, particularly 3.5.3. 
>>> This should work on any platform that uses ld.
>> 
>> the problems with this is that the "data" that is being appended is
>> not known at link time and appending it may not require C tools
>> (ld/gcc &c). 
>
> Then your options seems to have shrunk to a "launcher" that basicly does
>
>   system("lisp.exe -M lispinit.mem")

:-)

this is what we have been doing for well over 15 years

> Can you elaborate on _why_ the "single executable" is so important?

It is not important to _me_, but this is a recurring request by lisp
newbies who ask something like "how do I create an executable from my
lisp application, similar to C and C++?"



-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://truepeace.org http://www.mideasttruth.com/ http://www.dhimmi.com/
http://www.openvotingconsortium.org/ http://www.jihadwatch.org/
Garbage In, Gospel Out


--
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: Hope this topic isn't taboo yet

2006-01-01 Thread Brett Serkez
I've not seen any particular difference using Cygwin between
hyper-threaded and non-hyper-threaded CPUs.  I have seen issues with
bash and sshd consuming 100% CPU for periods of time on both, which may
or may not be related to ZoneAlarm.

You can better identify the specific process by starting the task
manager, and looking at the 'Processes' tab.  I usually add the 'CPU
Time' column via 'View -> Select Columns', so I can sort on it and see
which processes are consuming allot of CPU over time and sort on the CPU
column when looking while the problem is occuring to see which process
is consuming allot of CPU in real-time.

On the ZoneLabs message boards I found references to use of tcsh in
place of bash, that seems to work around the problem as follows:

- Run setup and select tcsh from shells

- Modify /etc/passwd and change /bin/bash to /bin/tcsh for all
appropriate users

- Modify c:\cygwin\cygwin.bat and change 'bash --login' to 'tcsh -l'

- Modify individual scripts, as appropriate, and change the she-bang
line to: #!/bin/tcsh.

This is an imperfect solution, but I've seen a noticable performance
improvement as well as elimination of the CPU spikes.

If you also run the secure shell daemon (sshd), before running
ssh-host-config, modify it by locating '-a -D' and change to '-a "-D
-r"' in two places.  Adding the -r, which is applied to the -a which is
why the double quotes are needed, turns off an extra fork/exec that
theoretically makes sshd more secure but also causes the CPU spike.  If
you've already installed sshd as a service, you'll need to stop it and
delete it before making these changes.

It is my intuition that both issues revolve around process creation and
security software examination of these events, looking for viruses and
other threats.

Brett









Brett C. Serkez, Techie



--
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: executable = exe + data

2006-01-01 Thread Hannu E K Nevalainen
Sam Steingold wrote:
Hannu:
>> Then your options seems to have shrunk to a "launcher" that basicly
>> does
>>
>>   system("lisp.exe -M lispinit.mem")
>
> :-)
>
> this is what we have been doing for well over 15 years

... well, time for some progress ;-)

>> Can you elaborate on _why_ the "single executable" is so important?
>
> It is not important to _me_, but this is a recurring request by lisp
> newbies who ask something like "how do I create an executable from my
> lisp application, similar to C and C++?"

 Ahh... Well.
 I wonder, would it not be possible to extract portions of code from
"lisp.exe" above (looking for the "-M" option - assuming you have access to
the source, GPL?), such that the code does what you're asking for - given
some tweaking.
 That combined with the linker object thingies discussed earlier -> Voilá.
Maybe add some "automatic" scripting and you're finally "home".

/H
--



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



libxslt v apache

2006-01-01 Thread Siegfried Heintze
Has anyone used both libxslt and xalan? How might one decide between xalan
and libxslt?

Thanks,
Siegfried

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Gerrit P. Haase
Sent: Friday, December 09, 2005 7:22 PM
To: cygwin@cygwin.com
Subject: [ANNOUNCEMENT] Updated: libxslt-1.1.15-2

Libxslt has been updated to version 1.1.15-2


NEWS

- Update to latest upstream release
- Included bugfix for bug #316861 (problems parsing DocBook FO
  stylesheet): http://bugzilla.gnome.org/show_bug.cgi?id=316861
  

Please read the news since the previous Cygwin release (1.1.14) here:
http://xmlsoft.org/XSLT/news.html


DESCRIPTION
===
Libxslt is the XSLT C library developed for the Gnome project. XSLT
itself is a an XML language to define transformation for XML. Libxslt
is based on libxml2 the XML C library developed for the Gnome project.
It also implements most of the EXSLT set of processor-portable
extensions functions and some of Saxon's evaluate and expressions
extensions.


UPDATE
==
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.  Save it and run setup, answer the questions and pick up
'libxslt' from the 'Libs' category, if you install it for the first
time, click on the 'skip' field next to 'libxslt' until '1.1.15-2' is
displayed.


DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update, please choose the one nearest to
you: http://cygwin.com/mirrors.html


QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to 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 this URL.


Gerrit P. Haase
-- 
=^..^=


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



cygwin NFS File servers on windows?

2006-01-01 Thread Siegfried Heintze
I was looking for a windows based nfs file server. I googled and found
http://opensource.franz.com/nfs/. Does anyone have any experience with this
or other opensource nfs file servers? There are others for only $40.

Does cygwin include  nfs file server? I don't remember ever seeing one. It
seems that this would be a logical piece of software to be included with
cygwin.

Thanks,
Siegfried



--
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 NFS File servers on windows?

2006-01-01 Thread Christopher Faylor
On Sun, Jan 01, 2006 at 04:55:38PM -0700, Siegfried Heintze wrote:
>I was looking for a windows based nfs file server. I googled and found
>http://opensource.franz.com/nfs/. Does anyone have any experience with this
>or other opensource nfs file servers? There are others for only $40.
>
>Does cygwin include  nfs file server? I don't remember ever seeing one. It
>seems that this would be a logical piece of software to be included with
>cygwin.

If cygwin did have an nfs file server then it would be (and is) listed
at http://cygwin.com/packages/ .

If cygwin did not have an nfs file server then discussion of non-cygwin
nfs file servers would really not be fodder for this mailing list.

cgf


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



Fwd: xine-ui compile error

2006-01-01 Thread Vijay Kiran Kamuju
Sorry as  could not send to cygwin-apps, i am forwarding here.

-- Forwarded message --
From: Vijay Kiran Kamuju <[EMAIL PROTECTED]>
Date: Jan 2, 2006 12:54 PM
Subject: xine-ui compile error
To: cygwin-xfree@cygwin.com, cygwin-apps@cygwin.com


I am getiting the following error when i try to compile xine-ui 0.99.4 under
cygwin 1.18-1 and X1-xwin 6.8.2.0-4

What other info should i send?

gcc -I/usr/X11R6/include -I/usr/local/bin/../include
-I../../src/xitk/xine-toolkit
  -DNDEBUG -Wall -D_FILE_OFFSET_BITS=64 -mtune=pentiumpro -O3 -pipe
-fomit-frame-pointer
  -falign-functions=4 -falign-loops=4 -falign-jumps=4
-mpreferred-stack-boundary=2
  -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math
  -funroll-loops -finline-functions -Wpointer-arith -Wnested-externs
-Wcast-align
  -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -o xine.exe
actions.o
  config_wrapper.o control.o download.o errors.o event.o event_sender.o
file_browser.o
  frequencies.o help.o kbindings.o lang.o lirc.o main.o mediamark.o menus.o
mrl_browser.o
  network.o osd.o panel.o playlist.o post.o session.o setup.o skins.o
snapshot.o
  splash.o stdctl.o stream_infos.o tvout.o tvset.o videowin.o viewlog.o
  -L/usr/lib -L/usr/local/bin/../lib ../../src/common/.libs/libcommon.a
  -L/usr/X11R6/lib ../../src/xitk/xine-toolkit/.libs/libxitk.a
/usr/X11R6/lib/libXft.dll.a
  -L/opt/cxclient/usr/X11R6/lib /usr/lib/libfontconfig.dll.a
/usr/lib/libfreetype.dll.a
  /usr/lib/libexpat.dll.a -lXrender ../../src/xitk/oxine/.libs/liboxine.a -lSM
-lICE
  -lpng /usr/local/lib/libxine.a /usr/lib/libintl.dll.a -lkernel32 -lz
  -lpthread /usr/lib/libiconv.dll.a -lXext -lXtst -lX11 -Wl,--rpath
  -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/X11R6/lib
session.o:session.c:(.text+0x16c7): undefined reference to `_getsubopt'
session.o:session.c:(.text+0x16fa): undefined reference to `_getsubopt'
./../src/xitk/oxine/.libs/liboxine.a(mediamarks.o):mediamarks.c:(.text+0xc40):
undefined reference to `_getline'
./../src/xitk/oxine/.libs/liboxine.a(mediamarks.o):mediamarks.c:(.text+0xc60):
undefined reference to `_getline'
collect2: ld returned 1 exit status
make[4]: *** [xine.exe] Error 1
make[4]: Leaving directory


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