[ITP] editrights

2003-09-23 Thread Chris Rodgers
editrights is a small utility to allow Windows NT user rights and privileges
to be adjusted from the command line. You may download a copy from
http://rodgers.org.uk/editrights/

This utility was discussed on [EMAIL PROTECTED] under the subject Re:
Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003). The
changes suggested have been incorporated.

[setup.hint]
sdesc: Alter user rights and privileges
category: Base
requires: cygwin

[editrights-1.01-1-src.tar.bz2]
editrights-1.01-1/
editrights-1.01-1/editrights-1.01-1.README
editrights-1.01-1/LICENCE
editrights-1.01-1/main.c
editrights-1.01-1/Makefile
editrights-1.01-1/printntstatus.c

[editrights-1.01-1.tar.bz2]
usr/
usr/bin/
usr/bin/editrights.exe
usr/doc/
usr/doc/Cygwin/
usr/doc/Cygwin/editrights-1.01-1.README

Yours

Chris Rodgers
http://rodgers.org.uk/



Updated: libxmls-2.5.11-1 libxslt-1.0.33-1

2003-09-23 Thread Gerrit P. Haase
Hallo Elfyn,

I take libxml2  libxslt and will maintain these two packages.
I modified the setup.hint files slightly.

Threads support is disabled in this release, needs further debugging.

Please upload:

http://anfaenger.de/cygwin-1.5/libxml2/libxml2-2.5.11-1-src.tar.bz2
http://anfaenger.de/cygwin-1.5/libxml2/libxml2-2.5.11-1.tar.bz2
http://anfaenger.de/cygwin-1.5/libxml2/setup.hint
# LibXML2 package
sdesc: The XML C parser and toolkit.
ldesc: Libxml2 is the XML C parser and toolkit developed for the
Gnome project (but usable outside of the Gnome platform), it is free
software available under the MIT License. XML itself is a
metalanguage to design markup languages, i.e. text language where
semantic and structure are added to the content using extra 'markup'
information enclosed between angle brackets. HTML is the most well-
known markup language. Though the library is written in C a variety
of language bindings make it available in other environments.
category: Doc Libs Text Devel Interpreters
requires: cygwin

http://anfaenger.de/cygwin-1.5/libxslt/libxslt-1.0.33-1-src.tar.bz2
http://anfaenger.de/cygwin-1.5/libxslt/libxslt-1.0.33-1.tar.bz2
http://anfaenger.de/cygwin-1.5/libxslt/setup.hint
sdesc: The XSLT C library.
ldesc: 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.
category: Doc Libs Text Devel Interpreters
requires: cygwin libxml2


Gerrit
-- 
=^..^=



Xaw3d rebuild

2003-09-23 Thread Harold L Hunt II
I am trying to rebuild Xaw3d and I keep getting stuck because something 
is wrong with LIBRARY_VERSION or something related to it.  See log 
snippet below.

Basically the lib keeps getting created as libXaw3d-.dll.a and the DLL 
as cygXaw3d-.dll because the version is blank.  I have tried everything 
from hard-coding SoRev and SOXAWREV in xc/lib/Xaw3d/Imakefile, to 
passing LIBRARY_VERSION to make Makefile, etc.

I do not understand where sed is pulling the version from.

Please help me to figure out what must be done in order to get Xaw3d 
compiling into the correct library name.

This is the last thing holding me up from releasing xfig and transfix as 
Cygwin setup.exe packages... so please help.

Harold



rm -f Xaw3d.def
cpp -traditional -DHAS_THREADS -DHAS_SHM -D__i386__ 
-DWIN32_LEAN_AND_MEAN -DX_LO
CALE-D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE 
-D_POSIX
_C_SOURCE=199309L -D_BSD_SOURCE 
-D_SVID_SOURCE -
D_GNU_SOURCE   -DLIBRARY_VERSION= Xaw3d-def.cpp | sed -e '/^# 
*[0-9][0-9]*  *.
*$/d' -e '/^XCOMM$/s//#/' -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' Xaw3d.def
rm -f libXaw3d-.dll.a
rm -f cygXaw3d-.dll
gcc -shared -Wl,--out-implib=libXaw3d-.dll.a -Wl,--enable-auto-import 
--def Xaw3
d.def -Wl,--exclude-libs,ALL -o cygXaw3d-.dll AllWidgets.o AsciiSink.o 
AsciiSrc.
o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o 
Layout.o List.o
MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o 
Simple.o
 SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o  StripChart.o 
Text.o Text
Sink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Tip.o 
Toggle.o
 Tree.o Vendor.o Viewport.o Xaw3dP.o XawInit.o laygram.o laylex.o 
MultiSrc.o
 MultiSink.o XawIm.o XawI18n.o  -L../../exports/lib  -lXmu -lXt -lSM 
-lICE -lXex
t -lX11 -lXt -lSM -lICE -lXpm -lXext -lX11
Creating library file: libXaw3d-.dll.a
rm -f ../../exports/lib/libXaw3d-.dll.a
cd ../../exports/lib  ln -s ../../lib/Xaw3d/libXaw3d-.dll.a .
rm -f ../../exports/lib/libXaw3d.a
cd ../../exports/lib  ln -s libXaw3d-.dll.a libXaw3d.a
rm -f ../../exports/bin/cygXaw3d-.dll
cd ../../exports/bin  cp ../../lib/Xaw3d/cygXaw3d-.dll .



Re: Xaw3d rebuild

2003-09-23 Thread Harold L Hunt II
At the risk of looking like a dork for replying to myself... the 
solution I found was to add the following to xc/config/cf/X11.tmpl.

Harold

#ifndef SharedLibXaw3d
#define SharedLibXaw3d HasSharedLibraries
#endif
#ifndef NormalLibXaw3d
#define NormalLibXaw3d (!SharedLibXaw3d | ForceNormalLib)
#endif
#ifndef DebugLibXaw3d
#define DebugLibXaw3d   NO  /* debugged widget library */
#endif
#ifndef ProfileLibXaw3d
#define ProfileLibXaw3d NO  /* profiled widget library */
#endif
   AWIDGETSRC = $(LIBSRC)/Xaw3d
#if SharedLibXaw3d
#ifndef SharedXaw3dRev
#define SharedXaw3dRev 1.5
#endif
SharedDSLibReferences(XAW3D,Xaw3d,$(AWIDGETSRC),SOXAW3DREV,SharedXaw3dRev)
#else
ProjectUnsharedLibReferences(XAW3D,Xaw3d,$(AWIDGETSRC),XBuildLibDir)
#endif


Harold L Hunt II wrote:
I am trying to rebuild Xaw3d and I keep getting stuck because something 
is wrong with LIBRARY_VERSION or something related to it.  See log 
snippet below.

Basically the lib keeps getting created as libXaw3d-.dll.a and the DLL 
as cygXaw3d-.dll because the version is blank.  I have tried everything 
from hard-coding SoRev and SOXAWREV in xc/lib/Xaw3d/Imakefile, to 
passing LIBRARY_VERSION to make Makefile, etc.

I do not understand where sed is pulling the version from.

Please help me to figure out what must be done in order to get Xaw3d 
compiling into the correct library name.

This is the last thing holding me up from releasing xfig and transfix as 
Cygwin setup.exe packages... so please help.

Harold



rm -f Xaw3d.def
cpp -traditional -DHAS_THREADS -DHAS_SHM -D__i386__ 
-DWIN32_LEAN_AND_MEAN -DX_LO
CALE-D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE 
-D_POSIX
_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -
D_GNU_SOURCE   -DLIBRARY_VERSION= Xaw3d-def.cpp | sed -e '/^# 
*[0-9][0-9]*  *.
*$/d' -e '/^XCOMM$/s//#/' -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' Xaw3d.def
rm -f libXaw3d-.dll.a
rm -f cygXaw3d-.dll
gcc -shared -Wl,--out-implib=libXaw3d-.dll.a -Wl,--enable-auto-import 
--def Xaw3
d.def -Wl,--exclude-libs,ALL -o cygXaw3d-.dll AllWidgets.o AsciiSink.o 
AsciiSrc.
o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o 
Layout.o List.o
MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o 
Simple.o
 SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o  StripChart.o 
Text.o Text
Sink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Tip.o 
Toggle.o
 Tree.o Vendor.o Viewport.o Xaw3dP.o XawInit.o laygram.o laylex.o 
MultiSrc.o
 MultiSink.o XawIm.o XawI18n.o  -L../../exports/lib  -lXmu -lXt -lSM 
-lICE -lXex
t -lX11 -lXt -lSM -lICE -lXpm -lXext -lX11
Creating library file: libXaw3d-.dll.a
rm -f ../../exports/lib/libXaw3d-.dll.a
cd ../../exports/lib  ln -s ../../lib/Xaw3d/libXaw3d-.dll.a .
rm -f ../../exports/lib/libXaw3d.a
cd ../../exports/lib  ln -s libXaw3d-.dll.a libXaw3d.a
rm -f ../../exports/bin/cygXaw3d-.dll
cd ../../exports/bin  cp ../../lib/Xaw3d/cygXaw3d-.dll .




RE: Xwin.exe with HP

2003-09-23 Thread SANTA Giovanni
Hi
I use Sun Solaris xdm and it's work fine.
At login screen Xwin is remap wrong
I have not found any .Xmodmap in HP-UX
Thanks
Giovanni

