Update: lftp 2.6.10-2

2004-02-27 Thread marklist
I have updated the lftp package to 2.6.10-2. Please upload at your earliest
convenience.

[CHANGEME: A partial list of what was wrong with the earlier submission.]

lftp-2.6.10-2 is available from:

BIN
http://blackburn.homeip.net/cygwin-packages/release/lftp/lftp-2.6.10-2.tar.bz2

SRC
http://blackburn.homeip.net/cygwin-packages/release/lftp/lftp-2.6.10-2-src.tar.bz2

HINT http://blackburn.homeip.net/cygwin-packages/release/lftp/setup.hint

MD5SUM d5c9a94cadf3944bf5253ed027563d9b *lftp-2.6.6-2-src.tar.bz2
42cb1a647fae2dfc1d001ad7f18a62ec *lftp-2.6.6-2.tar.bz2

Thanks.


Re: Update: lftp 2.6.10-2

2004-02-27 Thread Mark Blackburn
Sorry, I forgot to review that message before I hit send.

[EMAIL PROTECTED] wrote:

I have updated the lftp package to 2.6.10-2. Please upload at your earliest
convenience.
[CHANGEME: A partial list of what was wrong with the earlier submission.]
 

Previous submission wasn't compiled with SSL support.

lftp-2.6.10-2 is available from:

BIN
http://blackburn.homeip.net/cygwin-packages/release/lftp/lftp-2.6.10-2.tar.bz2
SRC
http://blackburn.homeip.net/cygwin-packages/release/lftp/lftp-2.6.10-2-src.tar.bz2
HINT http://blackburn.homeip.net/cygwin-packages/release/lftp/setup.hint

MD5SUM d5c9a94cadf3944bf5253ed027563d9b *lftp-2.6.6-2-src.tar.bz2
42cb1a647fae2dfc1d001ad7f18a62ec *lftp-2.6.6-2.tar.bz2
Thanks.
 

Thanks.
Mark Blackburn


Re: Update: lftp 2.6.10-2

2004-02-27 Thread Daniel Reed
On 2004-02-27T22:50-, [EMAIL PROTECTED] wrote:
) I have updated the lftp package to 2.6.10-2. Please upload at your earliest
) convenience.
) http://blackburn.homeip.net/cygwin-packages/release/lftp/lftp-2.6.10-2.tar.bz2
) http://blackburn.homeip.net/cygwin-packages/release/lftp/lftp-2.6.10-2-src.tar.bz2
) HINT http://blackburn.homeip.net/cygwin-packages/release/lftp/setup.hint

Uploaded, and I removed 2.6.10-1, leaving 2.6.8-3 as prev.

-- 
Daniel Reed [EMAIL PROTECTED] http://naim-users.org/nmlorg/   http://naim.n.ml.org/
I don't believe in making something user friendly just for the sake of
being user friendly, though; if you're decreasing the users' available
power, you're not really being all that friendly to them.


Re: Multi-window problems on remote clients

2004-02-27 Thread Nigel Hathaway
To repeat what I said in previous postings...

THIS CAUSES THE SYMPTOMS DESCRIBED ---

C:\cygwin\usr\X11R6\bin\XWin.exe -multiwindow -nowinkill -once -broadcast

--

THIS CAUSES IT TO WORK OK-

C:\cygwin\usr\X11R6\bin\XWin.exe -multiwindow -nowinkill -once -broadcast
-clipboard

--

Conclusion: the problem has something to do with clipboard functionality,
and the log seems to bear this out.

Okay, now send us either the command line that you use to start XWin.exe
or your startxwin.bat (or whatever script file you are using).

It looks like you are doing something to disable the access method that
the multi window window manager is using to communicate with the X Server.

Harold



Barnabas Projects Limited
Tel: +44 117 937 4197
Internet: http://www.bprj.co.uk



Re: XFree86-xserv-4.3.0-47 copy/paste trouble and BadAtom.

2004-02-27 Thread Keith Thompson
On Thu, Feb 26, 2004 at 03:00:42PM -0500, Igor Pechtchanski wrote:
 On Thu, 26 Feb 2004, Keith Thompson wrote:
 
  It looks like the problem has to do with the new OpenSSH package.
 
  I tried logging into my Solaris box using SecureCRT, a Windows SSH client,
  and then starting up an xterm from there; cut-and-paste worked correctly.
 
  Now I've re-upgraded all the XFree86 packages and downgraded OpenSSH to
  OpenSSH_3.7.1p2, and cut-and-paste still works correctly.
 
  It looks like there's a problem with X forwarding in the new OpenSSH
  package.
 
 From the new OpenSSH-3.8p1-1 announcement:
 
 * ssh(1) now uses untrusted cookies for X11-Forwarding.
   Some X11 applications might need full access to the X11 server,
   see ForwardX11Trusted in ssh(1) and xauth(1) for more information.

Thanks.  Adding
ForwardX11Trusted yes
to my $HOME/.ssh/config did the trick.

(Oddly, I never saw the problem on my Windows 2000 system, only on
Windows XP.)

-- 
Keith Thompson (The_Other_Keith) [EMAIL PROTECTED]  http://www.ghoti.net/~kst
San Diego Supercomputer Center   *  http://www.sdsc.edu/~kst
Schroedinger does Shakespeare: To be *and* not to be


Re: Multi-window problems on remote clients

2004-02-27 Thread Takuma Murakami
 C:\cygwin\usr\X11R6\bin\XWin.exe -multiwindow -nowinkill -once -broadcast

I don't think -multiwindow with XDMCP is supported.

Takuma Murakami



Re: XFree86-xserv-4.3.0-47 copy/paste trouble and BadAtom.

2004-02-27 Thread Virgilio, Vincent

Keith and Igor, thanks for this thread

http://cygwin.com/ml/cygwin-xfree/2004-02/msg00288.html.

The reasoning is still beyond my ken, mostly because I haven't yet
digested the right set of man pages.

Nonetheless, it solved my problem, as described in

http://cygwin.com/ml/cygwin-xfree/2004-02/msg00262.html,

which was my just dessert for wielding Cygwin setup.exe so freely.

(I'm not on the cygwin-xfree list anymore, hence the links instead of a
simpler 'reply'.)

Incidentally, should I be seeing

Warning: No xauth data; using fake authentication data for X11
forwarding.

when using ssh and X-forwarding (now with ForwardX11Trusted = yes)? It
looks like I have cookies in the right place. xauth report the same ones
on both the local and remote machine. Though, I have gnawing concerns
about the host part of the display name in those cookies; the
(alphabetic) cases do not match. Hum. I should try to share cookies
again (xauth extract, scp, xauth merge).

Ultimately, the above message is only unaesthetic; I haven't noticed
that it impacts performance.

Thanks and regards,

Vince Virgilio


This email and any files transmitted with it are proprietary and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email
in error please notify the sender. Please note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent those of 
ITT Industries, Inc.
The recipient should check this email and any attachments for the presence of viruses. 
ITT Industries accepts no liability for any damage caused by any virus transmitted by 
this
email.



RE: XFree86-xserv-4.3.0-47 copy/paste trouble and BadAtom.

2004-02-27 Thread Andrew Braverman
That solved my problem as well.  Thanks.

-Andy

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Igor Pechtchanski
 Sent: Thursday, February 26, 2004 3:01 PM
 To: [EMAIL PROTECTED]
 Cc: Keith Thompson
 Subject: Re: XFree86-xserv-4.3.0-47 copy/paste trouble and BadAtom.
 
 
 On Thu, 26 Feb 2004, Keith Thompson wrote:
 
  It looks like the problem has to do with the new OpenSSH package.
 
  I tried logging into my Solaris box using SecureCRT, a 
 Windows SSH client,
  and then starting up an xterm from there; cut-and-paste 
 worked correctly.
 
  Now I've re-upgraded all the XFree86 packages and 
 downgraded OpenSSH to
  OpenSSH_3.7.1p2, and cut-and-paste still works correctly.
 
  It looks like there's a problem with X forwarding in the new OpenSSH
  package.
 
 From the new OpenSSH-3.8p1-1 announcement:
 
 * ssh(1) now uses untrusted cookies for X11-Forwarding.
   Some X11 applications might need full access to the X11 server,
   see ForwardX11Trusted in ssh(1) and xauth(1) for more information.
 
 Haven't looked further...
   Igor
 -- 
   http://cs.nyu.edu/~pechtcha/
   |\  _,,,---,,_  [EMAIL PROTECTED]
 ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
 '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
 
 I have since come to realize that being between your mentor 
 and his route
 to the bathroom is a major career booster.  -- Patrick Naughton
 
 



Re: Multi-window problems on remote clients

2004-02-27 Thread Harold L Hunt II
Takuma Murakami wrote:
C:\cygwin\usr\X11R6\bin\XWin.exe -multiwindow -nowinkill -once -broadcast


I don't think -multiwindow with XDMCP is supported.
Takuma is right.  The Multi-Window Window Manager is, as the name 
implies, a window manager; logging into a remote machine via Xdmcp 
(using the -broadcast, -query, or -indirect command-line parameters) 
causes the remote machine to start a window manager.  You can only have 
one window manager at a time for a given display and screen.

In addition, you are seeing strange behavior when using -clipboard 
because -clipboard enables some code that allows clients on your local X 
machine to connect to the X Server when you are using Xdmcp.  Oddly 
enough, Xdmcp usually disables access for clients local to the X Server 
and it requires that all X clients know a certain magic cookie in 
order to be able to connect.  The clipboard code adds an internal magic 
cookie that allows the clipboard client to connect; it looks like a 
side-effect of this is that the window manager is also able to connect 
sometimes.

You bring up another interesting point that I have not specifically 
tested: whether -clipboard works with -broadcast.  I know that the 
clipboard manager generally works with -query for Xdmcp, but there is a 
slight possibility that it would not work with -broadcast.  However, I 
suspect that your problems with the clipboard support will go away when 
you remove the -multiwindow parameter.

I think I will add some checks to the server now that cause the 
-multiwindow flag to be overridden if -query, -broadcast, or -indirect 
is specified.

Harold


Re: Multi-window problems on remote clients

2004-02-27 Thread Jim Scheef
Hello,

Wow, I actually get an opprotunity to contribute!

I use Xdmcp with -multiwindow and it works fine. You just need to use the
Xnest client/server to provide a 'window' for the remote machine. The
command... 

$ Xnest :1 -query host

gets it going.

Jim

