[ITP] annoyance-filter 1.04 -- Adaptive Bayesian Junk Mail Filter

2007-08-06 Thread Cygwin-bug#20070806T0816

Included in Debian stable:

  http://packages.debian.org/annoyance-filter

Jari

sdesc: Adaptive Bayesian Junk Mail Filter
ldesc: Program sifts mail you wish to read from junk arriving in your
mailbox by an adaptive process which gives priority to mail you're
interested in reading, and evolves to block cleverly disguised junk mail.
category: Mail
requires: cygwin

a) manual download

  wget \
http://cygwin.cante.net/annoyance-filter/annoyance-filter-1.0.4-1.tar.bz2 \

http://cygwin.cante.net/annoyance-filter/annoyance-filter-1.0.4-1-src.tar.bz2 \
http://cygwin.cante.net/annoyance-filter/setup.hint

b) automated. get.sh will print further instructions

  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir annoyance-filter ; cd annoyance-filter
  rm -f get.sh get.sh.sig
  wgethttp://cygwin.cante.net/annoyance-filter/get.sh \
  http://cygwin.cante.net/annoyance-filter/get.sh.sig
  gpg --verify get.sh.sig get.sh 
  sh get.sh



[ITP] webcheck 1.10.1 - Website link and structure checker

2007-08-06 Thread Jari Aalto

Included in Debian stable:

  http://packages.debian.org/webcheck

Jari

sdesc: Website link and structure checker
ldesc: Program crawls a given website and generates a number of reports in
the form of html pages. It is easy to use and generates simple, clear
and readable reports.
category: Web
requires: cygwin python

a) manual download

  wget\
http://cygwin.cante.net/webcheck/webcheck-1.10.1-1.tar.bz2 \
http://cygwin.cante.net/webcheck/webcheck-1.10.1-1-src.tar.bz2 \
http://cygwin.cante.net/webcheck/setup.hint

b) automated for review, get.sh will print further instructions

  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir webcheck ; cd webcheck
  rm -f get.sh get.sh.sig
  wgethttp://cygwin.cante.net/webcheck/get.sh \
  http://cygwin.cante.net/webcheck/get.sh.sig
  gpg --verify get.sh.sig get.sh 
  sh get.sh



[ITA] antiword 0.37 - A free MS Word reader

2007-08-06 Thread Cygwin-bug#20070806T1213

I adopted orphaned package by Gerrit P. Haase. In the mena time I also
updated to new upstream version.

Jari

a) manual verison

  wget\
http://cygwin.cante.net/antiword/antiword-0.37-1.tar.bz2 \
http://cygwin.cante.net/antiword/antiword-0.37-1-src.tar.bz2 \
http://cygwin.cante.net/antiword/setup.hint

b) automated review: get.sh will print further instructions

  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir antiword ; cd antiword
  rm -f get.sh get.sh.sig
  wgethttp://cygwin.cante.net/antiword/get.sh \
  http://cygwin.cante.net/antiword/get.sh.sig
  gpg --verify get.sh.sig get.sh 
  sh get.sh



lftp md5sum mismatch

2007-08-06 Thread Andrew Schulman
Luke Kendall noticed that the md5sum of lftp/setup.hint isn't right in
md5.sum on the Cygwin mirrors.  What seems to have happened is that trailing
spaces were stripped from 4 lines in setup.hint before its md5sum was
computed; but the original setup.hint, with trailing spaces intact, went
into the archives.  I'm not sure how that happened-- bug on sourceware.org?

Anyway, the URL of an adjusted setup.hint, without the trailing spaces, is
below.  Its md5sum matches the one in md5.sum in the archives.  Please
upload.

Thanks,
Andrew.

wget http://home.comcast.net/~andrex/cygwin/lftp/setup.hint


Problem with the PATH and QMAKESPEC variables

2007-08-06 Thread christoph-keller

Hello,

I installed cygwin and had it installed before at another drive on the 
same cumputer. To avoid problems i removed every entry in the registry 
containing cygwin.

after the new installation:

1. the PATH varible was not set correctly, i could avoid this  with 
PATH=/usr/local/bin:/usr/bin:/bin:$PATH
2. if i execute qmake /usr/lib/qt3/bin/qmake src.pro  qmake complains 
that QMAKESPEC is not set correctly.


I only want to compile a qmake-Project once from Linux, what do i have 
to do, to get it working?


Thanks,
Christoph

Cygwin Configuration Diagnostics
Current System Time: Sun Aug 05 22:34:59 2007

Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\programme\imagemagick-6.3.2-q16
c:\Programme\MiKTeX 2.5\miktex\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Programme\Gemeinsame Dateien\GTK\2.0\bin
c:\Programme\OpenVPN\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 400(Christoph Keller) GID: 401(mkpasswd)
=401(mkpasswd)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 400(Christoph Keller) GID: 401(mkpasswd)
=401(mkpasswd)

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

PWD = '/tmp'
HOME = '/cygdrive/c/Dokumente und Einstellungen/Christoph Keller'