-Original Message-
From: Alexander Gottwald [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 22, 2003 3:21 PM
To: '[EMAIL PROTECTED]'
Subject: Re: Xwin.exe with HP


On Mon, 22 Sep 2003, SANTA Giovanni wrote:

 I use Xwin in XDMCP mode, I have configured the italian keymap in 
 XF86Config file but I have some problem to connect HP-UX server, the 
 keyboard is remapped wrong.

Maybe you still have a .Xmodmap in your home directory on the HP-UX server
or the xdm on the HP-UX server does remap the layout.

Is the layout still correct in the login screen?

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


RE: Xwin.exe with HP

2003-09-23 Thread Alexander Gottwald
On Tue, 23 Sep 2003, SANTA Giovanni wrote:

 Hi
 I use Sun Solaris xdm and it's work fine.
 At login screen Xwin is remap wrong
 I have not found any .Xmodmap in HP-UX

I don't have access to a HP-UX box with xdmcp enabled, so I can only
provide you some hints where to look for.

In the xdm configuration there is normally a file called Xsetup.  This 
file contains commands which are executed before presenting the login
screen. Maybe there are some commands too which reset the keyboard.

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


Re: Japanese keyboard auto-detection

2003-09-23 Thread Alexander Gottwald
On Tue, 23 Sep 2003, Kensuke Matsuzaki wrote:

 As far as I tested, when I press Eisu_toggle key, I receive
 WM_KEYDOWN VK_DBE_ALPHANUMRIC. But I never receive WM_KEYUP
 until I press Katakana key, even if I release Eisu_toggle key.
 Also if I release Katakana key, I never receive WM_KEYUP.
 
 I don't know why, and I can't find any documents in MSDN.
 
 I inserted following workaround into end of WM_KEYDOWN handler
 if (iScanCode == KEY_CapsLock)
   winSendKeyEvent (KEY_CapsLock, FALSE);
 then CapsLock work well. But perhaps it is not smart.
 
 Does anyone know good solution?

I don't know the japanese keyboard system and can't test it.
If the windows input driver does the same stupid remapping 
as with alt-gr, i think we should include this as a workaround.
But I'm not sure if the patch will change the pc105 handling 
as well. This will require further investigation.

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


Re: 3 files missing from the last xfree-bin distribution

2003-09-23 Thread Dr. Volker Zell
 Harold == Harold L Hunt, Harold writes:

Harold Are you using them for anything?

Actually not, just for completeness.

Harold Harold

Ciao
  Volker



remote connection to a unix machine

2003-09-23 Thread Natalie Udovidchik
my question is such.  i am trying to connect to a unix
machine remotely though cygwin.  how should i do that?
i am very new to this.

another concern is that some of the commands are not
working, such as ls, and emacs/xemacs, and others.
why could that be such?

thank you,
Natalie

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


Re: remote connection to a unix machine

2003-09-23 Thread Alexander Gottwald
On Tue, 23 Sep 2003, Natalie Udovidchik wrote:

 my question is such.  i am trying to connect to a unix
 machine remotely though cygwin.  how should i do that?
 i am very new to this.

http://xfree86.cygwin.com/docs/ug/using-remote-session.html
http://xfree86.cygwin.com/docs/ug/using-remote-apps.html

 another concern is that some of the commands are not
 working, such as ls, and emacs/xemacs, and others.
 why could that be such?

Maybe they are not installed. What does are not working mean.
Are they crashing or not starting or freezing?

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


Updated: Xaw3d-1.5E-1

2003-09-23 Thread Harold L Hunt II
The Xaw3d-1.5E-1 package has been updated in the Cygwin
distribution.
--
Harold Hunt
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 'XFree86-xserv' from the 'XFree86' category.  You may need to
click the Full button if it doesn't show up.
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.
In the US, ftp://archive.progeny.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please  send questions or comments to the Cygwin/XFree86 mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question the Cygwin/XFree86 mailing
list is the appropriate place.






New package: xfig-base-3.2.4-1

2003-09-23 Thread Harold L Hunt II
The xfig-base-3.2.4-1 package has been added to the Cygwin
distribution.
Description:

Xfig is a menu-driven tool that allows the user to draw and
manipulate objects interactively in an X window.  The resulting
pictures can be saved, printed on postscript printers or converted to
a variety of other formats (e.g. to allow inclusion in LaTeX
documents).
--
Harold Hunt
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 'XFree86-xserv' from the 'XFree86' category.  You may need to
click the Full button if it doesn't show up.
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.
In the US, ftp://archive.progeny.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please  send questions or comments to the Cygwin/XFree86 mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question the Cygwin/XFree86 mailing
list is the appropriate place.














New package: xfig-bin-3.2.4-1

2003-09-23 Thread Harold L Hunt II
The xfig-bin-3.2.4-1 package has been added to the Cygwin
distribution.
Description:

Xfig executables.

--
Harold Hunt
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 'XFree86-xserv' from the 'XFree86' category.  You may need to
click the Full button if it doesn't show up.
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.
In the US, ftp://archive.progeny.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please  send questions or comments to the Cygwin/XFree86 mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question the Cygwin/XFree86 mailing
list is the appropriate place.
















New package: xfig-doc-3.2.4-1

2003-09-23 Thread Harold L Hunt II
The xfig-doc-3.2.4-1 package has been added to the Cygwin
distribution.
Description:

Xfig documentation in PDF and HTML format.

--
Harold Hunt
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 'XFree86-xserv' from the 'XFree86' category.  You may need to
click the Full button if it doesn't show up.
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.
In the US, ftp://archive.progeny.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please  send questions or comments to the Cygwin/XFree86 mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question the Cygwin/XFree86 mailing
list is the appropriate place.















New on sourceware: xfig-etc-3.2.4-1

2003-09-23 Thread Harold L Hunt II
The xfig-etc-3.2.4-1 package has been added to the Cygwin
distribution.
Description:

Xfig configuration files.

--
Harold Hunt
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 'XFree86-xserv' from the 'XFree86' category.  You may need to
click the Full button if it doesn't show up.
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.
In the US, ftp://archive.progeny.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please  send questions or comments to the Cygwin/XFree86 mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question the Cygwin/XFree86 mailing
list is the appropriate place.
















New package: xfig-lib-3.2.4-1

2003-09-23 Thread Harold L Hunt II
The xfig-lib-3.2.4-1 package has been added to the Cygwin
distribution.
Description:

Xfig drawing symbol libraries.

--
Harold Hunt
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 'XFree86-xserv' from the 'XFree86' category.  You may need to
click the Full button if it doesn't show up.
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.
In the US, ftp://archive.progeny.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please  send questions or comments to the Cygwin/XFree86 mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question the Cygwin/XFree86 mailing
list is the appropriate place.
















New package: xfig-man-3.2.4-1

2003-09-23 Thread Harold L Hunt II
The xfig-man-3.2.4-1 package has been added to the Cygwin
distribution.
Description:

Xfig man page.

--
Harold Hunt
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 'XFree86-xserv' from the 'XFree86' category.  You may need to
click the Full button if it doesn't show up.
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.
In the US, ftp://archive.progeny.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please  send questions or comments to the Cygwin/XFree86 mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question the Cygwin/XFree86 mailing
list is the appropriate place.
















[Fwd: Send loss of focus notification when changing focus to a Windows app?]

2003-09-23 Thread Jean-Claude Gervais
Is it possible to tell X that it has lost focus when a Windows app gains
focus?

---BeginMessage---
Hi,

I'm runnng the WindowMaker that comes with Cygwin XFree with the
following options:

XWin -nowinkill -multiplemonitors -nodecoraion -rootless -clipboard

And I've noticed one small detail:

When changing from window to window on X, WindowMaker sems to be able to
track who is active who is inactive OK.

But when I switch away from an X app to say, Notepad, WindoMaker still
seems to think that the last X window that was active is STILL active.

Windowmaker is correct in one sense, of course, but more importantly,
would it be posible to send a focus-loss notification to WindowMaker
when a Windows app gains focus?

I don't know how X would handle being told that no one has the focus...

Or failing that, maybe it should be told that the hidden root window has
the focus, I don't know.

The problem is that the way it stands now, when you glance at your
screen(s) you have trouble knowing where the input will go if you type
something.

Will what I type go to what seems to be the currently active X window,
or will it go to a Windows app?

By looking for the active window, it is hard know.

Is there a way to fix this?

Any ideas or solutions appreciated.


---End Message---


Re: Updated: Xaw3d-1.5E-1

2003-09-23 Thread Dr. Volker Zell
 Harold == Harold L Hunt, Harold writes:

Harold The Xaw3d-1.5E-1 package has been updated in the Cygwin
Harold distribution.

The last version was called XFree86-Xaw3d so setup doesn't uninstall the last
version. So a couple of files are getting overwritten by this version but some
old files persist.

Harold Harold Hunt

Ciao
  Volker



Re: New package: xfig-bin-3.2.4-1

2003-09-23 Thread Dr. Volker Zell
 Harold == Harold L Hunt, Harold writes:

Harold The xfig-bin-3.2.4-1 package has been added to the Cygwin
Harold distribution.

Why isn't it using Xaw3d ?

Ciao
  Volker



Possible memory leak problem

2003-09-23 Thread Zelkovitz, Sanford J (ZERO CHAOS)
I seem to be having a problem, which resembles very closely to a memory leak
situation. I'm running Cygwin/Xfree on a Pentium 4 laptop with 512 Megs of
memory under Windows XP Professional. After about 4 hours of usage, the
computer runs so slowly that the only recourse that I have is to reboot.
After the reboot, all is well again for at least another 3 to 4 hours. 

I am running all the latest versions of the Cygwin and Xfree code. As a
test, I used another X-Windows emulator to see if some other code was
causing the problem and the slow down problem did not manifest itself. 

Has anyone else encountered this problem and, if so, what was the fix?

My typical usage is 4 to 6 remote sessions on Sun Solaris systems.





Re: New package: xfig-bin-3.2.4-1

2003-09-23 Thread Harold L Hunt II
It isn't?  It sure wouldn't compile without it...

Could you be more specific about what you are seeing?

Harold

Dr. Volker Zell wrote:

Harold == Harold L Hunt, Harold writes:


Harold The xfig-bin-3.2.4-1 package has been added to the Cygwin
Harold distribution.
Why isn't it using Xaw3d ?

Ciao
  Volker



Re: Possible memory leak problem

2003-09-23 Thread Harold L Hunt II
I have not seen such a memory leak.  We would need more specific 
information in order to help you debug it.

One thing --- could you check the size of /tmp/XWin.log after an hour or 
so of running?  If it is large (i.e. greater than 10 KiB), then that is 
likely the problem; tell us which message is repeating in the log and we 
will fix it or disable it.

Other than that, I don't know what you could do to trace this down.

Harold

Zelkovitz, Sanford J (ZERO CHAOS) wrote:

I seem to be having a problem, which resembles very closely to a memory leak
situation. I'm running Cygwin/Xfree on a Pentium 4 laptop with 512 Megs of
memory under Windows XP Professional. After about 4 hours of usage, the
computer runs so slowly that the only recourse that I have is to reboot.
After the reboot, all is well again for at least another 3 to 4 hours. 

I am running all the latest versions of the Cygwin and Xfree code. As a
test, I used another X-Windows emulator to see if some other code was
causing the problem and the slow down problem did not manifest itself. 

Has anyone else encountered this problem and, if so, what was the fix?

My typical usage is 4 to 6 remote sessions on Sun Solaris systems.






Re: [Cygwin/XFree86] Duplicate keystrokes in X Server

2003-09-23 Thread Lev Bishop
Thanks, that's very interesting. I found that the suggested xset r off 
worked well for me, by completely disabling the X autorepeat stuff, since 
there's already windows autorepeat. But it's good to get to the bottom of 
these subtle race-condition type bugs.

Lev



How to access html and pdf help from xfig

2003-09-23 Thread Billinghurst, David (CALCRTS)
Thanks for xfig.  

The following changes will enable access to html and pdf help, 
using internet explorer and win32 acrobat reader.  The path to 
the windows applications will need to match your local setup.

1. Create a helper script /usr/local/bin/acroread

#!/bin/sh
ACROREAD=/cygdrive/c/Program Files/Adobe/Acrobat/Reader/AcroRd32.exe
exec ${ACROREAD} `cygpath -w $1`

2. Create a helper script /usr/local/bin/iexplore

#!/bin/sh
IEXPLORE=/cygdrive/c/Program Files/Internet Explorer/iexplore.exe
exec ${IEXPLORE} `cygpath -w $1`

3.  Change /etc/X11/app-defaults/Fig

$ diff -u Fig.orig Fig
--- Fig.orig2003-09-24 10:44:13.507721200 +1000
+++ Fig 2003-09-24 10:50:57.411386200 +1000
@@ -20,7 +20,7 @@
 !  This is for viewing the xfig html reference.
 ! For netscape, this command will open the help pages in a running netscape,
 ! or start a new netscape if one isn't already running
-Fig.browser:   netscape -remote 'openFile(%f)' || netscape %f
+Fig.browser:   iexplore %f

 ! pdfviewer - put your favorite pdf viewer here.
 !  This is for viewing the xfig how-to guide and man pages



There may be a better may, but this works work me.


Re: New package: xfig-bin-3.2.4-1

2003-09-23 Thread Dr. Volker Zell
 Harold == Harold L Hunt, Harold writes:

Harold It isn't?  It sure wouldn't compile without it...
Harold Could you be more specific about what you are seeing?

An older version of mine used Xaw3d and had 3d buttons, but this version doesn't.
Also a cygcheck shows no dependency on cygXaw3d-1.dll

03:33 AM [570] cygcheck xfig
Found: D:\usr\X11R6\bin\xfig.exe
D:/usr/X11R6/bin/xfig.exe
  D:\usr\X11R6\bin\cygICE-6.dll
D:\bin\cygwin1.dll
  C:\WINNT\system32\KERNEL32.dll
C:\WINNT\system32\NTDLL.DLL
  D:\usr\X11R6\bin\cygSM-6.dll
  D:\usr\X11R6\bin\cygX11-6.dll
D:\bin\cygcygipc-2.dll
  D:\usr\X11R6\bin\cygXext-6.dll
  D:\usr\X11R6\bin\cygXi-6.dll
  D:\usr\X11R6\bin\cygXpm-4.dll
  D:\bin\cygjpeg-62.dll
  D:\bin\cygpng12.dll
D:\bin\cygz.dll

By the way I tried compiling it with the Xaw3d shared lib that you provided.
It compiles but when running it I get:

[EMAIL PROTECTED] /usr/local/src/xfig.3.2.4
03:40 AM [575] cygcheck ./xfig.exe 
.\xfig.exe
  D:\usr\X11R6\bin\cygICE-6.dll
D:\bin\cygwin1.dll
  C:\WINNT\system32\KERNEL32.dll
C:\WINNT\system32\NTDLL.DLL
  D:\usr\X11R6\bin\cygSM-6.dll
  D:\usr\X11R6\bin\cygX11-6.dll
D:\bin\cygcygipc-2.dll
  D:\usr\X11R6\bin\cygXaw3d-1.dll   =
D:\usr\X11R6\bin\cygXext-6.dll
  D:\usr\X11R6\bin\cygXi-6.dll
  D:\usr\X11R6\bin\cygXpm-4.dll
  D:\bin\cygjpeg-62.dll
  D:\bin\cygpng12.dll
D:\bin\cygz.dll


03:40 AM [577] ./xfig
Warning: translation table syntax error: Unknown event type :   EnterWindow
Warning: ... found while parsing 'EnterWindow:highlight() '
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown event type :   EnterWindow
Warning: ... found while parsing 'EnterWindow: highlight()'
Warning: String to TranslationTable conversion encountered errors
Warning: No type converter registered for 'String' to 'Relief' conversion.
Error: Couldn't find per display information


I then tried compiling gv-3.5.8 from http://wwwthep.physik.uni-mainz.de/~plass/gv/
It uses also Xaw3d but when running it it gives similar results:

Warning: translation table syntax error: Unknown event type :   EnterWindow
Warning: ... found while parsing 'EnterWindow:highlight() '
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown event type :   EnterWindow
Warning: ... found while parsing 'EnterWindow:highlight()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown modifier name:   Any
Warning: ... found while parsing 'AnyBtnDown:set()PopupMenu()'
Warning: String to TranslationTable conversion encountered errors
Error: attempt to add non-widget child fileButton to parent control which supports 
only widgets

An older version of mine compiled with the static version of Xaw3d runs fine. It seems 
there is
something wrong maybe with the shared Xaw3d lib ??

Ciao
  Volker



Re: How to access html and pdf help from xfig

2003-09-23 Thread Igor Pechtchanski
On Wed, 24 Sep 2003, Billinghurst, David (CALCRTS) wrote:

 Thanks for xfig.

 The following changes will enable access to html and pdf help,
 using internet explorer and win32 acrobat reader.  The path to
 the windows applications will need to match your local setup.

 1. Create a helper script /usr/local/bin/acroread

 #!/bin/sh
 ACROREAD=/cygdrive/c/Program Files/Adobe/Acrobat/Reader/AcroRd32.exe
 exec ${ACROREAD} `cygpath -w $1`

 2. Create a helper script /usr/local/bin/iexplore

 #!/bin/sh
 IEXPLORE=/cygdrive/c/Program Files/Internet Explorer/iexplore.exe
 exec ${IEXPLORE} `cygpath -w $1`

 3.  Change /etc/X11/app-defaults/Fig

 $ diff -u Fig.orig Fig
 --- Fig.orig2003-09-24 10:44:13.507721200 +1000
 +++ Fig 2003-09-24 10:50:57.411386200 +1000
 @@ -20,7 +20,7 @@
  !  This is for viewing the xfig html reference.
  ! For netscape, this command will open the help pages in a running netscape,
  ! or start a new netscape if one isn't already running
 -Fig.browser:   netscape -remote 'openFile(%f)' || netscape %f
 +Fig.browser:   iexplore %f

  ! pdfviewer - put your favorite pdf viewer here.
  !  This is for viewing the xfig how-to guide and man pages

 There may be a better may, but this works work me.

Try cygstart %f for both HTML and PDF, with no helper scripts. ;-)
This will do the path translation automatically and open the application
associated with each of the extensions in Explorer (just like
double-clicking).
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