--- Harold L Hunt II [EMAIL PROTECTED] wrote:
 Takuma Murakami wrote:
 C:\cygwin\usr\X11R6\bin\XWin.exe -multiwindow -nowinkill -once -broadcast
  
  
  I don't think -multiwindow with XDMCP is supported.
 
 Takuma is right.  The Multi-Window Window Manager is, as the name 
 implies, a window manager; logging into a remote machine via Xdmcp 
 (using the -broadcast, -query, or -indirect command-line parameters) 
 causes the remote machine to start a window manager.  You can only have 
 one window manager at a time for a given display and screen.
 
 In addition, you are seeing strange behavior when using -clipboard 
 because -clipboard enables some code that allows clients on your local X 
 machine to connect to the X Server when you are using Xdmcp.  Oddly 
 enough, Xdmcp usually disables access for clients local to the X Server 
 and it requires that all X clients know a certain magic cookie in 
 order to be able to connect.  The clipboard code adds an internal magic 
 cookie that allows the clipboard client to connect; it looks like a 
 side-effect of this is that the window manager is also able to connect 
 sometimes.
 
 You bring up another interesting point that I have not specifically 
 tested: whether -clipboard works with -broadcast.  I know that the 
 clipboard manager generally works with -query for Xdmcp, but there is a 
 slight possibility that it would not work with -broadcast.  However, I 
 suspect that your problems with the clipboard support will go away when 
 you remove the -multiwindow parameter.
 
 I think I will add some checks to the server now that cause the 
 -multiwindow flag to be overridden if -query, -broadcast, or -indirect 
 is specified.
 
 Harold


__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools


Re: XFree86-xserv-4.3.0-47 copy/paste trouble and BadAtom.

2004-02-27 Thread Alexander Gottwald
Virgilio, Vincent wrote:

 when using ssh and X-forwarding (now with ForwardX11Trusted = yes)? It
 looks like I have cookies in the right place. xauth report the same ones
 on both the local and remote machine. Though, I have gnawing concerns
 about the host part of the display name in those cookies; the
 (alphabetic) cases do not match. Hum. I should try to share cookies
 again (xauth extract, scp, xauth merge).

It is an issue how the xserver handles untrusted clients. Until openssh
3.8 all clients forwarded by ssh were trusted by default. Now they are
untrusted by default.

I have no complete overview what the X11 Security Extension works and
which functions are prohibited but I'll take a look and try to match
this with the described error pattern.

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


Re: Multi-window problems on remote clients

2004-02-27 Thread Harold L Hunt II
Jim Scheef wrote:
Hello,

Wow, I actually get an opprotunity to contribute!

I use Xdmcp with -multiwindow and it works fine. You just need to use the
Xnest client/server to provide a 'window' for the remote machine. The
command... 

$ Xnest :1 -query host

gets it going.
Jim,

Heh heh... while this is true, it is a less than ideal way to do things. 
 In fact, you can do this with XWin.exe just fine:

REM Start a local server with multi-window on display 0
XWin :0 -multiwindow -clipboard
REM Start an Xdmcp session on display 1
XWin :1 -query host -clipboard -nodecoration -lesspointer
That gives you two independent instances of XWin and it doesn't use 
Xnest, which will improve performance and the behavior of the Xdmcp 
session (Xnest is known to have a few quirks where things don't work 
quite right, such as the screen sometimes blanking then redrawing).

Let me know if that fits your needs.  I should probably add a few 
examples of how Xdmcp can be used to the User's Guide and this is one 
that I would add if it is useful.

Harold


Re: XFree86-xserv-4.3.0-47 copy/paste trouble and BadAtom.

2004-02-27 Thread Harold L Hunt II
Alexander,

Alexander Gottwald wrote:

Virgilio, Vincent wrote:


when using ssh and X-forwarding (now with ForwardX11Trusted = yes)? It
looks like I have cookies in the right place. xauth report the same ones
on both the local and remote machine. Though, I have gnawing concerns
about the host part of the display name in those cookies; the
(alphabetic) cases do not match. Hum. I should try to share cookies
again (xauth extract, scp, xauth merge).


It is an issue how the xserver handles untrusted clients. Until openssh
3.8 all clients forwarded by ssh were trusted by default. Now they are
untrusted by default.
Wow, good thing I haven't commented on this yet.  I upgraded to OpenSSH 
3.8 when it came out and since then have noticed that all of my ssh 
connections (even those done by cvs) were enabling X11 forwarding by 
default.  I thought this was interesting, particularly since it wasn't 
mentioned in the release notes.  I was just about to describe how this 
change was made in OpenSSH 3.8 and how I am really smart because I am 
the only one that noticed it... then I realized:

1) My ssh_config is modified to enable X11Forwarding (I don't have to 
use -X, but I always do because I had forgotten that I changed this 
default).

2) I had installed SFU 3.5 at about the same time that I upgraded to 
OpenSSH 3.8.  Turns out that SFU 3.5 adds DISPLAY=127.0.0.1:0.0 to the 
global environment variables.

The combination of these two meant that ssh was acting as if it was 
getting passed a -X and it had a valid DISPLAY value at all times, so it 
was enabling X11 forwarding at all times.

I was wondering if this change in behavior meant that our multi-window 
window manager would be unable to connect to the server when an ssh 
session had been opened on the local machine already.  I did some 
testing but was not able to cause this to happen.  In any case, my great 
ideas for what was causing this problem are useless :)

Harold


Re: XFree86-xserv-4.3.0-47 copy/paste trouble and BadAtom.

2004-02-27 Thread Alexander Gottwald
Harold L Hunt II wrote:

 I was wondering if this change in behavior meant that our multi-window
 window manager would be unable to connect to the server when an ssh
 session had been opened on the local machine already.  I did some
 testing but was not able to cause this to happen.  In any case, my great
 ideas for what was causing this problem are useless :)

More explanation i got from http://www.xfree86.org/~herrb/security.pdf

Any normal xclient connects in trusted mode. But openssh now connects
in untrusted mode. This is for security reasons. I'll describe later
why I think it's useless.

In untrusted mode some calls (esp. GetProperty and SetProperty) will fail.
This can be configured in /usr/X11R6/lib/X11/xserver/SecurityPolicy.

quote source=SecurityPolicy
# Allow reading of application resources, but not writing.
property RESOURCE_MANAGER   rootar iw
property SCREEN_RESOURCES   rootar iw

# Ignore attempts to use cut buffers.  Giving errors causes apps to crash,
# and allowing access may give away too much information.
property CUT_BUFFER0rootirw
property CUT_BUFFER1rootirw
/quote

The CUT_BUFFER entries may explain why the problems with copypaste started.

One way to solve the new problems is to modify the SecurityPolicy and
distribute it with the xserver. But this is complicated because
a) we have to figure out all properties which are safe to export
b) we may get responsible and sued for any security problem we create with
   these changes.

The other way is to enable X11ForwardTrusted by default. But again it is
(in my opinion) dangerous to explicitly disable a security method.

But anyway. I think the change to untrusted clients is very shortminded.

Most users will get annoyed with not working software and skip the whole
X11Forwarding issue and use xhost + again. This is a severe loss of
security.

If a lot of software requires access to properties which are blocked in
untrusted mode then most people will enable the switch. Only a few will
ever want the clients to connect in untrusted mode.

bye
ago

NP: grauzone.04-02-15
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: Can I change sfuuser's password ?

2004-02-27 Thread Thorsten Kampe
* lau bella (2004-02-27 08:20 +0100)
 In Cygwin 1.3.10 (win2k SP3 Advanced Server) , sfuuser
 password is same as username. 

Aah, Cygwin 1.3.10. This is antique!

 1. For security reason, can I change the sfuuser
 password ?

Yes.

 Any impact ?

Maybe - as for any user account, services might be started under that
account.

 2. What's the usage and privilege of sfuuser ? 

Don't know. SFU = Microsoft Services for Unix - ask Microsoft.

 3. If changing sfuuser password is not recommended,
 any method to mininize the security impact ?

UPDATE Cygwin and disable the account and update the SP of Windows
2000.

Thorsten


--
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: 'less' can not find dll

2004-02-27 Thread Thorsten Kampe
* MEA-MikeFriedrichs (2004-02-27 06:38 +0100)
 I just installed Cygwin from the net, and having problems with 'less'. Its 
 always looking for '/bin/cygpcre-0.dll'
 but not found in the path.
 
 I've searched all partitions with no success.
 
 find / -name *less*

Errm, did it say less: not found? Wouldn't make find / -name
cygpcre* make more sense?

 Where can I get the required 'dll' ?

* Setup Package Search
  http://cygwin.com/packages/
  
The name of the dll might lead you the right way.


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



1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Föllinger
Hi,

I have trouble to show german umlauts in bash command line in rxvt. All
I get are the following values:

$ \344\366\374
bash: äöü: command not found

I have set the following in .inputrc


$ less .inputrc
set input-meta on 
set convert-meta off 
set output-meta on 

The shell starts with 

D:\Programme\Cygwin\bin\rxvt.exe --scrollstyle next -fb 'Courier New-17' -fn 'Courier 
New-17' -e /usr/bin/bash -l -i 

Is there a way to show the umlauts rigth ?
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Feb 27 09:45:09 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   d:\programme\cygwin\usr\local\bin
d:\programme\cygwin\bin
d:\programme\cygwin\bin
d:\programme\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Programme\MSSQL7\BINN
d:\Programme\Apache Group\ant\bin
c:\Programme\Microsoft SQL Server\80\Tools\Binn\
c:\Nokia\Update_Manager\bin
d:\Programme\Nokia\Tools\Nokia_Developers_Suite_for_J2ME\bin
c:\PROGRA~1\CA\SHARED~1\SCANEN~1
c:\PROGRA~1\CA\ETRUST~1
d:\Programme\SFU\common\
d:\Programme\SFU\Perl\bin\
d:\programme\cygwin\usr\X11R6\bin
d:\programme\cygwin\usr\X11R6\bin
d:\programme\cygwin\usr\X11R6\bin

Output from d:\programme\cygwin\bin\id.exe (nontsec)
UID: 14189(of) GID: 545(Benutzer)
545(Benutzer)

Output from d:\programme\cygwin\bin\id.exe (ntsec)
UID: 14189(of) GID: 545(Benutzer)
544(Administratoren)545(Benutzer)
1004(Debuggerbenutzer)  10545(mkgroup-l-d)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