HOMEPATH = '\Dokumente und Einstellungen\Christoph Keller'
APPDATA = 'C:\Dokumente und Einstellungen\Christoph Keller\Anwendungsdaten'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 13 Stepping 8, GenuineIntel'
WINDIR = 'C:\WINDOWS'
USERDOMAIN = 'NAME-9E6CC8BCFA'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Dokumente und Einstellungen\All Users'
!:: = '::\'
TEMP = '/cygdrive/c/DOKUME~1/CHRIST~1/LOKALE~1/Temp'
COMMONPROGRAMFILES = 'C:\Programme\Gemeinsame Dateien'
USERNAME = 'Christoph Keller'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Dokumente und Einstellungen\Christoph Keller'
LANG = 'de'
CLIENTNAME = 'Console'
LOGONSERVER = '\\NAME-9E6CC8BCFA'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOKUME~1/CHRIST~1/LOKALE~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PROCESSOR_REVISION = '0d08'
PROGRAMFILES = 'C:\Programme'
NUMBER_OF_PROCESSORS = '1'
SESSIONNAME = 'Console'
COMPUTERNAME = 'NAME-9E6CC8BCFA'
_ = '/usr/bin/cygcheck'
OLDPWD = '/usr/bin'
POSIXLY_CORRECT = '1'

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

c:  hd  NTFS 33236Mb  88% CP CS UN PA FC 
d:  hd  FAT3222078Mb  61% CPUN   
e:  cd N/AN/A
f:  cd N/AN/A
i:  hd  NTFS286173Mb  79% CP CS UN PA FC 

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Not Found: awk
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\patch.exe
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: ssh
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   20k 2007/07/29 C:\cygwin\bin\cygao-2.dll - os=4.0 img=1.0 sys=4.0
  cygao-2.dll v0.0 ts=2007/7/29 20:06
  103k 2007/04/06 C:\cygwin\bin\cygapr-1-0.dll - os=4.0 img=1.0 sys=4.0
  cygapr-1-0.dll v0.0 ts=2007/4/6 23:10
   70k 2007/03/23 C:\cygwin\bin\cygaprutil-1-0.dll - os=4.0 img=1.0 sys=4.0
  cygaprutil-1-0.dll v0.0 ts=2007/3/23 2:34
   76k 2005/07/30 C:\cygwin\bin\cygart_lgpl_2-2.dll - os=4.0 img=1.0 sys=4.0
  cygart_lgpl_2-2.dll v0.0 

Re: Problem with the PATH and QMAKESPEC variables

2007-08-06 Thread Christopher Faylor
On Mon, Aug 06, 2007 at 05:15:55PM +0200, christoph-keller wrote:
I installed cygwin and had it installed before at another drive on the
same cumputer.  To avoid problems i removed every entry in the registry
containing cygwin.  after the new installation:

1.  the PATH varible was not set correctly, i could avoid this with
PATH=/usr/local/bin:/usr/bin:/bin:$PATH 2.  if i execute qmake
/usr/lib/qt3/bin/qmake src.pro qmake complains that QMAKESPEC is not
set correctly.

I only want to compile a qmake-Project once from Linux, what do i have
to do, to get it working?

Wrong mailing list.  Use the main cygwin list for general questions or
bug reports.

See: http://cygwin.com/lists.html

cgf


Re: Simple patch to enable stereo visuals in XWin_GL

2007-08-06 Thread Larry Hall (Cygwin X)

On 08/05/2007, DRC wrote:
Hmmm... Well, one of the main reasons why I wanted to pursue integrating 
with Cygwin/X was because I thought it was being actively maintained (I 
guess I was wrong.) I don't think our project has the cycles to maintain an 
X server ourselves, or else I'd volunteer. But just out of curiosity, what 
would be involved?


The packaging guidelines can be found here: http://cygwin.com/setup.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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



Help: X don't start

2007-08-06 Thread José Cláudio Faria
Dear members,

I'm new with Cygwin and I've been trying to start X from my cygwin in
the latest week.
I read a lot in FAQ, Google, list of discussion and all documentation
I found, but without success.
So, I'm needing a help!

OS: XP SP2 and my main hardware is:
Proc: AMD Athlon (TM) XP 2000+
Video: NVDIA GeForce4 MX 400

###
Below my XWin.log file
###
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to
lack of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0416 (0416)
(--) Using preset keyboard for Portuguese (Brazil, ABNT) (416), type 4
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!

Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress


###
And also my cygcheck -s -v -r result
###
Cygwin Configuration Diagnostics
Current System Time: Sun Aug 05 23:40:56 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Arquivos de programas\MiKTeX 2.6\miktex\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\ARQUIV~1\TABLEC~1.01
c:\ARQUIV~1\TABLEC~1.0

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(Fabiano Daniel) GID: 513(Nenhum)
0(root)   513(Nenhum)   544(Administradores)
545(Usuários)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(Fabiano Daniel) GID: 513(Nenhum)
0(root)   513(Nenhum)   544(Administradores)
545(Usuários)

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