src/winsup/w32api/include winable.h winuser.h

2003-09-23 Thread papadopo
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-23 08:51:58

Modified files:
winsup/w32api/include: winable.h winuser.h 

Log message:
Bring back OBJID_* and GUITHREADINFO constants in winuser.h.
Some constants and structures are duplicated in winable.h and winuser.h.
Add GUI_* and new KEYEVENTF_* constants.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winable.h.diff?cvsroot=srcr1=1.1r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winuser.h.diff?cvsroot=srcr1=1.53r2=1.54



src/winsup/w32api/include winable.h winuser.h

2003-09-23 Thread papadopo
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-23 09:09:51

Modified files:
winsup/w32api/include: winable.h winuser.h 

Log message:
New CHILDID_SELF constant.
More duplicates in winuser.h and winable.h.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winable.h.diff?cvsroot=srcr1=1.2r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winuser.h.diff?cvsroot=srcr1=1.54r2=1.55



src/winsup/w32api/include winable.h

2003-09-23 Thread papadopo
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-23 15:11:13

Modified files:
winsup/w32api/include: winable.h 

Log message:
This fixes regression in winable.h introduced by previous change.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winable.h.diff?cvsroot=srcr1=1.3r2=1.4



src/winsup/mingw ChangeLog include/_mingw.h in ...

2003-09-23 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-24 00:41:01

Modified files:
winsup/mingw   : ChangeLog 
winsup/mingw/include: _mingw.h ctype.h inttypes.h math.h stdio.h 
  stdlib.h string.h wchar.h wctype.h 

Log message:
* include/_mingw.h (__CRT_INLINE): Define.
* include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
throughout
* include/inttypes.h: Likewise.
* include/math.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srcr1=1.150r2=1.151
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/_mingw.h.diff?cvsroot=srcr1=1.21r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/ctype.h.diff?cvsroot=srcr1=1.6r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/inttypes.h.diff?cvsroot=srcr1=1.3r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/math.h.diff?cvsroot=srcr1=1.14r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/stdio.h.diff?cvsroot=srcr1=1.15r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/stdlib.h.diff?cvsroot=srcr1=1.20r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/string.h.diff?cvsroot=srcr1=1.8r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/wchar.h.diff?cvsroot=srcr1=1.13r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/wctype.h.diff?cvsroot=srcr1=1.5r2=1.6



src/winsup/mingw ChangeLog include/inttypes.h

2003-09-23 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-24 01:06:09

Modified files:
winsup/mingw   : ChangeLog 
winsup/mingw/include: inttypes.h 

Log message:
* include/inttypes.h: Include _mingw.h.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srcr1=1.151r2=1.152
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/inttypes.h.diff?cvsroot=srcr1=1.4r2=1.5



Re: feature requests for setup

2003-09-23 Thread peter garrone


- Original Message -
From: Igor Pechtchanski [EMAIL PROTECTED]
Date: Tue, 23 Sep 2003 23:56:04 -0400 (EDT)
To: peter garrone [EMAIL PROTECTED]
Subject: Re: feature requests for setup

  - Have setup check with the mirror to see if the setup program itself
 has been upgraded. For people who dont read announcements.
 
 It already does that.
 
  - If installing from the local directory, possibly only do the MD5
checksum for packages that are actually going to be installed,
because it now checks every package whenever it starts. Or
at least after an install cycle is complete, allow an option to go back,
so the recheck can skipped, or even both these ideas.
 
 http://cygwin.com/acronyms/#PTC.  Also see below.
 
  - That packages directory default. Sometimes setup drops packages
from its default, allowing very wierd directory hierarchies indeed,
if downloading from somewhere. From bitter experience, I always make
sure this particular field ends in packages.
 
 I don't get this one at all.  What are you trying to say?
 
Hi, i had a bad day yesterday, today I see the little scroll bars
between Bin and Src, also the back key at the point it asks for the desktop icon.
Also I think my packages confusion was from the older setup, because the newer one
doesnt do it now.

I apologise to the mailing list for most of the points in my post, which are erroneous.

What wasnt happenning though, was that I had setup version 2.249.2.10 installed 
locally, 
when I went download from internet, at the ftp://mirror.aarnet.edu.au site,
it would install cygwin-1.3.22-1.tar.bz2, which had an old cygwin dll, and not
cygwin-1.5.5-1.tar.bz2, which had the new one. The old one would fail with most of
the utilities such as ls.exe, with a __getreent failure.
When I downloaded setup version 2.340.2.5, it
found and downloaded the package with the newer dll, as well as others. I think.

In my local cache of packages, I had been using experimental packages,
as well as a locally compiled and patched snapshot, so this could have something to do 
with it.


-- 
__
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

--
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[2]: Windows 2k crash while processing big bash script

2003-09-23 Thread -TifsSoft-
Re, Christopher,

Tuesday, September 23, 2003, 2:27:27 AM, you wrote:

CF On Tue, Sep 23, 2003 at 02:25:18AM +0300, -TifsSoft- wrote:
I think, authors of cygwin can resolve this problem. But does they
read this list? =) It's will be a pity if nobody help me with this and
I will be not able to use cygwin :(

CF Ok, here's some more reading for you: http://cygwin.com/who.html .

CF cgf

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

wow :) sorry, I didn't know this :)

-- 
Best regards,
 -TifsSoft-mailto:[EMAIL PROTECTED]


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



Re: cygwin 1.5+ process control problem?

2003-09-23 Thread Alexander Osipenko
Thanks, the snapshot cygwin1-20030923.dll.bz2 works.
Alexander.

Christopher Faylor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Tue, Sep 23, 2003 at 06:37:07AM +0400, Alexander Osipenko wrote:
 Shell hangs, executing command
 
 $ gcc -v --help | less

 Behavior noticed in
   cygwin-1.5.4-1
   gcc-3.2-3
   bash-2.05b-13
   less-381-1
 
 and remains after each upgrade until current version:
   cygwin-1.5.5-1
   gcc-3.3.1-1
   bash-2.05b-13
   less-381-1
 
 I can say nothing about cygwin 1.4+, but in other machine with cygwin-1.3.22-1 all
 operates as expected

 I wished you'd reported this when you noticed it in 1.5.4.  I would have fixed it
 for 1.5.5.

 Perhaps, similar behavior mentioned in
 http://cygwin.com/ml/cygwin/2003-09/msg00992.html

 No.  I reported that problem was fixed.  If you suspected that it was
 related then downloading a snapshot and trying it would have been very
 helpful for the cygwin cause.

 Anyway, it should be fixed in the next snapshot.

 http://cygwin.com/ , click on Snapshots.

 cgf





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



Re: Math working on command line but not in script

2003-09-23 Thread Brian Dessent
Robert Mark Bram wrote:
 
 Howdy All!
 
 I have a small script called maths.sh with the following code in it:
 
 #/usr/bin/bash

The features you're trying to use are bash-specific.  The above shebang
is not correct (you need a ! after the #, as in #!/path/to/file) and
so the script is being executed not by bash but by sh which doesn't
understand the $(( foo )) syntax.

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: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Corinna Vinschen
On Mon, Sep 22, 2003 at 09:43:45PM +0100, Chris Rodgers wrote:
 OK. I've had a crack at this. The packages can be found at:
 http://rodgers.org.uk/editrights/
 and are released under a BSD-style licence.

Would you mind to send an ITP message to [EMAIL PROTECTED] as
described under http://cygwin.com/setup.html#submitting?

The package is more or less preapproved but I would like to discuss
a few details (on cygwin-apps, which is the appropriate list for
package maintainer discussions). 

E.g. adding and removing and listing are very talkative by default.
While the listing option allows to add a -q option, this doesn't work
for -a and -r.

It's your tool, after all, but IMHO it would be more suitable for
scripting to turn around the behaviour:  No output on -a and -r if
they work, error output otherwise, only listing the rights with -l.
The lot of output only with additional verbose option.


Corinna

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

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



Re: Windows 2k crash while processing big bash script

2003-09-23 Thread Corinna Vinschen
On Fri, Sep 19, 2003 at 06:30:06PM +0300, -TifsSoft- wrote:
 I provide all information as wrote in http://cygwin.com/problems.html.
 (I reed it before sending problem letter).
 cygcheck.out is in my first letter.
 I tryed to process ./configure in new copy of cygwin (only base +
 gcc + binutils + make...) and I try it with all libraries, having a
 one result -- this trouble.

I think you have no other chance but to try to figure out what part
of the script results in the problem you're seeing.  You should try
to eliminate as much code from the script as possible.  It would be
most helpful to get a small, reproducible testcase.

Corinna

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

--
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: Math working on command line but not in script

2003-09-23 Thread Robert Mark Bram
Howdy Alexander!

 You misspelled the first line, should be
 #!/usr/bin/bash

Well, now I feel plain silly!

Thanks for the answer!

Rob
:)


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



configure cygwin for vxworks

2003-09-23 Thread deva kumar s
1) How can I configure cygwin for vxworks?
2) Is their exist separate cross compiler for this?
waiting for your reply,
thanks.
regards
dev
HAVE A NICE DAY
___
Art meets Anesthesia; Shefali Weds Dr. Raman.
Rediff Matchmaker strikes another interesting match !!
Visit http://matchmaker.rediff.com?1
--
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/


searching the cygwin archive

2003-09-23 Thread Kevin Van Workum
Is there a way to turn off the 'smart' searching when searching through
the Cygwin mailing list? For example, sometimes it would be useful to
search for only the string 'man page' and not '(man or maned or mans or
manly) and (page or paged or paging or pager or pages or pagers)'.