CYGWIN = `ntsec ntea tty'
HOME = `d:\Users\of'
LD_LIBRARY_PATH = `d:\programme\cygwin\usr\lib:\usr\X11R6\lib'
MAKE_MODE = `unix'
PWD = `/home/of'
USER = `of'

ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
ANT_HOME = `//D/Programme/Apache Group/ant'
APPDATA = `C:\Dokumente und Einstellungen\of\Anwendungsdaten'
AVENGINE = `C:\PROGRA~1\CA\SHARED~1\SCANEN~1'
CLASSPATH = `C:\Programme\Java\j2re1.4.1_01\lib\ext\QTJava.zip'
COLORFGBG = `0;default;15'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
COMPUTERNAME = `NBOF'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
DISPLAY = `:0'
EDITOR = `vi'
HOMEDRIVE = `H:'
HOMEPATH = `\'
HOMESHARE = `\\DCBLN01\home\of'
HOSTNAME = `nbof'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
INOCULAN = `C:\PROGRA~1\CA\ETRUST~1'
INTERIX_COMPILERDIR = `/dev/fs/e/Programme/Microsoft Visual Studio .NET/Vc7'
INTERIX_ROOT = `/dev/fs/D/Programme/SFU/'
INTERIX_ROOT_WIN = `D:\Programme\SFU\'
JAVA_HOME = `/D/Programme/JavaSoft/j2sdk1.4.2_02'
LC_CTYPE = `de_DE.ISO-8859-1'
LESS = `isrR'
LOGONSERVER = `\\DCBLN01'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/X11R6/man:/usr/ssl/man:/usr/man:/usr/local/man:/usr/man:/usr/local/man:/usr/man:/usr/local/man'
NNTPSERVER = `news'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OPENNT_ROOT = `/dev/fs/D/Programme/SFU/'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0803'
PROGRAMFILES = `C:\Programme'
PS1 = `\[\e]0;\l \w\007\n\t \[\e[36m\] [EMAIL PROTECTED] '
QTJAVA = `C:\Programme\Java\j2re1.4.1_01\lib\ext\QTJava.zip'
SFUDIR = `D:\Programme\SFU\'
SFUDIR_INTERIX = `/dev/fs/D/Programme/SFU/'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\temp'
TERM = `xterm'
TMP = `c:\temp'
TMPDIR = `d:\programme\cygwin\tmp'
TZ = `MET-1MEET'
USERDNSDOMAIN = `de.sesa.net'
USERDOMAIN = `DE-SESA-NET'
USERNAME = `of'
USERPROFILE = `C:\Dokumente und Einstellungen\of'
WINDIR = `C:\WINNT'
WINDOWID = `168034472'
XAPPLRESDIR = `/usr/X11R6/lib/X11/app-defaults'
XCMSDB = `/usr/X11R6/lib/X11/Xcms.txt'
XKEYSYMDB = `/usr/X11R6/lib/X11/XKeysymDB'
XNLSPATH = `/usr/X11R6/lib/X11/locale'
_ = `/usr/bin/cygcheck'
ftp_proxy = `http://www-cache:8080/'
http_proxy = `http://www-cache:8080/'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/'
  cygdrive flags = 0x002a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `d:\programme\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home
  (default) = `d:\Users'
  flags = 0x000a

Re: cygpath bug (windows 2000)

2004-02-27 Thread Christian Matuszewski
 At 08:02 AM 2/20/2004, Christian Matuszewski you wrote:
 Hello,
 
 the following command crashes:
 
 cygpath -p -m

/d
 
 with: Segmentation fault (core dumped)
 
 The contents of cygpath.exe.stackdump is:
 
 Exception: STATUS_ACCESS_VIOLATION at eip=61063500
 eax= ebx=64646464 ecx=0A0402ED edx=0022EB39 esi=0022EB4C
 edi=003A
 ebp=6B6E6C00 esp=0022EB40 program=C:\cygwin\bin\cygpath.exe
 cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
 Stack trace:
 Frame Function  Args
   6 [main] cygpath 1280 handle_exceptions: Error while dumping state
 (probably corrupted stack) 
 
 My system is:
 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3
 
 uname -a:
 CYGWIN_NT-5.0 foows0029 1.5.7(0.109/3/2) 2004-01-30 19:32 i686 unknown
 unknown
  Cygwin
 
 
 Try the latest snapshot http://cygwin.com/snapshots/.
 
 

Thank you very much, now cygpath doesn't crash anymore.

But is it necessary, that cygpath gives the error message:
cygpath: error converting /ddd...ddd - File or path name too long  ?
When i think of cygpath as a tool to convert strings, then it should work
with paths of arbitrary length.
Is this possible?


Christian Matuszewski

-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++


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



u2d and d2u : No such file or directory

2004-02-27 Thread fergus
Odd, this?

I have never found (or can't remember ever finding) a Cygwin file-processing
executable that does not also work from a Windows cmd prompt (e.g. ls, cat,
fmt, rm, md5sum, sort, ... [many]).

But, using both 1.5.7 20040130 and 1.5.8s 20040225, and operating from a
Windows cmd prompt on a small 3-line ASCII file test.fil, I get the
following two failures:

u2d test.fil
test.fil:
u2d processing test.fil: No such file or directory

d2u test.fil
test.fil
d2u processing test.fil: No such file or directory

Both these commands DO work in a bash shell.

(By the way I just noticed that if test.fil is DOS-terminated, then fmt
returns just the last line of test.fil. This may actually be a correct
behaviour, but it seemed weird to me.)

Fergus


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



Re: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Thorsten Kampe
* Olaf Föllinger (2004-02-27 09:49 +0100)
 I have trouble to show german umlauts in bash command line in rxvt.

What about zsh (or another shell) and the standard Cygwin Console?

 I get are the following values:
 
 $ \344\366\374
 bash: äöü: command not found
 
 I have set the following in .inputrc
 
 $ less .inputrc
 set input-meta on 
 set convert-meta off 
 set output-meta on 

This is the canonic way. Make sure that the file is sourced. But I
have no problems here - although typing non-ascii characters in a
shell doesn't make sense. The only use is showing files with ls or d -
which is not a shell thing.

Thorsten


--
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: cygpath bug (windows 2000)

2004-02-27 Thread Hughes, Bill
 Sent: 27 February 2004 10:43 From: Christian Matuszewski 
..snip..
  
  Try the latest snapshot http://cygwin.com/snapshots/.
  
  
 
 Thank you very much, now cygpath doesn't crash anymore.
 
 But is it necessary, that cygpath gives the error message:
 cygpath: error converting /ddd...ddd - File or path name too long  ?
 When i think of cygpath as a tool to convert strings, then it 
 should work
 with paths of arbitrary length.
 Is this possible?

Unless Microsoft have changed something there is a maximum path length of
255 on windows so cygpath working with arbitrary length strings is a bit
pointless.

This e-mail transmission is strictly confidential and intended solely
for the person or organisation to whom it is addressed. It may contain
privileged and confidential information and if you are not the intended
recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email in error, please reply to the
sender as soon as possible and delete the message. Please note that we
are able to, and reserve the right to, monitor e-mail communications
passing through our network.

The views expressed in this email are not that of the company unless
specified within the message.

The inclusion of this footnote indicates that the mail message and any
attachments have been checked for the presence of known viruses.

If you have any comments regarding our policy please direct them to
[EMAIL PROTECTED]

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com


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



Re: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Föllinger
On Fri, Feb 27, 2004 at 12:35:23PM +0100, Thorsten Kampe wrote:
 * Olaf Föllinger (2004-02-27 09:49 +0100)
  I have trouble to show german umlauts in bash command line in rxvt.
 
 What about zsh (or another shell) and the standard Cygwin Console?

$ zsh
\[\e]0;\l \w\007\n\t \[\e[36m\] [EMAIL PROTECTED]
zsh: command not found: \M-d\M-v\M-|

Changes the problem fron shell to rsponse.

  I get are the following values:
  
  $ \344\366\374
  bash: äöü: command not found
  
  I have set the following in .inputrc
  
  $ less .inputrc
  set input-meta on 
  set convert-meta off 
  set output-meta on 
 
 This is the canonic way. Make sure that the file is sourced. 

The file is sourced, without this it wouldn't show the escaped
sequences.

 But I
 have no problems here - although typing non-ascii characters in a
 shell doesn't make sense. The only use is showing files with ls or d -
 which is not a shell thing.

Final goal is to show the € character rigth in vi and mutt. So I
thought the shell is a good start. Is it?
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG

Alt-Moabit 91a
D-10559 Berlin
Germany
Tel:   +49 30 390722 -291
Fax:   +49 30 390722 -222
Mobil: +49 173 6227080
http://www.sesa.de
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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Morche Matthias
Just to be sure, type the following command:
bind -v :
$ bind -v
set blink-matching-paren on
set byte-oriented on
set completion-ignore-case off
set convert-meta off
set disable-completion off
set enable-keypad off
set expand-tilde off
set history-preserve-point off
set horizontal-scroll-mode off
set input-meta off
set mark-directories on
set mark-modified-lines off
set mark-symlinked-directories off
set match-hidden-files on
set meta-flag off
set output-meta on
set page-completions on
set prefer-visible-bell on
set print-completions-horizontally off
set show-all-if-ambiguous off
set visible-stats off
set bell-style audible
set comment-begin #
set completion-query-items 100
set editing-mode emacs
set keymap emacs

That's my settings... and it works from whitin console and PuTTY.
By the way, You can set the variables without using .inputrc eg. by
bind 'set meta-flag on'

  matthias

...
   I have trouble to show german umlauts in bash command 
...
   $ less .inputrc
   set input-meta on 
   set convert-meta off 
   set output-meta 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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Föllinger
Hi,

this was a very helpful hint. Not only I've learned how to manipulate
the values interactively now I know the reason:

On Fri, Feb 27, 2004 at 02:14:46PM +0100, Morche Matthias wrote:
 Just to be sure, type the following command:
 bind -v :
 $ bind -v
 set blink-matching-paren on
 set byte-oriented on
 set completion-ignore-case off
 set convert-meta off
 set disable-completion off
 set enable-keypad off
 set expand-tilde off
 set history-preserve-point off
 set horizontal-scroll-mode off
 set input-meta off
 set mark-directories on
 set mark-modified-lines off
 set mark-symlinked-directories off
 set match-hidden-files on
 set meta-flag off
 set output-meta on

This was set to 'off' here though it is turned on in the .inputrc. I
don't know why .inputrc doesn't work but this is another issue. I've
turned it on in .bashrc using the syntax documented below and  äöü and
€ are shown fine on the commandline.

 That's my settings... and it works from whitin console and PuTTY.
 By the way, You can set the variables without using .inputrc eg. by
 bind 'set meta-flag on'
 

 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


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



Re: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Alejandro Lopez-Valencia
On Fri, 27 Feb 2004 12:35:23 +0100, Thorsten Kampe wrote in
[EMAIL PROTECTED]:

 although typing non-ascii characters in a
shell doesn't make sense. The only use is showing files with ls or d -
which is not a shell thing.

Really?

Say, you use cygwin to do text processing (I do, with the help of a
bleeding edge groff), and in a whim you decide to write poetry to your
girlfirend. Being a German speaker, you type, e.g.,
Lieder_für_meine_geliebte.tr. 

Did you or did you not need to type high-bit charecters in your shell?
(Don't say you type them from within your editor, that's cheating).



--
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: cygpath bug (windows 2000)

2004-02-27 Thread Christopher Faylor
On Fri, Feb 27, 2004 at 11:22:38AM -, Hughes, Bill wrote:
 Sent: 27 February 2004 10:43 From: Christian Matuszewski 
cgf says:
Try the latest snapshot http://cygwin.com/snapshots/.

Thank you very much, now cygpath doesn't crash anymore.

But is it necessary, that cygpath gives the error message: cygpath:
error converting /ddd...ddd - File or path name too long ?  When i
think of cygpath as a tool to convert strings, then it should work with
paths of arbitrary length.  Is this possible?

Unless Microsoft have changed something there is a maximum path length
of 255 on windows so cygpath working with arbitrary length strings is a
bit pointless.

Correct.

--
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: u2d and d2u : No such file or directory

2004-02-27 Thread Christopher Faylor
On Fri, Feb 27, 2004 at 10:54:11AM -, [EMAIL PROTECTED] wrote:
Odd, this?

I have never found (or can't remember ever finding) a Cygwin file-processing
executable that does not also work from a Windows cmd prompt (e.g. ls, cat,
fmt, rm, md5sum, sort, ... [many]).

You probably need to refamiliarize yourself with:
http://cygwin.com/problems.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: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Alejandro Lopez-Valencia
On Fri, 27 Feb 2004 13:39:09 +0100, Olaf Föllinger wrote in
[EMAIL PROTECTED]:



Final goal is to show the ¤ character rigth in vi and mutt. So I
thought the shell is a good start. Is it?

Don't mix the shell, which uses readline for line input, with vim and
mutt. The latter are curses-based applications and can't care less for
whatever you set up for cooking or uncooking input for your shell.



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



Re: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Föllinger
On Fri, Feb 27, 2004 at 08:42:58AM -0500, Alejandro Lopez-Valencia wrote:
 On Fri, 27 Feb 2004 13:39:09 +0100, Olaf Föllinger wrote in
 [EMAIL PROTECTED]:
 
 
 
 Final goal is to show the ? character rigth in vi and mutt. So I
 thought the shell is a good start. Is it?
 
 Don't mix the shell, which uses readline for line input, with vim and
 mutt. The latter are curses-based applications and can't care less for
 whatever you set up for cooking or uncooking input for your shell.

Thanks, now I've understood this. Bash works but vi(m) doesn't.
 
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


--
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 using gcc

2004-02-27 Thread BS
Hi, All!

When a try to build simple Hellow World!
program i see the message (linker report):

$ gcc -o sample.exe sample.c
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find 
-luser32

I try to build it both on W98 and W2K.
Where is a problem?

Sergey Belous

--
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: Avail for test: zip-2.3-6 + encryption code

2004-02-27 Thread Buchbinder, Barry (NIH/NIAID)
Regarding if you're stupid enough to specify an encryption password on a
command line:

It's worse than that.

I use Cygwin to process database dump into HTML files, which are, in some
cases, then distributed in a zip file attached to an email.  On occasions
the email antivirus decides that the zip file contents contained a virus and
deletes the zip file.  I asked our help desk what I should do.  They said
that if I encrypt the zip file and put the password in the body the
antivirus would not be able to see inside the zip file but the recipient
would be able to unzip it.

No need to look at the process database.

I usually wait for packages to be moved out of test before installing
them, but since I got this entire encryption mess started, I've downloaded
the test version and will give it a try.  I'm sorry for all the bother I put
everyone through.

As always, thanks to everyone for the great work.

- Barry

-Original Message-
From: Charles Wilson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 8:53 PM
To: [EMAIL PROTECTED]
Subject: Avail for test: zip-2.3-6 + encryption code

Persuant to

http://cygwin.com/ml/cygwin-apps/2004-02/msg00318.html

I've made a version of zip-2.3 with encryption code available for test. 
  This adds the new options '-e' (encrypt) and '-P password' (if 
you're stupid enough to specify an encryption password on a command 
line, where it will show up in the process database...)

--
Chuck


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

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



RE: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Morche Matthias
Just to be a little more helpful :)
Have You set some evironmental INPUTRC to use some other file than ~/.inputrc?
Or does bash not find Your homedir?

  matthias


...
 This was set to 'off' here though it is turned on in the .inputrc. I
 don't know why .inputrc doesn't work but this is another issue. I've
 turned it on in .bashrc using the syntax documented below and  äöü and
 EUR are shown fine on the commandline.
...

--
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 using gcc

2004-02-27 Thread Brian Ford
On Fri, 27 Feb 2004, BS wrote:

 Hi, All!

 When a try to build simple Hellow World!
 program i see the message (linker report):

 $ gcc -o sample.exe sample.c
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find 
 -luser32

 I try to build it both on W98 and W2K.
 Where is a problem?


Here is a problem:
 Problem reports:   http://cygwin.com/problems.html


Please read that closely, especially the part about attaching cygcheck
output.  Then maybe we can help.  Thanks.

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



Pb with permissions on crontab

2004-02-27 Thread Julien Gilles

Hi, 

I'am playing with cron, and I have the following problem : I want to
modify the crontab through a service (a cgi in an apache server in
fact). This service belongs to the user SYSTEM, so I used crontab -u
Administrator file to set the Administrator's crontab (in a perl cgi
script).

It works fine, the jobs are correctly executed, but the owner of
/var/cron/tabs/Administrator is now SYSTEM, and not Administrator. So
'crontab -l' in a shell fails with the following message :

tabs/Administrateur: Permission denied.

I tried to play with ACL of /var/cron/tabs/Administrator, but with no
luck (ie no way to keep owner).

In crontab.c, I find this :

#else /* __CYGWIN__ */
if (chown(tn, -1, ROOT_UID)  OK)
#endif

tn is the temporary crontab, before to be renamed to the user's
crontab. If tn is created by SYSTEM, it belongs to SYSTEM, and the
user's crontab belongs then to SYSTEM.

I first try to force owner to pw-pw_uid, but the rename command then
shows me another problem : 'rw' permissions are not enought - even for
SYSTEM - to rename a file, there must be other ACL involved.  So I end
up to force the final crontab to belong to SYSTEM if the euid id
SYSTEM, and the to re-change owner after the rename.

See the attached patch. It's probably not the best way to solve the
problem, but it works for me :-)

Tips : for those who wants to play with 'crontab -u' as user SYSTEM,
it's possible to have a SYSTEM shell using the windows 'at' command.
As Administrator, launch cmd.exe. Run At 16:07 /interactive cmd.exe
(of course choose the next minute of your local time). The cmd.exe
that is launched does have SYSTEM rights. Very useful. To kill
services, replace cmd.exe with taskmgr.exe. If you know another way to
get SYSTEM shell...



*** cron-3.0.1-11/crontab.c Tue Apr 15 17:13:41 2003
--- cron-3.0.1-11.patch/crontab.c   Thu Feb 26 15:56:34 2004
***
*** 666,671 
--- 666,687 
}
  