USER = 'Fabiano Daniel'
PWD = '/usr/X11R6/bin'
HOME = '/home/Fabiano Daniel'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\Fabiano Daniel'
MANPATH = 
'/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man:/usr/share/qt3/doc/man:/usr/X11R6/man'
APPDATA = 'C:\Documents and Settings\Fabiano Daniel\Dados de aplicativos'
HOSTNAME = 'MICRO_FABIANO'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 8 Stepping 0, AuthenticAMD'
WINDIR = 'C:\WINDOWS'
QTDIR = '/usr/lib/qt3'
OLDPWD = '/usr'
USERDOMAIN = 'MICRO_FABIANO'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/DOCUME~1/FABIAN~1/CONFIG~1/Temp'
COMMONPROGRAMFILES = 'C:\Arquivos de programas\Arquivos comuns'
USERNAME = 'Fabiano Daniel'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\Fabiano Daniel'
QMAKESPEC = '/usr/lib/qt3/mkspecs/cygwin-g++'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\MICRO_FABIANO'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/FABIAN~1/CONFIG~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'Canon i250'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0800'
PKG_CONFIG_PATH = '/usr/X11R6/lib/pkgconfig'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Arquivos de programas'
NUMBER_OF_PROCESSORS = '1'
SESSIONNAME = 'Console'
COMPUTERNAME = 'MICRO_FABIANO'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

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_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01

Re: Help: X don't start

2007-08-06 Thread Larry Hall (Cygwin X)

José Cláudio Faria wrote:

Dear members,

I'm new with Cygwin and I've been trying to start X from my cygwin in
the latest week.
I read a lot in FAQ, Google, list of discussion and all documentation
I found, but without success.
So, I'm needing a help!

OS: XP SP2 and my main hardware is:
Proc: AMD Athlon (TM) XP 2000+
Video: NVDIA GeForce4 MX 400

###
Below my XWin.log file
###
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to
lack of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0416 (0416)
(--) Using preset keyboard for Portuguese (Brazil, ABNT) (416), type 4
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!

Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress



Have you tried the FAQ?

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


cygwin  1.6.9-6


Looks like you're not running the net release of Cygwin.  You may want
to contact Red Hat for support.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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



Re: How to close a SSH connection from a BAT file

2007-08-06 Thread Anthony de Sousa
Andrew Schulman [EMAIL PROTECTED] writes:

 
  Brian Thanks for the suggestions and I was extreemly interested in trying 
your 
  suggestion of running the SSH client as a service. However I have not been 
  successful in setting it up. Although it does install as a service, when 
it is 
  started it immediatly stops as unable to authenticate with the other 
server. 
  If SSH is run manually there is no issue. Currently going through the logs 
  with verbose on and trying to determine what the issue is. 
 
 As Brian suggests, in order to run an ssh client as a service you have to
 give it enough information to authenticate unattended to the server.  That
 means you have to give the client one of the following:
 
 - a plaintext password
 - an unencrypted (i.e. empty password) private key file
 - a running ssh-agent that holds the private key
 
 Whatever method you use to authenticate when you login manually, it will
 probably be simplest to give that same information to your ssh client when
 it runs unattended.
 
 All of the above methods carry potential security risks, but the risks can
 be minimized by, for example, using an account with shell access disabled on
 the remote host.  For a full discussion of the unattended login problem, see
 chapter 11 of SSH, The Secure Shell: The Definitive Guide, 2nd ed., by R.
 Silverman and D. Barrett.
 
 A.
 
 
Brian and Andrew thank you for the wealth of information. Brian hit it on the 
head in that the service account was being used and the keys weren't being 
found. I have fixed this and the service now start with the net start ssh or 
the cyrunsrv S ssh commands. The stop also appears to work in that the service 
stops, but what I am finding is the process continues to run (appears in the 
task manager list)and the next time that net start ssh is issued the following 
errors are in the log
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 139
Could not request local forwarding.
Cannot bind until the processes are killed also noted, is if I don't kill the 
process and just issue another net start ssh, then the number of processes 
will continue to increase. 
I hope there is a easy way around this as the solution originally provided 
offers minimal impact to an existing application. Many thanks again




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



OpenSSH services stops after 14 seconds

2007-08-06 Thread Craib, Andrew
I've got 2 Win2003 SP1 servers where Open SSH appears to have installed 
correctly. The service will start, run for 14 seconds and then stop. The 
sshd.log file shows the following

 54 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
6979793 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
109149055 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
128493717 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
205926934 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.

Anybody seen this before and know of a solution?



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



Using gcov with DLLs

2007-08-06 Thread Sweval, Jevin A

How can I get gcov coverage to work when making DLLs? I compile with 
`-fprofile-arcs -ftest-coverage` and link with `-lgcov` yet I get undefined 
references to `___gcov_init' and `___gcov_merge_add'. I see that somebody else 
on the mailing lists had trouble doing this a while back but he was never 
answered. Gcov works fine when not making a DLL though using `-mno-cygwin` 
produces a version mismatch. Thanks for your help!
 
-Jevin Sweval



Note:  If the reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to the message 
and deleting it from your computer. Thank you. 



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



Copy text from secured PDF

2007-08-06 Thread Joel Rubin
The PDF's in question are part of pump and dump spam via botnets so I
see no legal or ethical reason to respect any expressed desire of the
author as to how they may be used.

I googled that XPDF didn't respect the no copy/no print flags in PDF's
but the version that I got with Cygwin does and gives me an error
message when I try to copy text that this file doesn't permit it.

Of course, I suppose I could look for an old version or cut this
feature out of the source and recompile (it's probably removable with
only one or two edits)



--
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: Copy text from secured PDF