Kevin Van Workum, PhD
National Institute of Standards and Technology
Polymers Division 224/B228

--
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: searching the cygwin archive

2003-09-23 Thread Vince Hoffman
A lot of people use the site: feature of google to search the archives if
that would help ?
(eg. use site:cygwin.com man page as your search string.)

 -Original Message-
 From: Kevin Van Workum [mailto:[EMAIL PROTECTED]
 Sent: 23 September 2003 12:39
 To: [EMAIL PROTECTED]
 Subject: searching the cygwin archive
 
 
 Is there a way to turn off the 'smart' searching when 
 searching through
 the Cygwin mailing list? For example, sometimes it would be useful to
 search for only the string 'man page' and not '(man or maned 
 or mans or
 manly) and (page or paged or paging or pager or pages or pagers)'.
 
 Kevin Van Workum, PhD
 National Institute of Standards and Technology
 Polymers Division 224/B228
 
 --
 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/



Good work!

2003-09-23 Thread jurgen . defurne
Hello,

Today I have found time to upgrade to 1.5.5, seemingly
without glitches, thanks for the good work, guys.

Jurgen

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



Minor annoyance : symbolic links and Windows shortcuts

2003-09-23 Thread jurgen . defurne
Hello,

I noticed this before, but since the solution is simple,
though a little bit annoying, I did not mention it.

I think this is also only an issue for people who use
cygwin from a shared drive, and the shared drive
comes from Samba, not native Windows.

Anyhow, I have to recreate manually all symbolic
links, and I have to delete all Windows shortcuts
from my directories, because they do not work.

Regards,

Jurgen

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



FIFO question

2003-09-23 Thread jurgen . defurne
Hello,

While I was configuring and rebuilding screen,
I got the following message :

configure: checking fifos...
- your fifos are not usable

Is that so ?

Regards,

Jurgen

--
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: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Corinna Vinschen wrote:

 On Mon, Sep 22, 2003 at 09:43:45PM +0100, Chris Rodgers wrote:
  OK. I've had a crack at this. The packages can be found at:
  http://rodgers.org.uk/editrights/
  and are released under a BSD-style licence.

 Would you mind to send an ITP message to [EMAIL PROTECTED] as
 described under http://cygwin.com/setup.html#submitting?

 The package is more or less preapproved but I would like to discuss
 a few details (on cygwin-apps, which is the appropriate list for
 package maintainer discussions).

 E.g. adding and removing and listing are very talkative by default.
 While the listing option allows to add a -q option, this doesn't work
 for -a and -r.

 It's your tool, after all, but IMHO it would be more suitable for
 scripting to turn around the behaviour:  No output on -a and -r if
 they work, error output otherwise, only listing the rights with -l.
 The lot of output only with additional verbose option.

 Corinna

Also error codes on failure, and the ability to check whether a user has
certain rights (without using grep).  If we decide to adopt it as a
package, could we have a CVS repository for it under cygwin-apps (like for
cygrunsrv), controlled by Chris (Rodgers), so that people can submit
patches against CVS if need be?  Unless Chris plans to release it totally
separate from Cygwin...
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

--
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: Minor annoyance : symbolic links and Windows shortcuts

2003-09-23 Thread Corinna Vinschen
On Tue, Sep 23, 2003 at 02:37:29PM +0200, [EMAIL PROTECTED] wrote:
 Hello,
 
 I noticed this before, but since the solution is simple,
 though a little bit annoying, I did not mention it.
 
 I think this is also only an issue for people who use
 cygwin from a shared drive, and the shared drive
 comes from Samba, not native Windows.
 
 Anyhow, I have to recreate manually all symbolic
 links, and I have to delete all Windows shortcuts
 from my directories, because they do not work.

Can you elaborate on this?  What means they don't work?  I can create
symlinks on my samba share fine and they also work so the above is not
very useful information.  Magic formula: Simple testcase.

Corinna

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

--
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: configure cygwin for vxworks

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, deva kumar s wrote:

 1) How can I configure cygwin for vxworks?

http://catb.org/~esr/faqs/smart-questions.html#id2854036.  The whole
document is a good read in any case.

 2) Is their exist separate cross compiler for this?

Do you Google?  http://google.com/search?q=cygwin+vxworks
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

--
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: Minor annoyance : symbolic links and Windows shortcuts

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Corinna Vinschen wrote:

 On Tue, Sep 23, 2003 at 02:37:29PM +0200, [EMAIL PROTECTED] wrote:
  Hello,
 
  I noticed this before, but since the solution is simple,
  though a little bit annoying, I did not mention it.
 
  I think this is also only an issue for people who use
  cygwin from a shared drive, and the shared drive
  comes from Samba, not native Windows.
 
  Anyhow, I have to recreate manually all symbolic
  links, and I have to delete all Windows shortcuts
  from my directories, because they do not work.

 Can you elaborate on this?  What means they don't work?  I can create
 symlinks on my samba share fine and they also work so the above is not
 very useful information.  Magic formula: Simple testcase.

 Corinna

It would be helpful if Jurgen posted the output of getfacl on both the
working and the non-working links.  I suspect this could be the same
problem as the one reported earlier, with shortcuts on SMB drives not
having the proper readonly attribute.
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

--
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: Minor annoyance : symbolic links and Windows shortcuts

2003-09-23 Thread jurgen . defurne
Hello, Corinna,

Symlinks form the installation are created as ordinary
files, ie. instead of eg.

lrwxrwxrwx  ld.exe - /usr/bin/ld.exe

I get

-rw-r--r-- ... ld.exe

Unfortunately, I deleted the other files.

Jurgen









Corinna Vinschen [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
09/23/2003 03:26 PM
Please respond to cygwin

 
To: [EMAIL PROTECTED]
cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS)
Subject:Re: Minor annoyance : symbolic links and Windows shortcuts
Classification: 



On Tue, Sep 23, 2003 at 02:37:29PM +0200, [EMAIL PROTECTED] 
wrote:
 Hello,
 
 I noticed this before, but since the solution is simple,
 though a little bit annoying, I did not mention it.
 
 I think this is also only an issue for people who use
 cygwin from a shared drive, and the shared drive
 comes from Samba, not native Windows.
 
 Anyhow, I have to recreate manually all symbolic
 links, and I have to delete all Windows shortcuts
 from my directories, because they do not work.

Can you elaborate on this?  What means they don't work?  I can create
symlinks on my samba share fine and they also work so the above is not
very useful information.  Magic formula: Simple testcase.

Corinna

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

--
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 1.5.5 Configuration problem

2003-09-23 Thread Hughes, Bill
I have tried rtfm, rtffaq, rtfa(rchive), I would appreciate some help if
someone could point me in the right direction.
I was having problems with man (among other things) not working so I decided
to perform a complete uninstall and re-install.
I un-installed everything, removed the remaining folder tree and deleted the
cygwin entries from the registry (after exporting).
I then downloaded almost everything to a local directory, rebooted the pc
and ran setup again to install everything I had downloaded to D:\cygwin.
I set the HOME environment variable in 2000 to D:\cygwin\home\hughesb, in
cygwin this is set to /cygdrive/d/cygwin/home/hughesb

When cygwin was started the pwd was /cygdrive/d/usr/bin, not /home/hughesb,
'cd #' then moved pwd to /cygdrive/d/cygwin/home/hughesb (not
/home/hughesb).
I got around this by creating a .profile with 'cd #' in it, which does not
seem ideal.
I then set CYGWIN to 'check_case:strict ntea ntsec title', which I used to
have.

I'm not sure if it's relevant but I also did the following:
mkpasswd -cl  /etc/passwd
mkgroup -l  /etc/group
mkgroup -d domain  /etc/group
to get NT security working, I edited the relevant entry in /etc/passwd to
refer to my home directory. 
HughesB:unused_by_nt/2000/xp:15439:10513:HughesB,U-COX\HughesB,S-1-5-21-4511
12558-379081443-316617838-5439:/home/hughesb:/bin/bash
and removed the 'cd #' from .profile, but this left me at
/cygdrive/d/cygwin/bin.
I also set USER to HughesB in 2000.
I can't find anywhere that I can effect from /cygdrive/d/cygwin to / - what
have I missed, please?
I am assuming this is a problem with what I have done/not done and not a
bug.
btw man is still not working but I've deferred that until I hopefully get
somewhere with this problem.

Output of cygcheck -svr attached.

regards,
Bill Hughes

 cygcheck.out 


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

getuid() and root

2003-09-23 Thread Kevin Van Workum
I'm trying to compile SOpenPBS on Cygwin. SOpenPBS is the Scalable Open
Portable Batch System (www.supercluster.org). And I need some advice.

I have it compiled and running, with some ugly hacks. First, the daemons
want to run as user root. I can change this in the source to my login, but
I'd like to eventually make it available to others, so this is not a good
solution.  I'd like it to work similar to sshd or cron and have it run
using cygrunsrv, but I don't know how to do that. Any advice? Anyone
interested in using SPBS on Cygwin and/or helping me to port it?

Kevin Van Workum, PhD
National Institute of Standards and Technology
Polymers Division 224/B228

--
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 1.5.5 Configuration problem

2003-09-23 Thread Hughes, Bill
Why is it I always find the problem after I post?
There was no /etc/profile in my installation.
I copied one from another machine and my installation appears OK, except for
the man problem.
I don't know if /etc/profile is mssing from the distribution or something
happened to mine.



regards,
Bill Hughes



--
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: Minor annoyance : symbolic links and Windows shortcuts

2003-09-23 Thread Corinna Vinschen
On Tue, Sep 23, 2003 at 04:01:28PM +0200, [EMAIL PROTECTED] wrote:
 Hello, Corinna,
 
 Symlinks form the installation are created as ordinary
 files, ie. instead of eg.