(void) snprintf(n, sizeof(n), CRON_TAB(User));
+ #ifdef __CYGWIN__
+   /* A problem appears if -u is used by user SYSTEM : owner of crontab
+  must be forced, by default it remains SYSTEM (and so no more
+  available for the user !) */
+   struct stat foo;
+   if  ((stat(n, foo) == 0)  /* test if file exists. I'm not sure that it's 
the best test... */
+(chown(n, (geteuid() == ROOT_UID)?ROOT_UID:-1, ROOT_UID)  OK)) /* 
Under CYGWIN 'rw' permissions are not
+  
 enough to do a 
rename. A workaround is
+  
 to force ownership, 
and set it back 
+  
 after rename */
+ {
+   perror(chown);
+   return (-2);
+ }
+ 
+ #endif
if (rename(tn, n)) {
fprintf(stderr, %s: error renaming %s to %s\n,
ProgramName, tn, n);
***
*** 673,678 
--- 689,707 
unlink(tn);
return (-2);
}
+ 
+ #ifdef __CYGWIN__
+   if (chown(n, pw-pw_uid, ROOT_UID)  OK) /* Set correct owner */
+   {
+   perror(chown);
+   return (-2);
+   }
+   if (chmod(n, 0640)  OK) /* Force permissions too. */
+   {
+   perror(chmod);
+   return (-2);
+   }
+ #endif
log_it(RealUser, Pid, REPLACE, User);
  
poke_daemon();


-- 
Julien Gilles.


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



Re: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Thorsten Kampe
* Alejandro Lopez-Valencia (2004-02-27 14:42 +0100)
 On Fri, 27 Feb 2004 12:35:23 +0100, Thorsten Kampe wrote in
 [EMAIL PROTECTED]:
 although typing non-ascii characters in a
shell doesn't make sense. The only use is showing files with ls or d -
which is not a shell thing.
 
 Really?
 
 Say, you use cygwin to do text processing (I do, with the help of a
 bleeding edge groff), and in a whim you decide to write poetry to your
 girlfirend. Being a German speaker, you type, e.g.,
 Lieder_für_meine_geliebte.tr. 
 
 Did you or did you not need to type high-bit charecters in your shell?
 (Don't say you type them from within your editor, that's cheating).

I simply wouldn't generate filenames with non-ascii characters in a
shell. Same with spaces. Sooner or later some application will choke
on it and it'll take me hours to search and find the script or
application and fix it or make a workaround.

Lieder_fuer_meine_Geliebte.tr suffices and probably I'd call it
poems_for_my_sweetheart.txt because she comes from Poland and we
communicate in English... :-)

Thorsten


--
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: 'less' can not find dll

2004-02-27 Thread Thorsten Kampe
* redirected to the list*
* do NOT send private email *

* MEA-MikeFriedrichs (2004-02-27 17:29 +0100)
 At 04:18 AM 2/27/2004, you wrote:
 * MEA-MikeFriedrichs (2004-02-27 06:38 +0100)
 I just installed Cygwin from the net, and having problems with
 'less'. Its always looking for '/bin/cygpcre-0.dll' but not found
 in the path.

 I've searched all partitions with no success.

 find / -name *less*

 Errm, did it say less: not found? Wouldn't make find / -name
 cygpcre* make more sense?

 Where can I get the required 'dll' ?
 
 I have executed 'find / -name *less*', which indicates 'less' is
 available.

Which you already knew because less gave you this error message and
if less wouldn't be available it couldn't tell you anything.

By the way locate is your tool of choice.
 
 I have then executed 'find / -name cygpcre*, and NO
 'cygpcre-0.dll' is found. This is the file that is missing.
 
 Where can 'cygpcre-0.dll' be located?

Do you suffer from an inability to read postings that are answers to
your posting until the very end? If so, I repeat my answer:

,---
|  Where can I get the required 'dll' ?
| 
| * Setup Package Search
|   http://cygwin.com/packages/
|   
| The name of the dll might lead you the right way.
`---

Thorsten


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



BZ2 file extraction

2004-02-27 Thread LarrysPCRemedies
I have cygwin 
I have a file with a foo.tar.gz2 extension.

How to I extract the tarball contained within?

I tried gzip -dv foo.tar.gz2, but I get
[snip]
gzip: foo.tar.bz2: unknown suffix -- ignored
[/snip]
as a response

I tried tar -tvf foo.tar.gz2, but I get
[snip]
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors
[/snip]

I also tried bunzip foo.tar.gz2, but bunzip is apparently not installed because I get
[snip]
'bunzip' is not recognized as an internal or external command,
operable program or batch file.
[/snip]

I looked in the cygwin setup section for archive, and bunzip or bzip isn't listed ... 
likewise in base and other sections.

Any assistance would be appreciated.

I am, scratching my head,
Larry

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



fixed, sorta - 20040225 snapshot problem + gdb/cygpath/others runtime error

2004-02-27 Thread Richard Campbell
After running a windows update, which installed some 12 critical patches 
for windows 2000, and 4 optional ones, the gdb/cygpath/others crash has 
disappeared.

example of the problem:

C:\cygwincygpath
 28 [main] ? 2608 init_cheap: Couldn't reserve space for cygwin's heap, Win3
2 error 487
c:\cygwin\bin\cygpath.exe (2608): *** AllocationBase 0x0, BaseAddress 0x616A
, RegionSize 0x1AE, State 0x1

So there does appear to be some combination of windows 2000 settings that hose
the february snapshots, but current from microsoft as of 2/27/2004 seems to fix
them.

There was no difference (or than system time and hard drive free space) between 
a cygcheck -s -v -r from the broken system and the working system.

This is for the archives, mostly.

-Richard Campbell.

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



Re: BZ2 file extraction

2004-02-27 Thread Brian Ford
On Fri, 27 Feb 2004 [EMAIL PROTECTED] wrote:

 I have cygwin
 I have a file with a foo.tar.gz2 extension.

Odd, it must be a typo of either:
foo.tar.bz2 or
boo.tar.gz

 How to I extract the tarball contained within?

 I tried gzip -dv foo.tar.gz2, but I get
 [snip]
 gzip: foo.tar.bz2: unknown suffix -- ignored
 [/snip]
 as a response

You could try to rename it to foo.tar.gz so the suffix would not be
unrecognized.

 I tried tar -tvf foo.tar.gz2, but I get
 [snip]
 tar: This does not look like a tar archive
 tar: Skipping to next header
 tar: Archive contains obsolescent base-64 headers
 tar: Error exit delayed from previous errors
 [/snip]

We'll assume it is compressed somehow, so that obviously wouldn't work.

 I also tried bunzip foo.tar.gz2, but bunzip is apparently not installed because I get
 [snip]
 'bunzip' is not recognized as an internal or external command,
 operable program or batch file.
 [/snip]

 I looked in the cygwin setup section for archive, and bunzip or bzip isn't listed 
 ... likewise in base and other sections.

It's bunzip2.

 Any assistance would be appreciated.

Try tar zxvf foo.tar.gz or
tar jxvf foo.tar.bz2.

 I am, scratching my head,

I would be some too :).

-- 
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: BZ2 file extraction

2004-02-27 Thread LarrysPCRemedies
In a message dated 2/27/2004 1:11:35 PM Eastern Standard Time, [EMAIL PROTECTED] 
writes:

  I looked in the cygwin setup section for archive, and bunzip or bzip isn't listed 
  ... likewise in base and other 
 sections.
 
 It's bunzip2.

Brian, you provided the answer... bunzip2 extracted the tarball and got me to the 
point where I could now extract the files in the tarball.

Thanks
Larry


--
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 of building Apache XalanC on cygwin

2004-02-27 Thread DS
Hi all!
I'm trying to build Apache XalanC .
I use cygwin 1.5.7 , gcc 3.3.1 and make 3.8
In our makefiles ( we are multi-platform C++ application ) we use nest 
structure:

$(TARGET): $(OBJECTS)
$(MAKE_SHARED) $(LINK_PARAMETERS) $^ -o $@
(note , that link parameters are before -o $@ section)

if I change it to:

$(TARGET): $(OBJECTS)
$(MAKE_SHARED)  $^ -o $@ $(LINK_PARAMETERS)
it's working .

Any ideas how can build with the first model ? XalanC is multi-paltform 
application and I can't chnage the makefiles so easyly.

Thanks!
Dmitry
--
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 of building Apache XalanC on cygwin

2004-02-27 Thread Brian Ford
It would have been extreamely helpful for you to have shown what that
expanded to on the compile line as well as the errors reported for the
non-working case, but I'll take a WAG anyway.

On Fri, 27 Feb 2004, DS wrote:

 Hi all!
 I'm trying to build Apache XalanC .
 I use cygwin 1.5.7 , gcc 3.3.1 and make 3.8

 In our makefiles ( we are multi-platform C++ application ) we use nest
 structure:

 $(TARGET): $(OBJECTS)
   $(MAKE_SHARED) $(LINK_PARAMETERS) $^ -o $@

 (note , that link parameters are before -o $@ section)

Or, more likely, note that link parameters are not after the objects
($^) you are linking.  If link parameters include libraries, this is
incorrect.

Library references are only used to resolve undefined symbols.  Before
there are objects, there are no undefined symbols.

 if I change it to:

 $(TARGET): $(OBJECTS)
   $(MAKE_SHARED)  $^ -o $@ $(LINK_PARAMETERS)

 it's working .

 Any ideas how can build with the first model ? XalanC is multi-paltform
 application and I can't chnage the makefiles so easyly.

If my suspicions are correct, it shouldn't work correctly on any platform
that way.  That's just wrong.

BTW, this is not Cygwin specific, so it is officially off topic for this
list.

HTH.

-- 
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: BZ2 file extraction

2004-02-27 Thread LarrysPCRemedies


  I tried tar -tvf foo.tar.gz2, but I get
  [snip]
 
 tar jxvf foo.tar.gz2
Thanks Fredric,

I should have looked at tar's --help more closely ... 
Thanks.

... alway's learning
Larry

--
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: Avail for test: zip-2.3-6 + encryption code

2004-02-27 Thread Buchbinder, Barry (NIH/NIAID)
Looks good so far.  

-Original Message-
From: Buchbinder, Barry (NIH/NIAID) 
Sent: Friday, February 27, 2004 9:43 AM
To: [EMAIL PROTECTED]
Subject: RE: Avail for test: zip-2.3-6 + encryption code

Regarding if you're stupid enough to specify an encryption password on a
command line:

It's worse than that.

I use Cygwin to process database dump into HTML files, which are, in some
cases, then distributed in a zip file attached to an email.  On occasions
the email antivirus decides that the zip file contents contained a virus and
deletes the zip file.  I asked our help desk what I should do.  They said
that if I encrypt the zip file and put the password in the body the
antivirus would not be able to see inside the zip file but the recipient
would be able to unzip it.

No need to look at the process database.

I usually wait for packages to be moved out of test before installing
them, but since I got this entire encryption mess started, I've downloaded
the test version and will give it a try.  I'm sorry for all the bother I put
everyone through.

As always, thanks to everyone for the great work.

- Barry

-Original Message-
From: Charles Wilson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 8:53 PM
To: [EMAIL PROTECTED]
Subject: Avail for test: zip-2.3-6 + encryption code

Persuant to

http://cygwin.com/ml/cygwin-apps/2004-02/msg00318.html

I've made a version of zip-2.3 with encryption code available for test. 
  This adds the new options '-e' (encrypt) and '-P password' (if 
you're stupid enough to specify an encryption password on a command 
line, where it will show up in the process database...)

--
Chuck


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

--
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: cygwin-doc-1.3-7

2004-02-27 Thread Joshua Daniel Franklin
An updated version of cygwin-doc is now available. This is a
normal incremental release with no major structural changes.

It includes the latest one-HTML-file and PDF versions of the 
User's Guide, which are also available at the Cygwin web site. 

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 click Next madly 
until you get to the end of the updating process.

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


--
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: [ANNOUNCEMENT] Updated: cygwin-doc-1.3-7

2004-02-27 Thread Tim Hubberstey

--- Joshua Daniel Franklin [EMAIL PROTECTED]
wrote:
 An updated version of cygwin-doc is now available.
 This is a
 normal incremental release with no major structural
 changes.
 
 It includes the latest one-HTML-file and PDF
 versions of the 
 User's Guide, which are also available at the Cygwin
 web site. 

I just downloaded the PDF version of the User's Guide,
cygwin-ug-net.pdf, and about 30% of the pages generate
errors in Acrobat reader 5.1.0 that prevent the pages
from displaying. The error message is:

There was an error processing a page. There was a
problem reading this document (14).

Clearing this message produces another:

Cound not find a font in the Resources dictionary -
using Helvetica instead.

I also tried reading it with Ghostview and got errors
on the same pages.


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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



Re: 'less' can not find dll

2004-02-27 Thread MEA-MikeFriedrichs
At 11:49 AM 2/27/2004, Thorsten Kampe wrote:
* redirected to the list*
* do NOT send private email *
* MEA-MikeFriedrichs (2004-02-27 17:29 +0100)
 At 04:18 AM 2/27/2004, you wrote:
 * MEA-MikeFriedrichs (2004-02-27 06:38 +0100)
 I just installed Cygwin from the net, and having problems with
 'less'. Its always looking for '/bin/cygpcre-0.dll' but not found
 in the path.

 I've searched all partitions with no success.

 find / -name *less*

 Errm, did it say less: not found? Wouldn't make find / -name
 cygpcre* make more sense?

 Where can I get the required 'dll' ?

 I have executed 'find / -name *less*', which indicates 'less' is
 available.
Which you already knew because less gave you this error message and
if less wouldn't be available it couldn't tell you anything.
By the way locate is your tool of choice.

 I have then executed 'find / -name cygpcre*, and NO
 'cygpcre-0.dll' is found. This is the file that is missing.

 Where can 'cygpcre-0.dll' be located?
Do you suffer from an inability to read postings that are answers to
your posting until the very end? If so, I repeat my answer:
,---
|  Where can I get the required 'dll' ?
|
| * Setup Package Search
|   http://cygwin.com/packages/
|
| The name of the dll might lead you the right way.
`---
Thorsten Kampe,

You are one smart 'ass', or is this your personalty hidden behind a 
keyboard. If this is the only way you have to communicate assistance, you 
should stick to your day job!!

I searched for 'cygpcre-0.dll' at  http://cygwin.com/packages and all I 
found is where it should reside in the tree structure. I didn't see any 
means to download this file.

Besides, when I installed Cygwin why wouldn't this file be installed 
automatically?

MikeF



--
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: 'less' can not find dll

2004-02-27 Thread Larry Hall
At 04:29 PM 2/27/2004, MEA-MikeFriedrichs you wrote:
At 11:49 AM 2/27/2004, Thorsten Kampe wrote:
* redirected to the list*
* do NOT send private email *