2007-08-06 Thread Bob McConnell
I seriously recommend that you consult with a qualified copyright
attorney before you act on your first assumption. You are likely to find
that there are risks you have not considered.

I also believe that asking the Cygwin team to publish an application
that can circumvent those features just to handle this one case, even if
you are correct, should call your ethical standards into question.

Bob McConnell

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Joel Rubin
 Sent: Monday, August 06, 2007 11:23 AM
 To: cygwin@cygwin.com
 Subject: Copy text from secured PDF
 
 The PDF's in question are part of pump and dump spam via botnets so I
 see no legal or ethical reason to respect any expressed desire of the
 author as to how they may be used.
 
 I googled that XPDF didn't respect the no copy/no print flags in PDF's
 but the version that I got with Cygwin does and gives me an error
 message when I try to copy text that this file doesn't permit it.
 
 Of course, I suppose I could look for an old version or cut this
 feature out of the source and recompile (it's probably removable with
 only one or two edits)
 
 
 
 --
 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: Fwd: Permissions issue with managed mounts

2007-08-06 Thread Igor Peshansky
On Thu, 2 Aug 2007, Andrew Kruse wrote:

 Hi,

 I'm trying to create a new managed mount point and am running into
 some problems.

 The exact command I am running: (after successfully creating both
 /usr/.managed/portage and /usr/portage as myself in the cygwin shell)
 mount -o managed `cygpath -m /usr/.managed/portage` /usr/portage

 Results in:

 mount: /usr/portage: Permission denied

 attached is the output of cygcheck -svr and also my /etc/passwd and
 /etc/group files. I don't know that I have a complete grasp of what
 the correct configuration for those files is, but don't understand why
 I can create a directory and not subsequently mount it as managed.

Try mount -f -o managed `cygpath -m /usr/.managed/portage` /usr/portage.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

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



Using Cygwin in a Multi-User Environment without Administrative A ccess

2007-08-06 Thread jason . stott

Hello,

We are hoping to make Cygwin available to standard users of our multi-user
Citrix server environment. 

One thing that we've noticed is that non-administrative users are prompted
each time with the following prompt after running bash (even after running
the commands):

Your group is currently mkpasswd.  This indicates that
the /etc/passwd (and possibly /etc/group) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l [-d]  /etc/passwd
mkgroup  -l [-d]  /etc/group
Note that the -d switch is necessary for domain users.

We have also noticed that the profile function isn't saving files in the
C:\cygwin\home\Jason.Stott_adm under a non-privileged user the same way that
it is for a user with administrative access. 

Is anyone running Cygwin in a multi-user Citrix environment with user only
privileges successfully and if so are there any clues that you could provide
for the above issues?

Thank you in advance.

Jason Stott
  

This e-mail and any attachments are confidential and intended solely 
for the addressee and may also be privileged or exempt from disclosure 
under applicable law. If you are not the addressee, or have received 
this e-mail in error, please notify the sender immediately, delete it 
from your system and do not copy, disclose or otherwise act upon any 
part of this e-mail or its attachments..

Internet communications are not guaranteed to be secure or virus-free. 
The Barclays Group does not accept responsibility for any loss arising 
from unauthorised access to, or interference with, any Internet 
communications by any third party, or from the transmission of any 
viruses. Replies to this e-mail may be monitored by the Barclays 
Group for operational or business reasons..

Any opinion or other information in this e-mail or its attachments 
that does not relate to the business of the Barclays Group is personal 
to the sender and is not given or endorsed by the Barclays Group.

Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.

Barclays Bank PLC is authorised and regulated by the Financial Services 
Authority.

--
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: White screen can't amend buffer size

2007-08-06 Thread Igor Peshansky
On Fri, 3 Aug 2007, gags_78 wrote:

 Hey folks,

 I installed cygwin on my local machine there recently. before
 when I used cygwin I got the black screen with green cygwin icon that
 denoted it in the taskbar.

 Now I get the following.
 http://www.nabble.com/file/p11979162/cygwin.gif

 It also means that i can't amend the vertical screen buffer size so I
 only have about 300 lines.

 Does anyone know how I can get around this? It's a second hand machine
 here in work. I've re-installed cygwin twice now.

The icon says rxvt.  Looking at the man page would be instructive.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

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



Re: Using Cygwin in a Multi-User Environment without Administrative A ccess

2007-08-06 Thread DePriest, Jason R.
On 8/6/07, jason.stott wrote:

 Hello,

 We are hoping to make Cygwin available to standard users of our multi-user
 Citrix server environment.

 One thing that we've noticed is that non-administrative users are prompted
 each time with the following prompt after running bash (even after running
 the commands):

 Your group is currently mkpasswd.  This indicates that
 the /etc/passwd (and possibly /etc/group) files should be rebuilt.
 See the man pages for mkpasswd and mkgroup then, for example, run
 mkpasswd -l [-d]  /etc/passwd
 mkgroup  -l [-d]  /etc/group
 Note that the -d switch is necessary for domain users.

 We have also noticed that the profile function isn't saving files in the
 C:\cygwin\home\Jason.Stott_adm under a non-privileged user the same way that
 it is for a user with administrative access.

 Is anyone running Cygwin in a multi-user Citrix environment with user only
 privileges successfully and if so are there any clues that you could provide
 for the above issues?

 Thank you in advance.

 Jason Stott