Uh, I see.  Setup doesn't create symlinks as shortcuts.  It still uses
the old system file method to create symlinks.  The system bit must be
mapped by samba to get this right.  If you're interested to get it
working, see `man smb.conf' on your Linux box and search for map system.

Corinna

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

--
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: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Corinna Vinschen wrote:

 On Tue, Sep 23, 2003 at 09:24:45AM -0400, Igor Pechtchanski wrote:
  Also error codes on failure, and the ability to check whether a user has
  certain rights (without using grep).  If we decide to adopt it as a
  package, could we have a CVS repository for it under cygwin-apps (like for
  cygrunsrv), controlled by Chris (Rodgers), so that people can submit
  patches against CVS if need be?  Unless Chris plans to release it totally
  separate from Cygwin...

 Setting up a CVS repository would be simple.

 Corinna

Umm, yes, this was mostly a (disguised, I guess) question for Chris on
whether he wants to tie his program to Cygwin or release it independently.
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

--
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: getuid() and root

2003-09-23 Thread Corinna Vinschen
On Tue, Sep 23, 2003 at 09:44:22AM -0400, Kevin Van Workum wrote:
 I'm trying to compile SOpenPBS on Cygwin. SOpenPBS is the Scalable Open
 Portable Batch System (www.supercluster.org). And I need some advice.
 
 I have it compiled and running, with some ugly hacks. First, the daemons
 want to run as user root. I can change this in the source to my login, but
 I'd like to eventually make it available to others, so this is not a good
 solution.  I'd like it to work similar to sshd or cron and have it run
 using cygrunsrv, but I don't know how to do that. Any advice? Anyone
 interested in using SPBS on Cygwin and/or helping me to port it?

Remove (or better ifdef out) all checks for the root user account.
sshd is using the same approach.  We don't have a root user
concept so far so these test are a bit displaced on Cygwin.

Corinna

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

--
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 1.5.5 Configuration problem

2003-09-23 Thread Corinna Vinschen
On Tue, Sep 23, 2003 at 03:16:19PM +0100, Hughes, Bill wrote:
 Why is it I always find the problem after I post?

It's because it happens to everyone.  Why should it be better for you?

SCNR,
Corinna

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

--
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 1.5.5 Configuration problem

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Hughes, Bill wrote:

 Why is it I always find the problem after I post?
 There was no /etc/profile in my installation.
 I copied one from another machine and my installation appears OK, except for
 the man problem.
 I don't know if /etc/profile is mssing from the distribution or something
 happened to mine.

 regards,
 Bill Hughes

Bill,

Did you install the base-files package?  The postinstall script should
have created an /etc/profile for you (by copying it from
/etc/defaults/etc/profile).  If it failed, there should be a message in
/var/log/setup.log.full (unless you ran setup after that, in which case
that file will have been overwritten).
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

--
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 1.5j - can't find cat, tbl, nroff, less

2003-09-23 Thread Hughes, Bill
When I try 'man grep' I get the following.
/bin/cat: not found
/usr/bin/tbl: not found
/usr/bin/nroff: not found
/usr/bin/less: not found
Error executing formatting or display command.
System command (cd /usr/man  (echo .pl 1100i; /bin/cat
'/usr/man/man1/grep.1
'; echo; echo .pl \n(nlu+10) | /usr/bin/tbl | /usr/bin/nroff -c -mandoc |
/usr/bin/less -isrR) exited with status 32512.
No manual entry for grep

and ' man -w grep' produces
/usr/man/man1/grep.1

output of 'man -D grep' and 'cygcheck -svr' attached.

NB it fails as above for any man foo where foo should have a man page.
Man foo where foo has no page returns 'No manual entry for foo' correctly.

regards,
Bill Hughes

 cygcheck.out  man.out 


cygcheck.out
Description: Binary data


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

[ANNOUNCEMENT] Updated: OpenSSH-3.7.1p2-1

2003-09-23 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 3.7.1p2-1.

This is again an official new release, this time mostly a bugfix
and security related release.  Since the latest Cygwin specific changes
are now in the official repository, this Cygwin version is from the
vanilla sources again.

Official Release Message:

Portable OpenSSH 3.7.1p2  has just been released. It will be available
from the mirrors listed at http://www.openssh.com/portable.html shortly.

Please note that this is a release to address issues in the portable
version only. The items mentioned below do not affect the OpenBSD
version.

OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.

We would like to thank the OpenSSH community for their continued
support to the project, especially those who contributed source and
bought T-shirts or posters.

We have a new design of T-shirt available, more info on
http://www.openbsd.org/tshirts.html#18

For international orders use http://https.openbsd.org/cgi-bin/order
and for European orders, use http://https.openbsd.org/cgi-bin/order.eu

Security Changes:
=

  Portable OpenSSH version 3.7p1 and 3.7.1p1 contain multiple
  vulnerabilities in the new PAM authentication code. At least one of 
  these bugs is remotely exploitable (under a non-standard
  configuration, with privsep disabled).

  OpenSSH 3.7.1p2 fixes these bugs. Please note that these bugs do not
  exist in OpenBSD's releases of OpenSSH.

Changes since OpenSSH 3.7.1p1:
==

* This release disables PAM by default. To enable it, set UsePAM yes in
  sshd_config. Due to complexity, inconsistencies in the specification and
  differences between vendors' PAM implementations we recommend that PAM
  be left disabled in sshd_config unless there is a need for its use.
  Sites using only public key or simple password authentication usually
  have little need to enable PAM support.

* This release now requires zlib 1.1.4 to build correctly. Previous
  versions have security problems.

* Fix compilation for versions of OpenSSL before 0.9.6. Some cipher modes
  are not supported for older OpenSSL versions.

* Fix compilation problems on systems with a missing or lacking inet_ntoa()
  function.

* Workaround problems related to unimplemented or broken setresuid/setreuid
  functions on several platforms.

* Fix compilation on older OpenBSD systems.

* Fix handling of password-less authentication (PermitEmptyPasswords=yes)
  that has not worked since the 3.7p1 release.

Checksums:
==

- MD5 (openssh-3.7.1p2.tar.gz) = 61cf5b059938718308836d00f6764a94


Reporting Bugs:
===

- please read http://www.openssh.com/report.html
  and http://bugzilla.mindrot.org/

OpenSSH is brought to you by Markus Friedl, Niels Provos, Theo de Raadt,
Kevin Steves, Damien Miller, Ben Lindstrom, Darren Tucker and Tim Rice.


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.  Once you've downloaded setup.exe, run it and select Net and
then click on the appropriate field until the above announced version
number appears if it is not displayed already.

If you have questions or comments, please send them to the Cygwin 
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

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

  *** 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 this URL.

I implore you to READ this information before sending email about how
you tried everything to unsubscribe.  In 100% of the cases where
people were unable to unsubscribe, the problem was that they hadn't
actually read and comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing
list, reading the instructions at the above URL is guaranteed to
provide you with the info that you need.

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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   

man 2 setpriority - issues

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)
$ man 2 getpriority
...
SYNOPSIS
...
 int
 setpriority(int which, int who, int prio);
...

$ man 2 setpriority
No entry for setpriority in section 2 of the manual

IMO this is very confusing IF you're not aware of it. I spent some time
finding out.

Then; PRIO_PROCESS mentioned later in the manpage doesn't seem to be
defined anywhere in the include files...

$ cd /usr/include/
$ grep PRIO_PROCESS *
$

Any pointers on where to find it - or how to bypass this when it gets used
in something you wish to build?
http://www.cygwin.com/ml/libc-hacker/2002-07/msg00013.html
seems to contain a diff on resources.h that adds (removes?) PRIO_PROCESS and
friends. Is this a correct change to apply?

Is there any Windows-ism affecting this on cygwin?

/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E
-- UTC+01, DST - UTC+02  --
--END OF MESSAGE--


--
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 1.5.5 Configuration problem

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Hughes, Bill wrote:

 Sent: 23 September 2003 15:26 From: Igor Pechtchanski
  On Tue, 23 Sep 2003, Hughes, Bill wrote:
   Why is it I always find the problem after I post?
   There was no /etc/profile in my installation.
   I copied one from another machine and my installation appears OK, except for
   the man problem.
   I don't know if /etc/profile is mssing from the distribution or something
   happened to mine.
 
  Bill,
 
  Did you install the base-files package?  The postinstall script should
  have created an /etc/profile for you (by copying it from
  /etc/defaults/etc/profile).  If it failed, there should be a message in
  /var/log/setup.log.full (unless you ran setup after that, in which case
  that file will have been overwritten).
Igor

 It was a fresh installation so yes I had to install base-files (about the
 only thing I didn't install was ghostscript).
 I had to change mirrors while downloading to a local folder, but this was
 separate - I rebooted and then installed from my local mirror.
 I've just looked and I don't have a /etc/defaults folder.
 I suppose this means a re-install?

Look at the logs (/var/log/setup.log{,.full}).  Did base-files get
installed?
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

--
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 5 proc [ SEE ALSO in procps(1) ] missing? (FAQ alert)

2003-09-23 Thread Christopher Faylor
On Tue, Sep 23, 2003 at 05:19:27PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
$ man procps
SNIP
SEE ALSO
top(1) pstree(1) proc(5)
SNIP

$ man 5 proc
No entry for proc in section 5 of the manual

$ man proc
No manual entry for proc

$ uname -a
CYGWIN_NT-5.0 P450 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown
Cygwin

Translation: cygwin doesn't have a complete set of man pages.

It's a known issue, brought up on a weekly basis.  I suppose that
it deserves a FAQ entry.

David, could you put this on your 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/



Re: man 2 setpriority - issues

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Hannu E K Nevalainen (garbage mail) wrote:

 $ man 2 getpriority
 ...
 SYNOPSIS
 ...
  int
  setpriority(int which, int who, int prio);
 ...

 $ man 2 setpriority
 No entry for setpriority in section 2 of the manual

 IMO this is very confusing IF you're not aware of it. I spent some time
 finding out.

FWIW, I don't have manpage for getpriority on my system, and the search of
Cygwin packages turned out nothing, so I have no idea which package
contains it.  That being said, the usual solution for this problem is
cd /usr/share/man/man2  ln -s getpriority.2 setpriority.2, which goes
into the postinstall script for the package (whatever it is).

 Then; PRIO_PROCESS mentioned later in the manpage doesn't seem to be
 defined anywhere in the include files...

 $ cd /usr/include/
 $ grep PRIO_PROCESS *
 $

Try find /usr/include -type f | xargs grep -H PRIO_PROCESS.

 Any pointers on where to find it - or how to bypass this when it gets used
 in something you wish to build?
 http://www.cygwin.com/ml/libc-hacker/2002-07/msg00013.html
 seems to contain a diff on resources.h that adds (removes?) PRIO_PROCESS and
 friends. Is this a correct change to apply?

 Is there any Windows-ism affecting this on cygwin?

 /Hannu E K Nevalainen, B.Sc. EE

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

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



Re: Windows 2k crash while processing big bash script

2003-09-23 Thread Brian Ford
I hate to point to the obvious, but it does not seem that anyone has
pointed to this thread as a possible explanation:

http://sources.redhat.com/ml/cygwin/2003-08/msg00521.html

It looks fairly relevant to me.

-- 
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: man 2 setpriority - issues

2003-09-23 Thread Christopher Faylor
On Tue, Sep 23, 2003 at 11:25:50AM -0400, Igor Pechtchanski wrote:
On Tue, 23 Sep 2003, Hannu E K Nevalainen (garbage mail) wrote:
 $ man 2 getpriority
 ...
 SYNOPSIS
 ...
  int
  setpriority(int which, int who, int prio);
 ...

 $ man 2 setpriority
 No entry for setpriority in section 2 of the manual

 IMO this is very confusing IF you're not aware of it. I spent some time
 finding out.

FWIW, I don't have manpage for getpriority on my system, and the search of
Cygwin packages turned out nothing, so I have no idea which package
contains it.  That being said, the usual solution for this problem is
cd /usr/share/man/man2  ln -s getpriority.2 setpriority.2, which goes
into the postinstall script for the package (whatever it is).

Right.  cygwin doesn't export a [gs]etpriority, so if some package is
exporting it, that is...  interesting.

Also note:

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=man2%2F

which shows that no package contains a 'man2/' string.  This indicates
that the getpriority man page probably didn't come from a standard
cygwin package.

Then; PRIO_PROCESS mentioned later in the manpage doesn't seem to be
defined anywhere in the include files...

$ cd /usr/include/ $ grep PRIO_PROCESS * $

Try find /usr/include -type f | xargs grep -H PRIO_PROCESS.

If it does find something, it isn't going to be useful.

Any pointers on where to find it - or how to bypass this when it gets
used in something you wish to build?
http://www.cygwin.com/ml/libc-hacker/2002-07/msg00013.html seems to
contain a diff on resources.h that adds (removes?) PRIO_PROCESS and
friends.  Is this a correct change to apply?

I'm not sure why we are talking about IBM S390 (!) changes to glibc
(!!!) in the cygwin mailing list.

In case you don't know it, cygwin.com == sources.redhat.com.
The mailing list archives for the cygwin mailing list are mixed with
the archives for all of the other mailing lists on sources.redhat.com.
See http://sources.redhat.com/lists.html for a list of mailing lists on
sources.redhat.com.

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/



gcc 3.3.1: include problem solved

2003-09-23 Thread Andre Bleau
I'd like to report that the problem that I reported about gcc 3.2 in:

http://sources.redhat.com/ml/cygwin/2003-02/msg01556.html

is no longer present with gcc 3.3.1

For those who might care, it was a problem  of include files in 
/usr/include/w32api wrongly taking precedence over those in /usr/include 
when compiling with -mcygwin (the default).

Thanks for fixing this.



André Bleau, Cygwin's OpenGL package maintainer.

Please address all questions and problem reports about Cygwin's OpenGL 
package to [EMAIL PROTECTED] . 

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


RE: Cygwin 1.5.5 Configuration problem

2003-09-23 Thread Hughes, Bill
Sent: 23 September 2003 16:20  From: Igor Pechtchanski

 Look at the logs (/var/log/setup.log{,.full}).  Did base-files get
 installed?
   Igor

No. It's not in the cygcheck output either. Weird, I selected install for
'all' in setup and then de-selected ghostscript as I was playing with that
and Redmon at the time, I have no idea how base-files was set to skip
but it was.
I suppose it's mea culpa but I really have no idea how, apologies all, and
thanks for the patience.
I don't know if I should mention it but I've (re-)installed base-files and
man still doesn't work.

Thank you again Igor, for your help.

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



RE: Cygwin 1.5.5 Configuration problem

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Hughes, Bill wrote:

 Sent: 23 September 2003 16:20  From: Igor Pechtchanski
 
  Look at the logs (/var/log/setup.log{,.full}).  Did base-files get
  installed?
Igor

 No. It's not in the cygcheck output either. Weird, I selected install for
 'all' in setup and then de-selected ghostscript as I was playing with that
 and Redmon at the time, I have no idea how base-files was set to skip
 but it was.
 I suppose it's mea culpa but I really have no idea how, apologies all, and
 thanks for the patience.
 I don't know if I should mention it but I've (re-)installed base-files and
 man still doesn't work.

 Thank you again Igor, for your help.

base-files will not replace your /etc/passwd if you already have one.
Try cp -fp /etc/defaults/etc/profile /etc/profile, and see if that fixes
your man problem.
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

--
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 1.5.5 Configuration problem

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Igor Pechtchanski wrote:

 On Tue, 23 Sep 2003, Hughes, Bill wrote:

  Sent: 23 September 2003 16:20  From: Igor Pechtchanski
  
   Look at the logs (/var/log/setup.log{,.full}).  Did base-files get
   installed?
 Igor
 
  No. It's not in the cygcheck output either. Weird, I selected install for
  'all' in setup and then de-selected ghostscript as I was playing with that
  and Redmon at the time, I have no idea how base-files was set to skip
  but it was.
  I suppose it's mea culpa but I really have no idea how, apologies all, and
  thanks for the patience.
  I don't know if I should mention it but I've (re-)installed base-files and
  man still doesn't work.
 
  Thank you again Igor, for your help.

 base-files will not replace your /etc/passwd if you already have one.

s@/etc/passwd@/etc/profile@

 Try cp -fp /etc/defaults/etc/profile /etc/profile, and see if that fixes
 your man problem.
 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

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



some missing defines in .h files

2003-09-23 Thread Eugene Kotlyarov
Hello

  Recently I've ported some NetBSD soft to Cygwin and encountered some
  incompatibilites in header files that are not caught by configure.
  I wonder whether this should be fixed in Cygwin?

#define TM_YEAR_BASE1900
Is not defined in tzfile.h

#define _PATH_TMP /tmp/
 or   P_tmpdir
Is not defined in paths.h

In grp.h (which is taken from NetBsd)
char*group_from_gid (gid_t, int);
But in current NetBsd it is
const char  *group_from_gid (gid_t, int);
same for gid_from_group


//Eugene   ICQ 191276239
  


--
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 1.5j - can't find cat, tbl, nroff, less

2003-09-23 Thread Kevin Van Workum
On Tue, 23 Sep 2003, Hughes, Bill wrote:

 When I try 'man grep' I get the following.
 /bin/cat: not found
 /usr/bin/tbl: not found
 /usr/bin/nroff: not found
 /usr/bin/less: not found
 Error executing formatting or display command.
 System command (cd /usr/man  (echo .pl 1100i; /bin/cat
 '/usr/man/man1/grep.1
 '; echo; echo .pl \n(nlu+10) | /usr/bin/tbl | /usr/bin/nroff -c -mandoc |
 /usr/bin/less -isrR) exited with status 32512.
 No manual entry for grep

 and ' man -w grep' produces
 /usr/man/man1/grep.1

 output of 'man -D grep' and 'cygcheck -svr' attached.

 NB it fails as above for any man foo where foo should have a man page.
 Man foo where foo has no page returns 'No manual entry for foo' correctly.

 regards,
 Bill Hughes

  cygcheck.out  man.out


I had the same problem this morning after changing the share permission on
my C-drive from Everyone, to Administrator and Kevin. Once I added
Administrators (note the s), the problem was fixed. I guess /bin/cat,
etc were owned by Administrators and not Administrator. Whatever.

Kevin Van Workum, PhD
National Institute of Standards and Technology
Polymers Division 224/B228

--
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: Bug in Bash 2.05b.0(13) with nt-emacs

2003-09-23 Thread Jeffery B. Rancier
I don't think so, I am doing the same, with:

,
| GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
`