* MEA-MikeFriedrichs (2004-02-27 17:29 +0100)
 At 04:18 AM 2/27/2004, you wrote:
 * MEA-MikeFriedrichs (2004-02-27 06:38 +0100)
 I just installed Cygwin from the net, and having problems with
 'less'. Its always looking for '/bin/cygpcre-0.dll' but not found
 in the path.

 I've searched all partitions with no success.

 find / -name *less*

 Errm, did it say less: not found? Wouldn't make find / -name
 cygpcre* make more sense?

 Where can I get the required 'dll' ?

 I have executed 'find / -name *less*', which indicates 'less' is
 available.

Which you already knew because less gave you this error message and
if less wouldn't be available it couldn't tell you anything.

By the way locate is your tool of choice.

 I have then executed 'find / -name cygpcre*, and NO
 'cygpcre-0.dll' is found. This is the file that is missing.

 Where can 'cygpcre-0.dll' be located?

Do you suffer from an inability to read postings that are answers to
your posting until the very end? If so, I repeat my answer:

,---
|  Where can I get the required 'dll' ?
|
| * Setup Package Search
|   http://cygwin.com/packages/
|
| The name of the dll might lead you the right way.
`---

Thorsten Kampe,

You are one smart 'ass', or is this your personalty hidden behind a keyboard. If this 
is the only way you have to communicate assistance, you should stick to your day job!!

I searched for 'cygpcre-0.dll' at  http://cygwin.com/packages and all I found is 
where it should reside in the tree structure. I didn't see any means to download this 
file.



If the page at http://cygwin.com/packages had told you, at the top, to
use setup.exe to install any package found here, would you know what to 
do then?  I'm serious.  I'm not being sarcastic (I can be but I'm not
now ;-) ).


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


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



Re: 'less' can not find dll

2004-02-27 Thread MEA-MikeFriedrichs
At 03:33 PM 2/27/2004, Larry Hall wrote:
At 04:29 PM 2/27/2004, MEA-MikeFriedrichs you wrote:
At 11:49 AM 2/27/2004, Thorsten Kampe wrote:
* redirected to the list*
* do NOT send private email *

* MEA-MikeFriedrichs (2004-02-27 17:29 +0100)
 At 04:18 AM 2/27/2004, you wrote:
 * MEA-MikeFriedrichs (2004-02-27 06:38 +0100)
 I just installed Cygwin from the net, and having problems with
 'less'. Its always looking for '/bin/cygpcre-0.dll' but not found
 in the path.

 I've searched all partitions with no success.

 find / -name *less*

 Errm, did it say less: not found? Wouldn't make find / -name
 cygpcre* make more sense?

 Where can I get the required 'dll' ?

 I have executed 'find / -name *less*', which indicates 'less' is
 available.

Which you already knew because less gave you this error message and
if less wouldn't be available it couldn't tell you anything.

By the way locate is your tool of choice.

 I have then executed 'find / -name cygpcre*, and NO
 'cygpcre-0.dll' is found. This is the file that is missing.

 Where can 'cygpcre-0.dll' be located?

Do you suffer from an inability to read postings that are answers to
your posting until the very end? If so, I repeat my answer:

,---
|  Where can I get the required 'dll' ?
|
| * Setup Package Search
|   http://cygwin.com/packages/
|
| The name of the dll might lead you the right way.
`---

Thorsten Kampe,

You are one smart 'ass', or is this your personalty hidden behind a 
keyboard. If this is the only way you have to communicate assistance, you 
should stick to your day job!!

I searched for 'cygpcre-0.dll' at  http://cygwin.com/packages and all I 
found is where it should reside in the tree structure. I didn't see any 
means to download this file.


If the page at http://cygwin.com/packages had told you, at the top, to
use setup.exe to install any package found here, would you know what to
do then?  I'm serious.  I'm not being sarcastic (I can be but I'm not
now ;-) ).
When I searched for 'cygpcre-0.dll' at  http://cygwin.com/packages : the 
following is my results.

Found 2 matches for cygpcre-0.dll.
1364d60.jpg 
package-cat.cgi?file=libpcre0%2Flibpcre0-4.4-2grep=cygpcre-0.htmlibpcre0/libpcre0-4.4-2 
Perl-Compatible Regular Expressions library
1364d70.jpg 
package-cat.cgi?file=libpcre0%2Flibpcre0-4.5-1grep=cygpcre-0.htmlibpcre0/libpcre0-4.5-1 
Perl-Compatible Regular Expressions library

I know how to use setup, but don't know which package to select, for setup 
to install cygpcre-0.dll.

Thanks,
MikeF








--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/
inline: 1364d60.jpginline: 1364d70.jpg

Re: 'less' can not find dll

2004-02-27 Thread MEA-MikeFriedrichs
At 04:03 PM 2/27/2004, you wrote:
On Fri, 27 Feb 2004, MEA-MikeFriedrichs wrote:

 When I searched for 'cygpcre-0.dll' at  http://cygwin.com/packages : the
 following is my results.

 Found 2 matches for cygpcre-0.dll.
 1364d60.jpg
 
package-cat.cgi?file=libpcre0%2Flibpcre0-4.4-2grep=cygpcre-0.htmlibpcre0/libpcre0-4.4-2
 Perl-Compatible Regular Expressions library
 1364d70.jpg
 
package-cat.cgi?file=libpcre0%2Flibpcre0-4.5-1grep=cygpcre-0.htmlibpcre0/libpcre0-4.5-1
 Perl-Compatible Regular Expressions library

 I know how to use setup, but don't know which package to select, for setup
 to install cygpcre-0.dll.

Come on people, it isn't Mike's fault. If he used setup and it
doesn't install the right dependency (libpcre0) listed for
less, then something is wrong.
Or is the right dependency libpcre and not libpcre0 ?

I can't test now (am not on Windows), and never installed less.
This is my error that Win2k reports when I try to use 'less'.

Event Type: Information
Event Source:   Application Popup
Event Category: None
Event ID:   26
Date:   2/26/2004
Time:   11:16:30 AM
User:   N/A
Computer:   MEA2
Description:
Application popup: less.exe - Unable To Locate DLL : The dynamic link 
library cygpcre-0.dll could not be found in the specified path 
f:\cygwin\bin;.;C:\WINNT\system32;C:\WINNT\system;C:\WINNT;f:\cygwin\usr\local\bin;f:\cygwin\bin;f:\cygwin\bin;f:\cygwin\usr\X11R6\bin;c:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;c:\Program 
Files\Common Files\Autodesk Shared\;f:\win2k\bin\matlab\bin\win32.

MikeF 



--
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: 'less' can not find dll

2004-02-27 Thread Brian Dessent
MEA-MikeFriedrichs wrote:

 This is my error that Win2k reports when I try to use 'less'.
 
 Event Type: Information
 Event Source:   Application Popup
 Event Category: None
 Event ID:   26
 Date:   2/26/2004
 Time:   11:16:30 AM
 User:   N/A
 Computer:   MEA2
 Description:
 Application popup: less.exe - Unable To Locate DLL : The dynamic link
 library cygpcre-0.dll could not be found in the specified path
 f:\cygwin\bin;.;C:\WINNT\system32;C:\WINNT\system;C:\WINNT;f:\cygwin\usr\local\bin;f:\cygwin\bin;f:\cygwin\bin;f:\cygwin\usr\X11R6\bin;c:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;c:\Program
 Files\Common Files\Autodesk Shared\;f:\win2k\bin\matlab\bin\win32.


I don't see why this thread has ballooned into such an ordeal.  Run
setup.exe.  Install the libpcre0 package, which is a library on which
'less' depends.  That's all that is required, and that's what the output
of the Package search page is telling you.  The other posters were
trying to point you in a direction so that you could figure that out for
yourself so you wouldn't have to ask next time.  Teach a man to fish
and all that.

As far as setup.exe is concerned, it should have installed this package
for you.  The setup.hint for the 'less' package includes the line:

requires: cygwin termcap libpcre0

Which means that if you select 'less' then setup.exe should also select
'libpcre0' and 'termcap', unless you override it.  Can someone verify
that this works, please?

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: Snapshot 20040225: make hangs/errors out

2004-02-27 Thread Volker Quetschke
Trapping this errors is a bit tedious, at the moment I'm using
the attached script to catch the errors, but instead of a new
stackdump/gdb prompt I got a new record, 2559 iterations until
reaching an error.
OK, enough! The script run since yesterday, with the debugging
enabled make.exe and cygwin1.dll.
I got:

Thu Feb 26 17:11:34 EST 2004
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 2048 runs
MakefileV:6: *** unterminated variable reference.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 294 runs
make: -c: Command not found
make: *** [28.pp] Error 127
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 256 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 1857 runs
make: -c: Command not found
make: *** [14.pp] Error 127
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 5356 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 1387 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 211 runs
make: *** wait: No children.  Stop.
make: *** Waiting for unfinished jobs
make: *** wait: No children.  Stop.
Failed after 887 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 690 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 1459 runs
c: c: No such file or directory
make: *** [9.pp] Error 127
make: *** Waiting for unfinished jobs
Failed after 6226 runs
Stopped the the script at iteration 563.

No stackdump.

Any ideas? This takes way to long to reproduce.

I never run this script with cygwin 1.5.5 maybe it fails there too.
Maybe the freezes I got building OOo are long fixed and this was
always broken?
Or sh (ash) or even make has a problem and not cygwin. This
gets us nowhere.
Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
--
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/


SSH

2004-02-27 Thread Tim Ashman
I'm trying to use a ssh command on my Cygwin platform to connect to a local 
machine on my network. I'm just a beginner with Cygwin and need some 
pointers into setting this up. I don't have ssh or sshd in my /bin 
directory. I haven't been able to find anything related on the download page 
and haven't had any luck searching the mailing list archives. Any tips? I 
apologize for such a broad question.

I'm running Cygwin on Windows 2000.

TA

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=dept/featurespgmarket=en-caRU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

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


Disappearing Bash and __getreent procedure

2004-02-27 Thread Ryan _
Hi all,

I recently did a fresh install of Cygwin and installed the default 
components plus those needed for openssh. When I tried initially to run 
Cygwin, a window appeared (looked like a dos prompt) then disappeared. 
Checking the path and trying to find someone on the web about this, I found 
nothing. So I tried replacing the newest release of the cygwin1.dll (ver 
1005.7.0) with version 1005.4.0. At first that didn't work ... but after 
clicking the shortcut 20 times out of frustration, the bash shell appeared!