First, dang your legal disclaimer is long.

Second, I haven't used Cygwin in a Citrix environment, but I do have a
suggestion.

Can you prepopulate the /etc/passwd and /etc/group files with all of
the Citrix users account information?

That would keep the users from needing to write to those files and
should also let you set their home directories.

-Jason

-- 
NOTICE:  This email is being sent in clear-text across the public
Internet.  Therefore, any attempts to include unenforceable legalese
restrictions are ridiculous and pointless.  If you can read this,
consider yourself authorized (whether I like it or not).

--
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: Copy text from secured PDF

2007-08-06 Thread DePriest, Jason R.
On 8/6/07, Joel Rubin  wrote:
 The PDF's in question are part of pump and dump spam via botnets so I
 see no legal or ethical reason to respect any expressed desire of the
 author as to how they may be used.

 I googled that XPDF didn't respect the no copy/no print flags in PDF's
 but the version that I got with Cygwin does and gives me an error
 message when I try to copy text that this file doesn't permit it.

 Of course, I suppose I could look for an old version or cut this
 feature out of the source and recompile (it's probably removable with
 only one or two edits)



My solution is totally not Cygwin-related, but why don't you just
screenshot it and run it through an OCR?

-Jason

-- 
NOTICE:  This email is being sent in clear-text across the public
Internet.  Therefore, any attempts to include unenforceable legalese
restrictions are ridiculous and pointless.  If you can read this,
consider yourself authorized (whether I like it or not).

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



[ADMINISTRIVIA] We soon will be blocking legal disclaimers

2007-08-06 Thread Christopher Faylor
On Mon, Aug 06, 2007 at 12:18:43PM -0500, DePriest, Jason R. wrote:
First, dang your legal disclaimer is long.

This is just a heads up - in keeping with long-standing site policy, we
soon will be blocking legal disclaimers detected in email.  So, if you
have previously sent email here with a disclaimer, it would be in your
best interest to find some way not to do that if you want to continue to
send email to mailing lists at cygwin.com/sourceware.org/gcc.gnu.org .

See:  http://sourceware.org/lists.html for the current policy.

If you have concerns or questions about this upcoming change please
direct them to the overseers mailing list.

cgf

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



Re: Copy text from secured PDF

2007-08-06 Thread Joel Rubin
pdftotext.exe, part of the XPDF package, can be recompiled with a /*
comment */ cut around the permission-to-copy/print code.


Probably the other programs will also work but since the PDF files
being spammed just a few lines of text and all I want to do is forward
the text to the Securities and Exchange Commission and maybe the
Chinese Consulate (they seem to be spamming Chinese stocks) that's
enough for me.

So if you have a LEGITIMATE reason to prevent the reader of a PDF file
from copying/printing don't use this method because it is very easy to
break - it depends on the co-operation of the reading program. And
open source reading programs can cease to co-operate.

Bob, I'm sure I will be sued by the author of the PDF, especially if
he can testify about the whole pump and dump conspiracy and not take
the Fifth Amendment.




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



net use command works locally on the sytem where cygwin is installed but using rsh doesnt work

2007-08-06 Thread jaimin bhavsar
Hi There,

I am trying following command locally :

net use z: ipaddress\\sharename 

works 

but the same thing if I try using rsh It does not work

rsh -l Administrator ipaddress net use z:
ipaddress\\sharename

I get following message : 

The syntax of this command is:


NET USE
[devicename | *] [\\computername\sharename[\volume]
[password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[EMAIL PROTECTED] domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

More help is available by typing NET HELPMSG 3506.

Please help me out if executing net use command
using rsh. 

I checked the mailing list and found the similar
thread with ssh but I was not able to crack this
down.

Thanks 
Jaimin

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



RE: cygwin 1.5.20-1, spinning pdksh, 100% CPU

2007-08-06 Thread Ernie Coskrey
 
 Quite possibly.  There were changes to signal handling since 1.5.20, 
 IIRC.
 Unless I'm mistaken, there's even a patch for a race condition in 
 process handling code (though it's not in 1.5.24, I think).
 

I just want to make sure I understand this - are you talking about a
change that has been made since 1.5.24-2 was released, which is in the
snapshot view now?  Or did you mean a fix that was made sometime between
1.5.20-1 and 1.5.24-2.

  
   Any suggestions would be appreciated!
  
  Posting a sequence of steps that reliably reproduces the 
 problem for 
  you would be great (but not necessarily easy).
 

We've seen the issue happen with the following scripts.  Run a few
instances of tst.sh.  Occasionally, one will become hung - if you
terminate the other tst.sh with Ctrl-C, you'll see that there's a
subtest.sh shell that is using up all the CPU.

First - generate tstfile by running
ls -l /bin  tstfile

tst.sh
==
while true
do
for ltr in a b c d e f g
do
out=`./subtest.sh $ltr`
echo Found $out
date
done
done

subtest.sh
==
for i in `seq 1 100`
do
f=`awk '{if(NR == i)print}' i=$i tstfile`
m=`/bin/echo $f | grep $1`
if [ ! -z $m ]
then
echo $i: $m
fi
done


-
Ernie Coskrey
SteelEye Technology, Inc.

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



Re: net use command works locally on the sytem where cygwin is installed but using rsh doesnt work

2007-08-06 Thread Igor Peshansky
On Mon, 6 Aug 2007, jaimin bhavsar wrote:

 Hi There,

 I am trying following command locally :

 net use z: ipaddress\\sharename

 works

 but the same thing if I try using rsh It does not work

 rsh -l Administrator ipaddress net use z:
 ipaddress\\sharename

 I get following message :

 The syntax of this command is:

 NET USE
 [snip]
 More help is available by typing NET HELPMSG 3506.

 Please help me out if executing net use command
 using rsh.

 I checked the mailing list and found the similar
 thread with ssh but I was not able to crack this
 down.

The command you give will be sent to the remote shell and re-parsed.  So,
you have to escape the backslashes twice.

Or, you could just put single quotes around the path to the share.

Note that this does not guarantee that you'd be able to access the share,
only that the remote end will see the right share name.  See
http://cygwin.com/faq/faq.using.html#faq.using.shares for details.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

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



RE: cygwin 1.5.20-1, spinning pdksh, 100% CPU

2007-08-06 Thread Igor Peshansky
FYI, there is no need to Cc: me -- I read the list.  I set my Reply-To:
for a reason -- please make sure your mailer respects it.

On Mon, 6 Aug 2007, Ernie Coskrey wrote:

  Quite possibly.  There were changes to signal handling since 1.5.20,
  IIRC. Unless I'm mistaken, there's even a patch for a race condition
  in process handling code (though it's not in 1.5.24, I think).

 I just want to make sure I understand this - are you talking about a
 change that has been made since 1.5.24-2 was released, which is in the
 snapshot view now?  Or did you mean a fix that was made sometime between
 1.5.20-1 and 1.5.24-2.

I meant the former, but I don't know if these changes have actually fixed
your problem.

Any suggestions would be appreciated!
  
   Posting a sequence of steps that reliably reproduces the problem for
   you would be great (but not necessarily easy).

 We've seen the issue happen with the following scripts.  Run a few
 instances of tst.sh.  Occasionally, one will become hung - if you
 terminate the other tst.sh with Ctrl-C, you'll see that there's a
 subtest.sh shell that is using up all the CPU.

 First - generate tstfile by running
 ls -l /bin  tstfile

 tst.sh
 ==
 while true
 do
 for ltr in a b c d e f g
 do
 out=`./subtest.sh $ltr`
 echo Found $out
 date
 done
 done

 subtest.sh
 ==
 for i in `seq 1 100`
 do
 f=`awk '{if(NR == i)print}' i=$i tstfile`
 m=`/bin/echo $f | grep $1`
 if [ ! -z $m ]
 then
 echo $i: $m
 fi
 done

I can't seem to reproduce this on my Core Duo Thinkpad with 2G RAM and
WinXP Pro after 20 minutes or so.

Any particulars about the machines on which this happens?  Are they
multi-core?  I don't recall seeing a cygcheck output from an affected
machine...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

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



mcshield.exe hangs update installation

2007-08-06 Thread Olumide

Hi -

I've got the version 1.5.23 of cygwin (downloaded from 
http://linux.rz.ruhr-uni-bochum.de/download/cygwin ) and I'm trying to 
update my installation. The older setup executable (setup.exe) that I 
have recommends that I download a new version if I have trouble 
installing -- which happens to be the case. The installer stops running 
after a few seconds and appears to hang (no page faults), while 
mcshield.exe takes 100% of the CPU.


So I download the new setup.exe, and I try running it, but again 
mcshield.exe seizes the CPU :(


I've searched the net and found what looks like a workaround (here 
http://www.cygwin.com/ml/cygwin/2000-04/msg00657.html) but I would like 
to know if there is a better solution.


Thanks,

- Olumide



--
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: Copy text from secured PDF

2007-08-06 Thread Steve Holden

Joel Rubin wrote:

pdftotext.exe, part of the XPDF package, can be recompiled with a /*
comment */ cut around the permission-to-copy/print code.


Probably the other programs will also work but since the PDF files
being spammed just a few lines of text and all I want to do is forward
the text to the Securities and Exchange Commission and maybe the
Chinese Consulate (they seem to be spamming Chinese stocks) that's
enough for me.

So if you have a LEGITIMATE reason to prevent the reader of a PDF file
from copying/printing don't use this method because it is very easy to
break - it depends on the co-operation of the reading program. And
open source reading programs can cease to co-operate.

Bob, I'm sure I will be sued by the author of the PDF, especially if
he can testify about the whole pump and dump conspiracy and not take
the Fifth Amendment.




I'm sorry to say this, but reporting each and every such spam to the SEC 
is merely going to compound the problem by spamming them. If you aren't 
part of the answer then you are part of the problem ...


regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden
--- Asciimercial --
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
--- Thank You for Reading -


--
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: mcshield.exe hangs update installation

2007-08-06 Thread Larry Hall (Cygwin)

Olumide wrote:

Hi -

I've got the version 1.5.23 of cygwin (downloaded from 
http://linux.rz.ruhr-uni-bochum.de/download/cygwin ) and I'm trying to 
update my installation. The older setup executable (setup.exe) that I 
have recommends that I download a new version if I have trouble 
installing -- which happens to be the case. The installer stops running 
after a few seconds and appears to hang (no page faults), while 
mcshield.exe takes 100% of the CPU.


So I download the new setup.exe, and I try running it, but again 
mcshield.exe seizes the CPU :(


I've searched the net and found what looks like a workaround (here 
http://www.cygwin.com/ml/cygwin/2000-04/msg00657.html) but I would like 
to know if there is a better solution.



The best solution would be to uninstall McAfee (I'm serious!)  But if you
don't want to do that, try disabling real-time scanning.  That should
help.  If it doesn't, I'd recommend speaking with your friendly anti-virus
software vendor. ;-)


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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: OpenSSH services stops after 14 seconds

2007-08-06 Thread Carlo Florendo

Craib, Andrew wrote:

I've got 2 Win2003 SP1 servers where Open SSH appears to have installed 
correctly. The service will start, run for 14 seconds and then stop. The 
sshd.log file shows the following

 54 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
6979793 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
109149055 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
128493717 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
205926934 [main] sshd 1404 fork: child -1 - CreateProcessA failed, errno 2
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options

^^^

Among other things, this path looks anomalous but if you really installed 
Cygwin under c:\ssh, that's fine.




Try `c:\ssh\bin\cygrunsrv --help' for more information.
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.
c:\ssh\bin\cygrunsrv: You must specify one of the `-IRSE' options
Try `c:\ssh\bin\cygrunsrv --help' for more information.

Anybody seen this before and know of a solution?


You've given incomplete information regarding your setup.  How do you 
invoke the ssh daemon from Cygwin?  Did you follow the instructions at 
/usr/share/doc/openssh/?


For us to be able to help you, please take a look at this URL (which is 
found at the bottom of all mails sent to this list):



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


and please note especially the part that talks about providing cygcheck 
output.  In that way, it would hopefully be easier to zero-in to your problem.


Thank you very much.

Best Regards,

Carlo

--
Carlo Florendo
Softare Engineer/Network Co-Administrator
Astra Philippines Inc.
UP-Ayala Technopark, UP Campus Diliman
1101 Quezon City, Philippines
http://www.astra.ph

--
The Astra Group of Companies
5-3-11 Sekido, Tama City
Tokyo 206-0011, Japan
http://www.astra.co.jp

--
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: mcshield.exe hangs update installation

2007-08-06 Thread Olumide

Larry Hall (Cygwin) wrote:

The best solution would be to uninstall McAfee (I'm serious!)  But if you
don't want to do that, try disabling real-time scanning.  


I did it differently. I asked McAfee to consider setup.exe a low risk 
process :-) .



--
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: Copy text from secured PDF

2007-08-06 Thread DePriest, Jason R.
On 8/6/07, Steve Holden  wrote:
 Joel Rubin wrote:
  pdftotext.exe, part of the XPDF package, can be recompiled with a /*
  comment */ cut around the permission-to-copy/print code.
 
 
  Probably the other programs will also work but since the PDF files
  being spammed just a few lines of text and all I want to do is forward
  the text to the Securities and Exchange Commission and maybe the
  Chinese Consulate (they seem to be spamming Chinese stocks) that's
  enough for me.
 
  So if you have a LEGITIMATE reason to prevent the reader of a PDF file
  from copying/printing don't use this method because it is very easy to
  break - it depends on the co-operation of the reading program. And
  open source reading programs can cease to co-operate.
 
  Bob, I'm sure I will be sued by the author of the PDF, especially if
  he can testify about the whole pump and dump conspiracy and not take
  the Fifth Amendment.
 
 
 
 
 I'm sorry to say this, but reporting each and every such spam to the SEC
 is merely going to compound the problem by spamming them. If you aren't
 part of the answer then you are part of the problem ...

 regards
   Steve
 --
 Steve Holden+1 571 484 6266   +1 800 494 3119
 Holden Web LLC/Ltd   http://www.holdenweb.com
 Skype: holdenweb  http://del.icio.us/steve.holden
 --- Asciimercial --
 Get on the web: Blog, lens and tag the Internet
 Many services currently offer free registration
 --- Thank You for Reading -


 --


The FTC wants it.

http://www.ftc.gov/bcp/conline/pubs/online/inbox.shtm

What Can I Do With the Spam in my In-Box?

Report it to the Federal Trade Commission. Send a copy of unwanted or
deceptive messages to [EMAIL PROTECTED] The FTC uses the unsolicited
emails stored in this database to pursue law enforcement actions
against people who send deceptive spam email.

-Jason

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



Re: rysnc 2.6.6 under cygwin 1.5.24-2 hangs on WinXP pro SP2, doesn't seem to be historical blocking io issue

2007-08-06 Thread Joel Harrison
Guys I appreciate the input, unfortunately, it doesn't seem that this
particular issue is the same as the historical issue with blocking vs
non-blocking io, since rsync hangs immediately, not after some period
of time. I'm downloading binaries, not compiling.

I'm not sure how to proceed with troubleshooting this further.

This is on WinXP Pro.  I included the actual commands below with no editing.

20:47:58 [Desktop] $ rsync -vvv --no-blocking-io -a bathtime.mov
[EMAIL PROTECTED]:
opening connection using ssh -l lanfreak lanfreak.com rsync --server
-vvvlogDtpr .
rsync error: received SIGUSR1 or SIGINT (code 20) at
/home/lapo/packaging/tmp/rsync-2.6.6/rsync.c(163)
_exit_cleanup(code=20,
file=/home/lapo/packaging/tmp/rsync-2.6.6/rsync.c, line=163): about to
call exit(20)
(executed control-c)

20:48:21 [Desktop] $ rsync -vvv --blocking-io -a bathtime.mov
[EMAIL PROTECTED]:
opening connection using ssh -l lanfreak lanfreak.com rsync --server
-vvvlogDtpr .
rsync error: received SIGUSR1 or SIGINT (code 20) at
/home/lapo/packaging/tmp/rsync-2.6.6/rsync.c(163)
_exit_cleanup(code=20,
file=/home/lapo/packaging/tmp/rsync-2.6.6/rsync.c, line=163): about to
call exit(20)
(executed control-c)


Thanks for any assistance.
--Joel



 -- Forwarded message --
 From: Frank Fesevur  [EMAIL PROTECTED]
 To: cygwin@cygwin.com
 Date: Sun, 29 Jul 2007 09:16:29 +0200
 Subject: Re: rysnc under cygwin hangs and doesn't clean up its processes - 
 please help - cygwin  1.5.24-2,
 At 29-7-2007 0:09, Joel Harrison wrote:
  Technical: rsync on cygwin always hangs. Works fine on CentOS. I've
  been looking into this issue for 5-10 hours so far.
 
  I can scp/ssh fine to the target with ssh keys installed or not, only
  rsync hangs. I read about piping issues in rsync on cygwin from years
  back, but it seems to me like perhaps they are not resolved? Just my
  hypothesis.

 Searching the archives does give you the answer. It isn't a rsync, but a
 cygwin1.dll problem:

 http://cygwin.com/ml/cygwin/2007-02/msg00643.html

 Shouldn't this be on the FAQ page???

 Regards,
 Frank



 -- Forwarded message --
 From: Michael Hipp [EMAIL PROTECTED]
 To: cygwin@cygwin.com
 Date: Sun, 29 Jul 2007 09:17:04 -0500
 Subject: Re: rysnc under cygwin hangs and doesn't clean up its processes - 
 please help - cygwin 1.5.24-2,
 Joel Harrison wrote:
  Background - I'm trying to turn off my linux box and save some
  electricity by using rsync on windows to do my geographically
  redundant backup to my ISP (site5 - $5/110GB/mo) ... I'd rather not
  load up a resource hog VM to do it if I can avoid that... even DSL
  would be more of a resource hog than cygwin.
 
  Technical: rsync on cygwin always hangs. Works fine on CentOS. I've
  been looking into this issue for 5-10 hours so far.
 
  I can scp/ssh fine to the target with ssh keys installed or not, only
  rsync hangs. I read about piping issues in rsync on cygwin from years
  back, but it seems to me like perhaps they are not resolved? Just my
  hypothesis.


 I know this isn't much help but just thought I'd mention that I'm using rsync
 from Windows-Linux on a number of boxes with no problems. Some of them have
 very large file sets to transfer. It works. The problems with rsync, I think,
 were actually ssh problems and appear to have been long fixed.

 What exact command are you using to issue rsync?

 What's the O/S of the host and what version of rsync is it running? I've seen
 compatibility problems with different versions of rsync.

 Michael




--
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: Copy text from secured PDF

2007-08-06 Thread Steve Holden

DePriest, Jason R. wrote:

On 8/6/07, Steve Holden  wrote:

Joel Rubin wrote:

pdftotext.exe, part of the XPDF package, can be recompiled with a /*
comment */ cut around the permission-to-copy/print code.


Probably the other programs will also work but since the PDF files
being spammed just a few lines of text and all I want to do is forward
the text to the Securities and Exchange Commission and maybe the
Chinese Consulate (they seem to be spamming Chinese stocks) that's
enough for me.

So if you have a LEGITIMATE reason to prevent the reader of a PDF file
from copying/printing don't use this method because it is very easy to
break - it depends on the co-operation of the reading program. And
open source reading programs can cease to co-operate.

Bob, I'm sure I will be sued by the author of the PDF, especially if
he can testify about the whole pump and dump conspiracy and not take
the Fifth Amendment.





I'm sorry to say this, but reporting each and every such spam to the SEC
is merely going to compound the problem by spamming them. If you aren't
part of the answer then you are part of the problem ...

regards
  Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden
--- Asciimercial --
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
--- Thank You for Reading -


--



The FTC wants it.

http://www.ftc.gov/bcp/conline/pubs/online/inbox.shtm

What Can I Do With the Spam in my In-Box?

Report it to the Federal Trade Commission. Send a copy of unwanted or
deceptive messages to [EMAIL PROTECTED] The FTC uses the unsolicited
emails stored in this database to pursue law enforcement actions
against people who send deceptive spam email.


I thought you were going to forward it to the SEC? Now it's the FTC?

In which case you should be forwarding the complete message, not 
pre-processing it - quite apart from anything else, you would reduce its 
forensic and evidential value to zero by doing so, eliminating any 
possibility of using it as the basis for a prosecution.


regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden
--- Asciimercial --
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
--- Thank You for Reading -

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