and:

,
| GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600) of 2003-03-27 on buffy
`

Without any problems, this is on Windows XP Pro.  Where did you get
that version of bash?  Is that a unstable beta?

Jeff

Maslen, David M [EMAIL PROTECTED] writes:

 I'm using emacs 21.3 not 21.2 so perhaps this is an emacs bug.
 GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-28 on buffy

 Everything else looks the same.

 Cygwin DLL version info:
 DLL version: 1.5.3
 DLL epoch: 19
 DLL bad signal mask: 19005
 DLL old termios: 5
 DLL malloc env: 28
 API major: 0
 API minor: 90
 Shared data: 3
 DLL identifier: cygwin1
 Mount registry: 2
 Cygnus registry name: Cygnus Solutions
 Cygwin registry name: Cygwin
 Program options name: Program Options
 Cygwin mount registry name: mounts v2
 Cygdrive flags: cygdrive flags
 Cygdrive prefix: cygdrive prefix
 Cygdrive default prefix: 
 Build date: Mon Sep 1 13:15:28 EDT 2003
 Shared id: cygwin1S3

 I'll report it to the emacs developers as well.

 -Original Message-
 From: Pach Roman (GS-EC/EEP3) * [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 23 September 2003 2:19 PM
 To: Maslen, David M; [EMAIL PROTECTED]
 Subject: AW: Bug in Bash 2.05b.0(13) with nt-emacs


 Hello,
 I'm working with emacs  bash as well:

  GNU bash, version 2.05b.0(13)-release (i686-pc-cygw
  Copyright (C) 2002 Free Software Foundation, Inc.

  GNU Emacs 21.2.1 (i386-mingw-nt5.0.2195)

  Cygwin DLL version info:
  DLL version: 1.5.3
  DLL epoch: 19
  DLL bad signal mask: 19005
  DLL old termios: 5
  DLL malloc env: 28
  API major: 0
  API minor: 90
  Shared data: 3
  DLL identifier: cygwin1
  Mount registry: 2
  Cygnus registry name: Cygnus Solutions
  Cygwin registry name: Cygwin
  Program options name: Program Options
  Cygwin mount registry name: mounts v2
  Cygdrive flags: cygdrive flags
  Cygdrive prefix: cygdrive prefix
  Cygdrive default prefix:
  Build date: Mon Sep 1 13:15:28 EDT 2003
  Shared id: cygwin1S3

 I have no problems at all.
 Roman

 -Ursprüngliche Nachricht-
 Von: Maslen, David M [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 23. September 2003 06:07
 An: [EMAIL PROTECTED]
 Betreff: Bug in Bash 2.05b.0(13) with nt-emacs


 Please accept this fairly brief, bug report.

 I'm using GNU Emacs 21.3.1 on Windows2000 (not the cygwin build)
 I'm using cygwins bash 2.05b.0(13) command as my explicit-shell-command from within 
 emacs and have c:\cygwin\bin in my path.

 This previously allowed me to use bash as the shell from within emacs.
 After an cygwin upgrade, this no longer worked. Bash would start, but I could not 
 use any other shell commands (ie. ls) internal bash commands such as 'cd' did seem 
 to work.

 Changing my explicit-shell-command to be cygwin's sh command  works as bash used to. 
 Using eshell also seems to be a viable alternative.

 I don't subscribe to this list, and am not entirely sure that this is the most 
 appropriate place to submit bugs.
 If I can provide further information, please contact me directly. Otherwise thanks 
 to the cygwin developers for the work they've done so far in providing a *nix like 
 environment in the windows wilderness.

 --
 David Maslen
 Solution Designer 
 Phone: (03) 8661 3443 


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


-- 
Thanks,
Jeff

,
| Jeffery B. Rancier
| 
| Softechnics
| a METTLER TOLEDO company
`


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



Fatal flex bug

2003-09-23 Thread Matt Gregory
I want to use flex in Visual Studio, but it won't run.  It just says:

flex: fatal internal error, exec failed

It worked before I upgraded Cygwin a few days ago.  I don't know what
version of flex I was using before, but this happens with version 2.5.31.
Thanks!
Matt Gregory
--
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__ ++ (RE: getuid() and root)

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)
 From: Corinna Vinschen

SNIP
 Remove (or better ifdef out) all checks for the root user account.
 sshd is using the same approach.  We don't have a root user
 concept so far so these test are a bit displaced on Cygwin.

Sorry to butt in again... :-P

This is just to make things clear up a bit for myself...
Current status as I've understood it is; As -mno-cygwin _ISN'T_ used
 __CYGWIN__ and __CYGWIN32__ both will be #define 'd.

Now the big Q: What is the difference between those?
(Is it an 1.3.x vs 1.5.x issue?)

I'm rigth now testing the bladeenc mp3 encoder under cygwin.
It seems to be working well after my efforts. But I've had to ifdef in/out
some sections of code.
To eventually be able to hand out nice diffs, I need to be clear over any
differences here.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST - UTC+02  --
--END OF MESSAGE--


--
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: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)
 From: Igor Pechtchanski

  Setting up a CVS repository would be simple.
 
  Corinna

 Umm, yes, this was mostly a (disguised, I guess) question for Chris on
 whether he wants to tie his program to Cygwin or release it independently.
   Igor

 Hmm... WAG: Chris is feeling the pressure build up ':-}

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST - UTC+02  --
--END OF MESSAGE--


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



FAQ correction needed?

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)

How do the net-related functions work?
...
As of the b19 release, this information may be slightly out of date. 

(At the very end of that section.) The appearance of that ^ sentence makes
me wonder how fresh the text before it is.

(Hmm... I guess I could use the dictionary a bit and rephrase it, NAH... I'm
too lazy).

/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E
-- UTC+01, DST - UTC+02  --
--END OF MESSAGE--


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



FYI: bladeenc - fairly easy port.

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)

As I understand there might be issues WRT copyright on mp3-encoding.
There is some wording on this at the site indicated below.

Therefore I have to ask;
Will it be a to high risk to include bladeenc in cygwin as a package?

Below you can see that it is LGPL too; would that be a hindrance?
--

Now to my results...  (I'll polish/check the needed patches, before handing
them out).

This is on a P2 @450 MHz

$ bladeenc *.wav

BladeEnc 0.94.2(c) Tord JanssonHomepage:
http://bladeenc.mp3.no

===
BladeEnc is free software, distributed under the Lesser General Public
License.
See the file COPYING, BladeEnc's homepage or www.fsf.org for more details.

Files to encode: 11

SNIP
Encoding:  B5_SoLong.wav
Input: 44.1 kHz, 16 bit, stereo.
Output:128 kBit, stereo.

Completed. Encoding time: 00:01:40 (1.83X)

All operations completed. Total encoding time: 00:20:04

$ ls -l *.wav
-rw-r--r--1 Hannu37799012 Dec 19  2002 A1_MammaMia.wav
-rw-r--r--1 Hannu34999244 Dec 19  2002 A2_HeyHeyHelen.wav
-rw-r--r--1 Hannu32891572 Dec 19  2002 A3_TropicalLoveland.wav
-rw-r--r--1 Hannu35984292 Dec 19  2002 A4_SOS.wav
-rw-r--r--1 Hannu32313260 Dec 19  2002 A5_ManInTheMiddle.wav
-rw-r--r--1 Hannu31875712 Dec 19  2002 A6_BangABoomerang.wav
-rw-r--r--1 Hannu34985768 Dec 19  2002 B1_IDoIDoIDoIDoIDo.wav
-rw-r--r--1 Hannu33053412 Dec 19  2002 B2_RockMe.wav
-rw-r--r--1 Hannu40361308 Dec 19  2002 B3_IntermezzoNo1.wav
-rw-r--r--1 Hannu38310436 Dec 19  2002 B4_IveBeenWaitingForYou.wav
-rw-r--r--1 Hannu3900 Dec 19  2002 B5_SoLong.wav

$ ls -l *.mp3
-rw-r--r--1 Hannu 3428520 Sep 23 17:14 A1_MammaMia.mp3
-rw-r--r--1 Hannu 3174818 Sep 23 17:16 A2_HeyHeyHelen.mp3
-rw-r--r--1 Hannu 2983393 Sep 23 17:17 A3_TropicalLoveland.mp3
-rw-r--r--1 Hannu 3264262 Sep 23 17:19 A4_SOS.mp3
-rw-r--r--1 Hannu 2931148 Sep 23 17:21 A5_ManInTheMiddle.mp3
-rw-r--r--1 Hannu 2891442 Sep 23 17:23 A6_BangABoomerang.mp3
-rw-r--r--1 Hannu 3173565 Sep 23 17:24 B1_IDoIDoIDoIDoIDo.mp3
-rw-r--r--1 Hannu 2998440 Sep 23 17:26 B2_RockMe.mp3
-rw-r--r--1 Hannu 3660905 Sep 23 17:28 B3_IntermezzoNo1.mp3
-rw-r--r--1 Hannu 3474913 Sep 23 17:30 B4_IveBeenWaitingForYou.mp3
-rw-r--r--1 Hannu 2922789 Sep 23 17:32 B5_SoLong.mp3