Problem was ... bash couldn't find any of the files. Running ./[command] 
worked ... so I played around with the path until it worked. (Honestly, I 
don't know what I changed to make it work.) So I ran ssh-host-config and 
then tried to run cygrunsrv --start -sshd and I get an error box entitled, 
sshd.exe - Entry Point Not Found with the error, The procedure entry 
point __getreent could not be located in the dynamic link library 
cygwin1.dll. When I looked that up, I saw that that was an error in older 
version of the dll (great.).

Next try was to use the nightly snapshot of cygwin1.dll (1005.8.0 released 
2/27/04). I get the same window dissapearing act as the first time.

So I'm a bit stuck as to how to proceed.

I just want openssh ... is that so hard?

Thanks.

Ryan

_
Store more e-mails with MSN Hotmail Extra Storage – 4 plans to choose from! 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/

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

2004-02-27 Thread Brian Dessent
Tim Ashman wrote:

 I'm trying to use a ssh command on my Cygwin platform to connect to a local
 machine on my network. I'm just a beginner with Cygwin and need some
 pointers into setting this up. I don't have ssh or sshd in my /bin
 directory. I haven't been able to find anything related on the download page
 and haven't had any luck searching the mailing list archives. Any tips? I
 apologize for such a broad question.

As with any package, run Cygwin's setup.exe, then select and install
'openssh'.  Then read man ssh, man ssh_config, man ssh-keygen, as
well as any relevant documents in /usr/share/doc/Cygwin/openssh.* and/or
/usr/share/doc/openssh/*.

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: 'less' can not find dll

2004-02-27 Thread Christopher Faylor
On Fri, Feb 27, 2004 at 02:55:16PM -0800, Brian Dessent wrote:
As far as setup.exe is concerned, it should have installed this package
for you.  The setup.hint for the 'less' package includes the line:

requires: cygwin termcap libpcre0

Which means that if you select 'less' then setup.exe should also select
'libpcre0' and 'termcap', unless you override it.  Can someone verify
that this works, please?

I verified (to myself) that it works the first few times someone reported
this problem.

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



Re: when to rebase?

2004-02-27 Thread Peter A. Castro
On Tue, 24 Feb 2004, Jason Tishler wrote:

 Peter,

 On Fri, Feb 20, 2004 at 10:19:09PM -0800, Peter A. Castro wrote:
  On Fri, 20 Feb 2004, Jason Tishler wrote:
   FWIW, I just tried the above with Microsoft's rebase and observed
   the same behavior.  Note this is not a ruling just another data
   point.
 
  Well, considering what the root problem is, I wouldn't expect MS's
  rebase to work any better than the cygwin version.

 Understood.  However, one of my design goals for rebase was to behave as
 similar to Microsoft's as possible.  This became especially true when I
 replaced Microsoft's ReBaseImage() with the one from Ralf Habacker's
 libimagehelper.

A worthy goal.

  However, I would like to see some cooperation on how to resolve it.

 See below for one possible solution...

  This problem is not specific to zsh.

 Understood.

  It has more to do with how exported symbols are treated/managed.

 Or built...

Yes, yes...

  I'd almost propose that rebase change such symbols' value, being
  rebase is the one changing the image base of the dll in the first
  place.

 Do others agree?  If so, does anyone know how hard it would be to enhance
 libimagehelper to handle this case?

  However, I would really like to understand why this symbol exists and
  if there is some way to eliminate it and use the dll's real image base
  instead.

 It appears that dllwrap *may* be the culprit.  If I replace dllwrap with
 gcc -shared in your testscript, then the problem is avoided.  See
 attached patch for the details.

I was a bit curious about this.  dllwrap is just a convenient wrapper
around dlltool, which is supposed to be the tool of choice for creating
dlls, yes?  Or has 'gcc -shared' supplanted dlltool?  And, ultimately,
dlltool simply calls gcc with some different options.  You can see this
yourself by adding a '-v' option to the dllwrap command in testscript.sh.

Here's a sample gcc line output by dllwrap/dlltool to create the dll:
-
gcc testdll.exp -Wl,--dll -nostartfiles -o testdll.dll
 -Wl,-e,[EMAIL PROTECTED] -Wl,--image-base,0x6378 -v -g testdll.o -lc
-

And what gcc does (because of the -v):
-
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /netrel/src/gcc-3.3.1-2/configure
 --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix
 --with-system-zlib --enable-nls --without-included-gettext
 --enable-interpreter --enable-sjlj-exceptions
 --disable-version-specific-runtime-libs --enable-shared
 --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin
 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
 --includedir=/nonexistent/include --libexecdir=/usr/sbin

Thread model: posix
gcc version 3.3.1 (cygming special)
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/collect2.exe -Bdynamic
 --dll-search-prefix=cyg -o testdll.dll
 -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1
 -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../.. testdll.exp
 --dll -e [EMAIL PROTECTED] --image-base 0x6378 testdll.o -lc -lgcc
 -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc
-

So, what's the difference?  Apparently, only the options supplied to the
linker.  I don't really understand, completely, the differences between
'-shared' and '-Wl,--dll', but I suspect it has more to do with Windows
compatability than anything else.  '-shared' creates shared objects,
while '--dll' creates dlls (like shared objects) which supposedly can
interoperate with other compiler generated dlls (Visual C++, perhaps?).
I'm not sure that this is an advantage, give that within the cygwin
environment you can't really interoperate with Visual C++ generated dlls
anyways, so perhaps it's better to simple create cygwin only compatable
dlls instead.

 Can you use gcc -shared instead of dllwrap when you build zsh?

After a bit of experimenting and a few rebuilds using different options,
I've determined that using:
  gcc -shared -Wl,--export-all-symbols
works best.  There's apparently a subtle difference between this and
using '-Wl,-dll', which causes a conflict with rebasing.

Zsh uses global variables as well as exported functions, so using just
'gcc -shared' alone was insufficient (because the global vars weren't
being exported).  While the build process for zsh takes care to extract
out exported functions and variables, there doesn't seem to be a
convenient way to actually use that info in building the shared libraries
themselves.  One option is to explicitly mark for dllexport those globals
which are needed by other parts of zsh, but that's tedious.  I also toyed
with hacking the makefiles to use the export list in the shared lib gen,
but I didn't really want to customize the makefiles that much (it

Re: Disappearing Bash and __getreent procedure

2004-02-27 Thread Alejandro Lopez-Valencia
On Sat, 28 Feb 2004 00:14:38 +, Ryan _ wrote in
[EMAIL PROTECTED]:


Cygwin, a window appeared (looked like a dos prompt) then disappeared. 

My suggestion. Delete the whole cygwin directory, save up your copy of
setup.exe, nuke the cached files, use regedit and search all
KH*/Programs/Cygnus trees in the registry and kill them. Reinstall
from the internet afresh.

So I ran ssh-host-config and 
then tried to run cygrunsrv --start -sshd and I get an error box entitled, 
sshd.exe - Entry Point Not Found with the error, The procedure entry 
point __getreent could not be located in the dynamic link library 
cygwin1.dll. When I looked that up, I saw that that was an error in older 
version of the dll (great.).

Make sure to add the path bootdisk\path to cygwin\bin directory to
the system path (not the user path, the system path, if you are using
a Windows NT flavor).

So I'm a bit stuck as to how to proceed.

I just want openssh ... is that so hard?

Perhaps you had a bad-hair day?

Alejo


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



can't achieve password-less ssh authentication when my home directory is on a network file server

2004-02-27 Thread ncokwqc02
Here's the scenario:



I have Cygwin installed and the OpenSSH daemon running on a PC (let's call it 'Alpha') 
and I have an account in the Windows NT domain of which 'Alpha' is a member. I log 
onto 'Alpha' and all the other workstations in this domain with the same password. 
'Alpha' can access its local disk (the usual 'c:') as well as a network drive 
(accessible at '//Filer/...').



I also have Cygwin installed on another PC (let's call it 'Beta') and I would like to 
achieve password-less 'ssh' access from 'Beta' to 'Alpha'.



Both 'Alpha' and 'Beta' have 'rsa' public/private keys. 



I have no problem achieving my objective if 1) my home directory (as specified in 
'Alpha:/etc/passwd') is '/home/john', and 2) 'Beta:/home/john/.ssh/known_hosts' 
includes the 'id_rsa.pub' file from 'Alpha:/home/john/.ssh', and 3) 
'Alpha:/home/john/.ssh/authorized_keys2' includes the 'id_rsa.pub' file from 
'Beta:/home/john/.ssh'. Note that for both 'Alpha' and 'Beta', '/' is the Cygwin mount 
point for 'c:/cygwin'. The only drawback to this procedure is that when I 'ssh' from 
'Beta' to 'Alpha' this way, **I CAN'T ACCESS** any files on '//Filer'. Such access is 
critical for my application.



On the other hand, if 1) my home directory (as specified in 'Alpha:/etc/passwd') is on 
the network file server at '//Filer/home/john', and 2) 
'Beta:/home/john/.ssh/known_hosts' includes the 'id_rsa.pub' file from 
'//Filer/home/john/.ssh', and 3) '//Filer/home/john/.ssh/authorized_keys2' includes 
the 'id_rsa.pub' file from 'Beta:/home/john/.ssh', then **I DO HAVE ACCESS** to the 
files on '//Filer' as well as the local files on 'c:' (aka '/cygdrive/c'). The only 
problem is that, in this case, the 'ssh' authentication process asks me to enter my 
password each time.



I don't understand why 'Alpha' and 'Beta' are interacting this way because various 
other Linux and UNIX clients configured similarly are able to achieve password-less 
access to 'Alpha' without any trouble.



So my question is this: How do I modify the file(s) on 'Alpha' or on '//Filer' to 
obtain password-less access from 'Beta' to 'Alpha' when the password file on 'Alpha' 
says '//Filer/john' is my home directory?



Any help would be appreciated.



Thanks,



john









--

Protect yourself from spam, 

use http://sneakemail.com

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



Re: 'less' can not find dll

2004-02-27 Thread Thorsten Kampe
* MEA-MikeFriedrichs (2004-02-27 22:29 +0100)
 At 11:49 AM 2/27/2004, Thorsten Kampe wrote:
* redirected to the list*
* do NOT send private email *

* MEA-MikeFriedrichs (2004-02-27 17:29 +0100)
 At 04:18 AM 2/27/2004, you wrote:
 * MEA-MikeFriedrichs (2004-02-27 06:38 +0100)
 I just installed Cygwin from the net, and having problems with
 'less'. Its always looking for '/bin/cygpcre-0.dll' but not found
 in the path.

 I've searched all partitions with no success.

 find / -name *less*

 Errm, did it say less: not found? Wouldn't make find / -name
 cygpcre* make more sense?

 Where can I get the required 'dll' ?

 I have executed 'find / -name *less*', which indicates 'less' is
 available.

Which you already knew because less gave you this error message and
if less wouldn't be available it couldn't tell you anything.

By the way locate is your tool of choice.

 I have then executed 'find / -name cygpcre*, and NO
 'cygpcre-0.dll' is found. This is the file that is missing.

 Where can 'cygpcre-0.dll' be located?

Do you suffer from an inability to read postings that are answers to
your posting until the very end? If so, I repeat my answer:

,---
|  Where can I get the required 'dll' ?
|
| * Setup Package Search
|   http://cygwin.com/packages/
|
| The name of the dll might lead you the right way.
`---
 
 You are one smart 'ass', or is this your personalty hidden behind a 
 keyboard. If this is the only way you have to communicate assistance, you 
 should stick to your day job!!

I told you the canonical way to search for missing files and
dependencies. Obviously you don't want my help and I honor your wish.
 
 I searched for 'cygpcre-0.dll' at  http://cygwin.com/packages and all I 
 found is where it should reside in the tree structure. I didn't see any 
 means to download this file.

Obviously I should have guessed or otherwise known that you did that
although you didn't mention it at all in your email. Well, I'm sorry
for not being able to read your mind. It won't happen again.

T.


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



Re: can't achieve password-less ssh authentication when my home directory is on a network file server

2004-02-27 Thread Igor Pechtchanski
John,

Please configure your mailer to wrap long lines.  Thanks.  More below.

On Fri, 28 Feb 2004 ncokwqc02atsneakemaildotcom wrote:

 Here's the scenario:

 I have Cygwin installed and the OpenSSH daemon running on a PC (let's
 call it 'Alpha') and I have an account in the Windows NT domain of which
 'Alpha' is a member. I log onto 'Alpha' and all the other workstations
 in this domain with the same password. 'Alpha' can access its local disk
 (the usual 'c:') as well as a network drive (accessible at
 '//Filer/...').

 I also have Cygwin installed on another PC (let's call it 'Beta') and I
 would like to achieve password-less 'ssh' access from 'Beta' to 'Alpha'.

 Both 'Alpha' and 'Beta' have 'rsa' public/private keys.

 I have no problem achieving my objective if 1) my home directory (as
 specified in 'Alpha:/etc/passwd') is '/home/john', and 2)
 'Beta:/home/john/.ssh/known_hosts' includes the 'id_rsa.pub' file from
 'Alpha:/home/john/.ssh', and 3) 'Alpha:/home/john/.ssh/authorized_keys2'
 includes the 'id_rsa.pub' file from 'Beta:/home/john/.ssh'. Note that
 for both 'Alpha' and 'Beta', '/' is the Cygwin mount point for
 'c:/cygwin'. The only drawback to this procedure is that when I 'ssh'
 from 'Beta' to 'Alpha' this way, **I CAN'T ACCESS** any files on
 '//Filer'. Such access is critical for my application.

 On the other hand, if 1) my home directory (as specified in
 'Alpha:/etc/passwd') is on the network file server at
 '//Filer/home/john', and 2) 'Beta:/home/john/.ssh/known_hosts' includes
 the 'id_rsa.pub' file from '//Filer/home/john/.ssh', and 3)
 '//Filer/home/john/.ssh/authorized_keys2' includes the 'id_rsa.pub' file
 from 'Beta:/home/john/.ssh', then **I DO HAVE ACCESS** to the files on
 '//Filer' as well as the local files on 'c:' (aka '/cygdrive/c'). The
 only problem is that, in this case, the 'ssh' authentication process
 asks me to enter my password each time.

 I don't understand why 'Alpha' and 'Beta' are interacting this way
 because various other Linux and UNIX clients configured similarly are
 able to achieve password-less access to 'Alpha' without any trouble.

 So my question is this: How do I modify the file(s) on 'Alpha' or on
 '//Filer' to obtain password-less access from 'Beta' to 'Alpha' when the
 password file on 'Alpha' says '//Filer/john' is my home directory?

 Any help would be appreciated.

 Thanks,
 john

Sorry, no can do[*].  This is the way Windows/Samba shares (and other
authenticated mounts, e.g., DFS) works.  To access the directory, you need
a valid token with a password, otherwise the remote machine won't trust
it.  To find out that you allow passwordless authentication, you need to
access the directory, which you can't without a password.  FWIW, I ran
into the same problem on AIX (with DFS).

[*] I can think of a couple of things to try, but don't think either will
work too well:
- If you have control over the //Filer share, you might try to make the
share public (i.e., accessible to anyone).  I'd say that this cure is
worse than the disease, though...
- Create a local home directory (e.g. /home/john); mount the remote
directory (//Filer) onto it; then mount c:\cygwin\home\john\.ssh onto
/home/john/.ssh.  In theory, this should allow you to keep a local (and
therefore accessible without a password) copy of the .ssh directory, while
the rest of your files are on the Samba share.  The caveat, of course, is
that you won't be able to access the remote .ssh directory, if there is
one.  Also, make sure the mounts are all system mounts, so sshd can pick
them up.

Please let us know if either works for you.
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: Disappearing Bash and __getreent procedure

2004-02-27 Thread Christopher Faylor
On Fri, Feb 27, 2004 at 08:08:03PM -0500, Alejandro Lopez-Valencia wrote:
On Sat, 28 Feb 2004 00:14:38 +, Ryan _ wrote in
[EMAIL PROTECTED]:
Cygwin, a window appeared (looked like a dos prompt) then disappeared. 

My suggestion. Delete the whole cygwin directory, save up your copy of
setup.exe, nuke the cached files, use regedit and search all
KH*/Programs/Cygnus trees in the registry and kill them. Reinstall
from the internet afresh.

Argh.  No.

This is undoubtedly due to an old version of cygwin1.dll somewhere on
the system, maybe in \windows\system32 (where it doesn't belong).

Following the instructions at http://cygwin.com/problems.html should
be adequate for tracking the problem down.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: 'less' can not find dll

2004-02-27 Thread MEA-MikeFriedrichs
At 04:55 PM 02/27/2004, Brian Dessent wrote:
MEA-MikeFriedrichs wrote:

 This is my error that Win2k reports when I try to use 'less'.

 Event Type: Information
 Event Source:   Application Popup
 Event Category: None
 Event ID:   26
 Date:   2/26/2004
 Time:   11:16:30 AM
 User:   N/A
 Computer:   MEA2
 Description:
 Application popup: less.exe - Unable To Locate DLL : The dynamic link
 library cygpcre-0.dll could not be found in the specified path
 
f:\cygwin\bin;.;C:\WINNT\system32;C:\WINNT\system;C:\WINNT;f:\cygwin\usr\local\bin;f:\cygwin\bin;f:\cygwin\bin;f:\cygwin\usr\X11R6\bin;c:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;c:\Program
 Files\Common Files\Autodesk Shared\;f:\win2k\bin\matlab\bin\win32.

I don't see why this thread has ballooned into such an ordeal.  Run
setup.exe.  Install the libpcre0 package, which is a library on which
'less' depends.  That's all that is required, and that's what the output
of the Package search page is telling you.  The other posters were
trying to point you in a direction so that you could figure that out for
yourself so you wouldn't have to ask next time.  Teach a man to fish
and all that.
As far as setup.exe is concerned, it should have installed this package
for you.  The setup.hint for the 'less' package includes the line:
requires: cygwin termcap libpcre0

Which means that if you select 'less' then setup.exe should also select
'libpcre0' and 'termcap', unless you override it.  Can someone verify
that this works, please?
Brian
I cleaned out my cygwin directory and did a clean install. Still no 
'cygpcre-0.dll'.

I was able to get 'less' working by copying '/bin/cygpcre.dll' to 
'/bin/cygpcre-0.dll'.

Thanks for everyone's help.

MikeF



--
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: 'less' can not find dll

2004-02-27 Thread Christopher Faylor
On Sat, Feb 28, 2004 at 01:28:08AM -0300, Fr?d?ric L. W. Meunier wrote:
On Fri, 27 Feb 2004, Christopher Faylor wrote:

 On Fri, Feb 27, 2004 at 02:55:16PM -0800, Brian Dessent wrote:
 As far as setup.exe is concerned, it should have installed this package
 for you.  The setup.hint for the 'less' package includes the line:
 
 requires: cygwin termcap libpcre0
 
 Which means that if you select 'less' then setup.exe should also select
 'libpcre0' and 'termcap', unless you override it.  Can someone verify
 that this works, please?

 I verified (to myself) that it works the first few times someone reported
 this problem.

But since it has been reported a month ago by another person,
it looks like something is wrong -
http://sources.redhat.com/ml/cygwin/2004-01/msg00096.html , no
?

Ok.  Let's try again:

I tried this.  It works.  It downloads the file correctly.

Why don't YOU try it rather than suggest that others do so?  Maybe you can
hit on the magic combination of mouse clicks that makes this fail for
some people.

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



Re: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-02-27 Thread Olaf Foellinger
On Fri, Feb 27, 2004 at 04:09:01PM +0100, Morche Matthias wrote:
 Just to be a little more helpful :)
 Have You set some evironmental INPUTRC to use some other file than ~/.inputrc?

No.

 Or does bash not find Your homedir?

It does find my homedir.

Gruss Olaf Föllinger

--
Olaf Föllinger
Senior Consultant IT Solutions
S.E.S.A. Software und Systeme AG




--
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: 'less' can not find dll

2004-02-27 Thread Frédéric L. W. Meunier
On Fri, 27 Feb 2004, MEA-MikeFriedrichs wrote:

 When I searched for 'cygpcre-0.dll' at  http://cygwin.com/packages : the
 following is my results.

 Found 2 matches for cygpcre-0.dll.
 1364d60.jpg
 package-cat.cgi?file=libpcre0%2Flibpcre0-4.4-2grep=cygpcre-0.htmlibpcre0/libpcre0-4.4-2
 Perl-Compatible Regular Expressions library
 1364d70.jpg
 package-cat.cgi?file=libpcre0%2Flibpcre0-4.5-1grep=cygpcre-0.htmlibpcre0/libpcre0-4.5-1
 Perl-Compatible Regular Expressions library

 I know how to use setup, but don't know which package to select, for setup
 to install cygpcre-0.dll.

Come on people, it isn't Mike's fault. If he used setup and it
doesn't install the right dependency (libpcre0) listed for
less, then something is wrong.

Or is the right dependency libpcre and not libpcre0 ?

I can't test now (am not on Windows), and never installed less.

-- 
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: 'less' can not find dll

2004-02-27 Thread Frédéric L. W. Meunier
On Fri, 27 Feb 2004, Christopher Faylor wrote:

 On Fri, Feb 27, 2004 at 02:55:16PM -0800, Brian Dessent wrote:
 As far as setup.exe is concerned, it should have installed this package
 for you.  The setup.hint for the 'less' package includes the line:
 
 requires: cygwin termcap libpcre0
 
 Which means that if you select 'less' then setup.exe should also select
 'libpcre0' and 'termcap', unless you override it.  Can someone verify
 that this works, please?

 I verified (to myself) that it works the first few times someone reported
 this problem.

But since it has been reported a month ago by another person,
it looks like something is wrong -
http://sources.redhat.com/ml/cygwin/2004-01/msg00096.html , no
?

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