$ sum=`find *.wav -printf %s + `;echo $(( ( ${sum:0:$(( ${#sum} -2))} )
/ 1024  ))
375778

$ sum=`find *.mp3 -printf %s + `;echo $(( ( ${sum:0:$(( ${#sum} -2))} )
/ 1024  ))
34086

$ echo $(( 34086000 / 375778 ))
90

i.e. size is approximately 9% of original files.
--

I have run the recommended test; compile a CFLAGS =  version (w no
optimizations) and md5sum-tested the output to that of an CFLAGS = -O2
version.
This test was fine; i.e. the output files didn't differ.

Approximate speed difference:
 -O2 runs 1.75x speed
 -O0 runs 0.75x speed (P2/450!)
 -O0: All operations completed. Total encoding time: 00:47:46
 -O2: All operations completed. Total encoding time: 00:20:04


/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E
-- UTC+01, DST - UTC+02  --
--END OF MESSAGE--


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



Problem with perl distro?

2003-09-23 Thread Peter M Aarestad

I have a script that I noticed was giving me problems with the Cygwin version of Perl 
when I ran it, but the same script works fine with the AcitveState version of Perl. 
The key lines of the main loop look like this:

while (GUIFILE) {
chomp;

if (!$desc and /^(\w+):$/) { # warning line
# ...
} elsif (/^\{$/) {
# ...
} elsif (/^\}$/) {
# ...
} elsif (!$desc and /^?$screen?\.(.+):/) {
# ...
} elsif ($desc and /^\s*id:\s*(\d+)$/) {
# ...
} else {
# ...
}
} # end while GUIFILE

Now, every single time I read in a line, I get this warning

Use of uninitialized value in concatenation (.) or string at ./genguimapdoc.pl line 
60, GUIFILE line n.

However, I do NOT get this warning using ActiveState Perl, and the script works fine! 
Is this thus a bug in Cygwin's Perl build?

-peter

Peter Aarestad
[EMAIL PROTECTED]
Law of Software Envelopment:
Every program attempts to expand until it can read mail. Those programs which cannot 
so expand are replaced by ones which can.
- Jamie Zawinski


The best thing to hit the internet in years - NetZero HiSpeed!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month -visit www.netzero.com to sign up 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: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Chris Rodgers
 On Tue, Sep 23, 2003 at 09:24:45AM -0400, Igor Pechtchanski wrote:
  Also error codes on failure, and the ability to check whether a user has
  certain rights (without using grep).  If we decide to adopt it as a
  package, could we have a CVS repository for it under cygwin-apps (like
for
  cygrunsrv), controlled by Chris (Rodgers), so that people can submit
  patches against CVS if need be?  Unless Chris plans to release it
totally
  separate from Cygwin...

 Setting up a CVS repository would be simple.

I am happy to store the code in a public CVS repository, especially since I
can't provide public access to my own CVS repository. Please let me know the
details off-list.

Chris


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



RE: Problem with perl distro?

2003-09-23 Thread DePriest, Jason R.
 Peter M Aarestad said
[-snip-]
 Now, every single time I read in a line, I get this warning
 
 Use of uninitialized value in concatenation (.) or string at 
 ./genguimapdoc.pl line 60, GUIFILE line n.
 
 However, I do NOT get this warning using ActiveState Perl, 
 and the script works fine! Is this thus a bug in Cygwin's Perl build?
[-/snip-]

Speaking of builds, can you please specify which version of perl you are
using under Cygwin and which version of ActiveState Perl you are using?

Also, if you run your script with ActiveState using the '-w' modifier
does it give you the same error you get with Cygwin perl?

-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: Problem with perl distro?

2003-09-23 Thread Peter M Aarestad

-- DePriest, Jason R. [EMAIL PROTECTED] wrote:

 Speaking of builds, can you please specify which version of perl you are
 using under Cygwin and which version of ActiveState Perl you are using?

According to setup.exe, I have cygwin 1.5.5-1 and perl 5.8.0-5 installed. My version 
of ActiveState Perl is 5.8.0 build 806 (just downloaded today to test this anomaly 
out). FWIW, I'm running everything on an NT4 SP6 machine.

 Also, if you run your script with ActiveState using the '-w' modifier
 does it give you the same error you get with Cygwin perl?

perl -w works fine for ActivePerl - no warnings. Plus, my script uses the warnings 
and strict pragmas.

Thanks,
-peter

Peter Aarestad
[EMAIL PROTECTED]
Law of Software Envelopment:
Every program attempts to expand until it can read mail. Those programs which cannot 
so expand are replaced by ones which can.
- Jamie Zawinski


The best thing to hit the internet in years - NetZero HiSpeed!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month -visit www.netzero.com to sign up 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: Problem with perl distro?

2003-09-23 Thread DePriest, Jason R.
 Peter M Aarestad said
[-snip-]
 perl -w works fine for ActivePerl - no warnings. Plus, my 
 script uses the warnings and strict pragmas.
[-/snip-]

Peter,

Can you provide a simple but complete script and data source that
recreate your error?
I don't know what the data you are parsing is supposed to look like so I
am having trouble coming up with something that gives me the error you
are talking about.
Also, I don't know what your variables are set to.

Thanks!
-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: Problem with perl distro?

2003-09-23 Thread Peter M Aarestad
-- DePriest, Jason R. [EMAIL PROTECTED] wrote:

 Can you provide a simple but complete script and data source that
 recreate your error?

This is too weird. I've stripped down my script to its roots, but now I'm getting 
warnings with ActivePerl too! This time, I'm getting warnings on every line with a 
colon in it, and just those lines, though Cygwin's perl is still reporting an error on 
every line Odd. Anyway, please find attached the stripped down script and the test 
file. I'm including the full version of the script, too (genguimapdoc.pl is the full 
version). Thanks much!

-peter

Peter Aarestad
[EMAIL PROTECTED]
Law of Software Envelopment:
Every program attempts to expand until it can read mail. Those programs which cannot 
so expand are replaced by ones which can.
- Jamie Zawinski


genguimapdoc.pl
Description: genguimapdoc.pl


Master.gui.test
Description: Master.gui.test


testgui.pl
Description: testgui.pl
--
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: FYI: bladeenc - fairly easy port.

2003-09-23 Thread Gerrit P. Haase
Hannu schrieb:

 Approximate speed difference:
  -O2 runs 1.75x speed
  -O0 runs 0.75x speed (P2/450!)
  -O0: All operations completed. Total encoding time: 00:47:46
  -O2: All operations completed. Total encoding time: 00:20:04

I guess it will be faster when using a native Windows (non Cygwin based)
version.  Is there also a Windows port available?  How fast is it
compared with the Cygwin version?


Gerrit
-- 
=^..^=


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



RE: Problem with perl distro?

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Peter M Aarestad wrote:

 -- DePriest, Jason R. [EMAIL PROTECTED] wrote:

  Can you provide a simple but complete script and data source that
  recreate your error?

 This is too weird. I've stripped down my script to its roots, but now
 I'm getting warnings with ActivePerl too! This time, I'm getting
 warnings on every line with a colon in it, and just those lines, though
 Cygwin's perl is still reporting an error on every line Odd. Anyway,
 please find attached the stripped down script and the test file. I'm
 including the full version of the script, too (genguimapdoc.pl is the
 full version). Thanks much!

 -peter

Peter,

$screen was uninitialized.  Changing it to 'my $screen = ' eliminates
the warnings in the simpler script.
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

--
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 2 setpriority - issues

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
 Of Christopher Faylor

 On Tue, Sep 23, 2003 at 11:25:50AM -0400, Igor Pechtchanski wrote:
 On Tue, 23 Sep 2003, Hannu E K Nevalainen (garbage mail) wrote:
  $ man 2 getpriority
  ...
  SYNOPSIS
  ...
   int
   setpriority(int which, int who, int prio);
  ...
 
  $ man 2 setpriority
  No entry for setpriority in section 2 of the manual
 
  IMO this is very confusing IF you're not aware of it. I spent some time
  finding out.
 
 FWIW, I don't have manpage for getpriority on my system, and the
 search of
 Cygwin packages turned out nothing, so I have no idea which package
 contains it.  That being said, the usual solution for this problem is
 cd /usr/share/man/man2  ln -s getpriority.2 setpriority.2, which goes
 into the postinstall script for the package (whatever it is).

 Right.  cygwin doesn't export a [gs]etpriority, so if some package is
 exporting it, that is...  interesting.

 Also note:

 http://cygwin.com/cgi-bin2/package-grep.cgi?grep=man2%2F

 which shows that no package contains a 'man2/' string.  This indicates
 that the getpriority man page probably didn't come from a standard
 cygwin package.


You're both fully correct; I have fooled myself once again:

$ echo $MANPATH
/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man
:/cygdrive/e/Amiga/GG/man

$ man -W 2 getpriority
/cygdrive/e/Amiga/GG/man/man2/getpriority.2

This is manpages that comes with an old version of geekgadgets
(www.geekgadgets.org) - a project that reflects cygwin, but on/for AmigaOS.

Conclusion: Remember the above, or remove that last MANPATH-item. ,:-I



 Then; PRIO_PROCESS mentioned later in the manpage doesn't seem to be
 defined anywhere in the include files...
 
 $ cd /usr/include/ $ grep PRIO_PROCESS * $
 
 Try find /usr/include -type f | xargs grep -H PRIO_PROCESS.

 If it does find something, it isn't going to be useful.

$ find /usr/include -type f | xargs grep -H PRIO_PROCESS
$
i.e. nothing...

 Any pointers on where to find it - or how to bypass this when it gets
 used in something you wish to build?

Neither of you commented on this - which, for me, is a greater concern. I'm
not going to say that it is _important_, but I'd like to read some words
about it.
 e.g: Is this a low priority thing, doesn't Win have something that allows
an easy implementation, or...

 Googling on [gs]etpriority turns upp hits in glibc-hacker only. Nothing
cygwin related.

 http://www.cygwin.com/ml/libc-hacker/2002-07/msg00013.html seems to
 contain a diff on resources.h that adds (removes?) PRIO_PROCESS and
 friends.  Is this a correct change to apply?

 I'm not sure why we are talking about IBM S390 (!) changes to glibc
 (!!!) in the cygwin mailing list.

 Well, I obviously had my eyes more on the fact that there was a patch
removing/inserting PRIO_PROCESS into resources.h - not really checking WHERE
the google hits came from (as I had typed site:cygwin.com I didn't expect
deviations from that).
 Now I realize that both hits I got was rather irrelevant.

 In case you don't know it, cygwin.com == sources.redhat.com.
 The mailing list archives for the cygwin mailing list are mixed with
 the archives for all of the other mailing lists on sources.redhat.com.
 See http://sources.redhat.com/lists.html for a list of mailing lists on
 sources.redhat.com.

I'm taking notes :-) - thanks!

 Is there words about using google on site:cygwin.com in the FAQ or some
such? This note might need to be added there... (or a modified version).

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST - UTC+02  --
--END OF MESSAGE--


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



libiberty.a present in 3 packages

2003-09-23 Thread Frédéric L. W. Meunier
binutils
cygwin
gcc (not gcc2)

What's the right version ? It seems the last package installed
overwrites it, so I have the one from cygwin.

-- 
How to contact me - 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: Problem with perl distro?

2003-09-23 Thread DePriest, Jason R.
 Igor Pechtchanski said
 Peter,
 
 $screen was uninitialized.  Changing it to 'my $screen = ' 
 eliminates
 the warnings in the simpler script.
   Igor
 -- 

Igor,

Great job!  This seems to fix it under Cygwin perl 5.8.0-5, but I still
get errors using ActiveState Perl for Windows.  Which probably means
(unless Peter cannot get this fix working under Cygwin) that we should
take it off the list.

You are too fast... I had narrowed it down to that particular elsif, but
hadn't caught the problem yet...

-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: Problem with perl distro?

2003-09-23 Thread Gerrit P. Haase
Hello,

do `export PERLIO=crlf` before running the script, or save it without
DOS line endings.

Other problems:

This line:
AACE_1.ADDR LINE1:

or this:
AACE_1.CITY_0:

will not be matched with this regex: /^(\w+):$/)
Quotes and points are usually not in words included.



Gerrit
-- 
=^..^=


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



Re: Problem with perl distro?

2003-09-23 Thread Gerrit P. Haase
Igor,

 $screen was uninitialized.  Changing it to 'my $screen = ' eliminates
 the warnings in the simpler script.

But that was only half the problem, try the following, save it in DOS
Format with CR/LF line endings and run the script, then save it in Unix
Format with LF line endings and run again, see the difference?

To work around this feature if you need to `export PERLIO=crlf` when you
want to use crlf files.  Hmmm, this is ugly...I'll need think about it a
little longer now.


Gerrit
-- 
=^..^=


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



Re: Problem with perl distro?

2003-09-23 Thread Gerrit P. Haase
Igor schrieb:


 $screen was uninitialized.  Changing it to 'my $screen = ' eliminates
 the warnings in the simpler script.
 Igor

Both are not initialized (the third was not used anyway, so I deleted
it.

# Variables used in loop
my $screen = ;
my $fldname = ;

But still what I wrote earlier (but did not arrive at the list), this line:

AACE_1.ADDR LINE1:

or this one:
AACE_1.CITY_0:

will not be matched with this regex: /^(\w+):$/)
Quotes and points are usually not in words included.

So I'm getting this output (when saving in Unix line ending format):

$ ./testgui.pl
Screen name: AACE_1
Start of block
(ignored)
(ignored)
(ignored)
End of block
Start of block
(ignored)
(ignored)
End of block
(ignored)
Start of block
(ignored)
ID for field : 734
End of block
[...]


Gerrit
-- 
=^..^=


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



procmail not writing mbox file properly?

2003-09-23 Thread Matthew Rich
I just moved to cygwin from debian linux and am having some problems setting up my 
email. I use mutt, fetchmail, and procmail. procmail writes most of my mail to ~/mbox, 
my main mbox file. However, I noticed that mutt was not picking up the messages 
written to ~/mbox by procmail.

I set up mutt to poll my pop3 server itself, and when it does this it writes to the 
mbox file properly. Also, I looked at my old mbox file from my linux machine and I 
figured out what's wrong: procmail on cygwin is not writing the leading From line for 
each message. Thus mutt is just ignoring the messages it writes. Note that procmail 
(the same version, 3.22) *was* writing this line on debian.

For example, the first few lines of each message in the mbox file should look like:

From [EMAIL PROTECTED] Tue Jul 01 09:15:07 2003
Return-path: [EMAIL PROTECTED]
Envelope-to: [EMAIL PROTECTED]
Delivery-date: Tue, 01 Jul 2003 09:15:07 -0500

But with procmail on cygwin, I'm just getting:

Received: from bar.com [168.143.80.100]
by localhost with POP3 (fetchmail-6.2.4)
for [EMAIL PROTECTED] (single-drop); Tue, 23 Sep 2003 13:49:53 -0500 (CST)
Received: from cujo.runbox.com (193.71.199.138)
by mail01d.rapidsite.net (RS ver 1.0.86vs) with SMTP id 3-0850523058
for [EMAIL PROTECTED]; Tue, 23 Sep 2003 14:50:59 -0400 (EDT)
Received: from [10.9.9.15] (helo=odie.runbox.com)
by lufsen.runbox.com with esmtp (Exim 4.20)
id 1A1sFY-0005RV-Lj
for [EMAIL PROTECTED]; Tue, 23 Sep 2003 20:51:00 +0200
Received: from mail by odie.runbox.com with local (Exim 4.20)
id 1A1sFF-00024v-LY
for [EMAIL PROTECTED]; Tue, 23 Sep 2003 20:50:41 +0200
Content-Type: text/plain; charset=iso-8859-1

etc. Namely, it starts right in with the Received: headers, without ever writing the 
From line. If I just add in a dummy From line copied from another message in the mbox 
file, mutt can then read the message written by procmail.

Anyone know what's going on? 





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



RE: Problem with perl distro?

2003-09-23 Thread Peter M Aarestad


-- DePriest, Jason R. [EMAIL PROTECTED] wrote:


 Great job!  This seems to fix it under Cygwin perl 5.8.0-5, but I still
 get errors using ActiveState Perl for Windows.  Which probably means
 (unless Peter cannot get this fix working under Cygwin) that we should
 take it off the list.

Interesting. I'm checking my email on the run right now and will look at this later 
tonight to see if I can recreate this (I have a similar setup at home, only on WinXP 
instead of WinNT). Thanks for your quick answers, all. 

-peter


The best thing to hit the internet in years - NetZero HiSpeed!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month -visit www.netzero.com to sign up 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: FYI: bladeenc - fairly easy port.

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)
 From: Gerrit P. Haase

 Hannu schrieb:

  Approximate speed difference:
   -O2 runs 1.75x speed
   -O0 runs 0.75x speed (P2/450!)
   -O0: All operations completed. Total encoding time: 00:47:46
   -O2: All operations completed. Total encoding time: 00:20:04

As I did try this, I'll show it too... ;-P
--
-O3:

$ nice --adjustment=-20 bladeencO3 B5_SoLong.wav

BladeEnc 0.94.2(c) Tord JanssonHomepage:
http://bladeenc.mp3.no

===
BladeEnc is free software, distributed under the Lesser General Public
License.
See the file COPYING, BladeEnc's homepage or www.fsf.org for more details.

Files to encode: 1

Encoding:  B5_SoLong.wav
Input: 44.1 kHz, 16 bit, stereo.
Output:128 kBit, stereo.

Completed. Encoding time: 00:01:34 (1.94X)
--
md5sum ok.


 I guess it will be faster when using a native Windows (non Cygwin based)
 version.  Is there also a Windows port available?

Is this to get a reference on the speed difference  cygwin vs native?

Hmm... it has no GUI, so it is cmd version, if anything :-)
(Though there seems to be separate gui frontends available)

All prebuilt binaries are from 2001.
Just as the source; it seems to have been stale since then.

Same P2/450 again - as always:
--
...
Encoding:  B5_SoLong.wav
Input: 44.1 kHz, 16 bit, stereo.
Output:128 kBit, stereo.

Completed. Encoding time: 00:01:12 (2.54X)
--
The output is exactly the same amount of bytes.
But md5sums differ on three of the mp3's.
Probably due to diffrent c.o++


  How fast is it compared with the Cygwin version?

Answer: Approximately 20-40% faster in cmd native mode

IMO the better compatibility with the other cygwin tools is worth more
than the extra speed. This of course reflects that I mostly encode my own LP
records, at most one per week. For archiving - and to be able to create CD
copies for my personal use. (I see the LP's as collectors items - i.e. I
use them as little as possible).

Hmm... As I looked for that prebuilt binary I found a DLL version of the
encoder. I wonder what difference it would make to have a cygwin frontend
based on that...
Well, I think I'll let that be a future project.


/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST - UTC+02  --
--END OF MESSAGE--


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



Solved: Windows 2k crash while processing big bash script

2003-09-23 Thread -TifsSoft-
Re, Brian,

Tuesday, September 23, 2003, 6:32:39 PM, you wrote:

BF I hate to point to the obvious, but it does not seem that anyone has
BF pointed to this thread as a possible explanation:

BF http://sources.redhat.com/ml/cygwin/2003-08/msg00521.html

BF It looks fairly relevant to me.

YES!!! It's all because of Agnitum Outpost Firewall 2 Pro. All goes fine
when outpost is uninstalled. Thanks you very much, you are really make my
life easy :) By the way, thanks to all who help me solve this.

P.S. I think it's will be a good idea to store information about
trouble with outpost firewall at FAQ or Known problems...
-- 
Best regards,
 -TifsSoft-mailto:[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/



Latest GCC has mbstate_t problem

2003-09-23 Thread Peter J. Stieber
I'm using cygwin v1.5.5 under Win2K.

uname -a
CYGWIN_NT-5.0 lisa 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown
Cygwin

cygcheck -s -v -r is attached.


A long time ago (11/7/2002) I reported a problem with GCC 3.2 20020818 that
involved the mbstate_t structure. cgf quickly fixed it back then. It seems
to be back. The following is a simple test case.



#include iostream
#include wchar.h
using namespace std;
int main()
{
  cout  Hello world.  endl;
}



Attempt a compile with

g++ -v -Wall Sample.cpp

will result in the following (sorry for the line wrapping)

Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with:
/netrel/src/gcc-3.3.1-1/configure --enable-languages=c,c++,f77,
java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls 
--wi
thout-included-gettext --enable-interpreter --enable-sjlj-exceptions --disab
le-v
ersion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i6
86-p
c-cygwin --target=i686-pc-cygwin --prefix=/usr --exec-prefix=/usr --sysconfd
ir=/
etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sb
in
Thread model: posix
gcc version 3.3.1 (cygming special)

/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/cc1plus.exe -quiet -v -D__GNUC__=3 -D_
_GN
UC_MINOR__=3 -D__GNUC_PATCHLEVEL__=1 -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__
unix
__ -D__unix -idirafter
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../include
/w32api -idirafter /usr/local/lib/../../include/w32api
Sample.cpp -D__GNUG__=3 -
quiet -dumpbase Sample.cpp -auxbase Sample -Wall -version -o /tmp/ccdIx2kf.s
GNU C++ version 3.3.1 (cygming special) (i686-pc-cygwin)
compiled by GNU C version 3.3.1 (cygming special).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=131006
ignoring nonexistent directory /usr/i686-pc-cygwin/include
ignoring duplicate directory /usr/include/w32api
#include ... search starts here:
#include ... search starts here:
 /usr/include/c++/3.3.1
 /usr/include/c++/3.3.1/i686-pc-cygwin
 /usr/include/c++/3.3.1/backward
 /usr/local/include
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include
 /usr/include
 /usr/include/w32api
End of search list.
In file included from Sample.cpp:2:
/usr/include/wchar.h:38: error: conflicting types for `typedef struct
   _mbstate_t mbstate_t'
/usr/include/c++/3.3.1/cwchar:65: error: previous declaration as `typedef
   struct mbstate_t mbstate_t'

TIA
Pete


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

Re: Solved: Windows 2k crash while processing big bash script

2003-09-23 Thread Luc Hermitte
Hello,

* On Wed, Sep 24, 2003 at 01:52:49AM +0300, -TifsSoft- [EMAIL PROTECTED] wrote:
 YES!!! It's all because of Agnitum Outpost Firewall 2 Pro. All goes
 fine when outpost is uninstalled. Thanks you very much, you are really
 make my life easy :) By the way, thanks to all who help me solve this.

BTW, if someone finds out a way to solve this without uninstalling
outpost, I'm interrested. I've tried shutdown the corresponding service,
to not start it after reboot and some other things like that, but I
didn't have any luck: impossible to compile mutt on the firewalled
machine.

 P.S. I think it's will be a good idea to store information about
 trouble with outpost firewall at FAQ or Known problems...

Unless someone experiment the same problem but with another
configuration, it is good idea.

Regards,
-- 
Luc Hermitte

--
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: Latest GCC has mbstate_t problem

2003-09-23 Thread Christopher Faylor
On Tue, Sep 23, 2003 at 04:08:25PM -0700, Peter J. Stieber wrote:
I'm using cygwin v1.5.5 under Win2K.

uname -a
CYGWIN_NT-5.0 lisa 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown
Cygwin

cygcheck -s -v -r is attached.

I'll generate a fix.

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



feature requests for setup

2003-09-23 Thread peter garrone
Hi, I thought I would note some desirable features in setup
that would save dickheads such as myself much time.

- Have setup check with the mirror to see if the setup program itself 
   has been upgraded. For people who dont read announcements.

- If installing from the local directory, possibly only do the MD5
  checksum for packages that are actually going to be installed,
  because it now checks every package whenever it starts. Or
  at least after an install cycle is complete, allow an option to go back,
  so the recheck can skipped, or even both these ideas.

- That packages directory default. Sometimes setup drops packages
  from its default, allowing very wierd directory hierarchies indeed,
  if downloading from somewhere. From bitter experience, I always make
  sure this particular field ends in packages.

- Have some of those little popup messages on the title, i.e. b - binary,
  s-source, after an interval the only b and s I can think of is
  bachelors and spinsters. resizeable window perhaps.

Dont get me wrong, my admiration for setup is boundless, mainly because
it is the only thing that can punch through our corporate firewall, besides
internet explorer. Be great to have source for it, or at least a cvs grab
utility based on it.
  
-- 
__
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

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