Re: difference in permissions, using two SSH authentication methods: public key/password

2005-08-10 Thread Michael Spector
On 15:32, Wed 10 Aug 05, Brian Dessent wrote: > Michael Spector wrote: > > > May be this question is not for this maillist, so please excuse me: > > > > Is there a way of disabling this NTSEC security mechanism? > > I mean: is there a way of accessing shared disks without logging in with > > pas

RE: RSH configuration

2005-08-10 Thread Deepak Jadhav
Hello sir ,thanks for your reply ,but further I will like to know the simple thing that which packages during cygwin setup are required to download in order to establish an remote login session from cygwin,where I want to work with RSH protocol.I will alos like to know about which files in cygwin a

RE: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Gary R. Van Sickle
> Thanks. One of these years I will eventually understand when > quotes cause an item with embedded spaces to be a single item > and when they get lost in processing, causing the embedded > space item to be multiple items. > > I apppreciate your time. > Ken Well, when you do, be sure to publ

Re: is there a cygwin maintainer for gnu emacs?

2005-08-10 Thread Eli Zaretskii
> From: "emacs user" <[EMAIL PROTECTED]> > Cc: cygwin@cygwin.com, emacs-devel@gnu.org > Date: Wed, 10 Aug 2005 16:18:20 -0400 > > I guess my question as a fairly naive user is who will bedoing that GC > debugging. Someone who can reproduce the problem. If that's only you, then you will have to

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Larry Hall
At 10:30 PM 8/10/2005, you wrote: >Thanks. One of these years I will eventually understand when quotes cause an >item with embedded spaces >to be a single item and when they get lost in processing, causing the embedded >space item to be multiple items. A single set of double quotes are always

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Ken Dibble
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 09:14:54PM -0500, Ken Dibble wrote: Christopher Faylor wrote: On Wed, Aug 10, 2005 at 09:01:43PM -0500, Ken Dibble wrote: In my attempt to understand, can you tell me where (and why) this would fail? mount -m | grep "mount

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Brian Dessent
Ken Dibble wrote: > Am I not understanding the man page or am I so dense that I'm missing > something? Yes you are missing something, and no 'mount -m' works perfectly fine. If the cygdrive prefix has a space in it, using awk to print the fifth word will be incorrect. Consider: echo 'mount -s

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Christopher Faylor
On Wed, Aug 10, 2005 at 09:14:54PM -0500, Ken Dibble wrote: >Christopher Faylor wrote: >>On Wed, Aug 10, 2005 at 09:01:43PM -0500, Ken Dibble wrote: >>>In my attempt to understand, can you tell me where (and why) this would >>>fail? >>> >>>mount -m | grep "mount -u" | tail -1 | awk '{print $5}' >

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Ken Dibble
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 09:01:43PM -0500, Ken Dibble wrote: Christopher Faylor wrote: On Wed, Aug 10, 2005 at 03:14:36PM -0700, L Anderson wrote: Oops! I meant also to add that mount -p | sed -nr '2s/(.*) +\S+ +\S+/\1/p' is even a shorter version.

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Christopher Faylor
On Wed, Aug 10, 2005 at 09:01:43PM -0500, Ken Dibble wrote: >Christopher Faylor wrote: >>On Wed, Aug 10, 2005 at 03:14:36PM -0700, L Anderson wrote: >>>Oops! I meant also to add that >>> >>>mount -p | sed -nr '2s/(.*) +\S+ +\S+/\1/p' >>> >>>is even a shorter version. >> >>And it still includes trai

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Ken Dibble
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 03:14:36PM -0700, L Anderson wrote: Oops! I meant also to add that mount -p | sed -nr '2s/(.*) +\S+ +\S+/\1/p' is even a shorter version. And it still includes trailing spaces in the eventual result. cgf In my attempt to unders

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Christopher Faylor
On Wed, Aug 10, 2005 at 03:14:36PM -0700, L Anderson wrote: >Oops! I meant also to add that > >mount -p | sed -nr '2s/(.*) +\S+ +\S+/\1/p' > >is even a shorter version. And it still includes trailing spaces in the eventual result. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-s

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Christopher Faylor
On Wed, Aug 10, 2005 at 02:47:52PM -0700, L Anderson wrote: >Christopher Faylor wrote: >>On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: >> >>>On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: >>> Is there a way to find out in a bash script the cygdrive prefix? I

Re: minor md5sum output difference

2005-08-10 Thread Luke Kendall
On 10 Aug, Brian Dessent wrote: > The asterisk denotes whether the file was read in binary or text mode. > Cygwin defaults to binary whereas linux defaults to text (but here the > distinction is irrelevent.) You can use -b or -t as appropriate to > change the behavior. Thanks Brian, Cori

Re: Chere bug

2005-08-10 Thread Dave
I've cc'ed the cygwin mailing list - this is the normal forum for bug reports/problem solving for non-X cygwin apps. --- Dave Griffin wrote: > Just noticed that the version 0.6 of /usr/bin/chere for cygwin is slightly > flawed - you have a get_shell_from_pwd() function (line 237), but you > actual

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Eric Blake
> mount -p | sed -nr '2s/([^ ].*) +\S+ +\S+/\1/p' For readability, what about something like: $ mount -m | sed -ne 's/.*cygdrive[^"]*"\([^"]*\)"$/\1/p' This is tolerant of spaces, and works even if other mountpoints include the phrase cygdrive, since mount -m outputs --change-cygdrive-prefix out

Re: Anyone running spfd on Cygwin?

2005-08-10 Thread Brian Dessent
Herb Martin wrote: > I can find no combination of switches that will put it into the background > and leave it functional. You should use cygrunsrv and run it as a service. That is the windows equivalent of a unix background daemon. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

Re: Is there a UNIX socket test client program (a la NetCat)?

2005-08-10 Thread Brian Dessent
Herb Martin wrote: > Is there a UNIX socket test client program > (a la NetCat)? socat using the UNIX-CONNECT: or UNIX-LISTEN: parameters ought to work. It is not a Cygwin package but it does build without much hassle. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pr

Re: rsync daemon not starting as windows service

2005-08-10 Thread Brian Dessent
Daniel Franke wrote: > I added it with this command: > cygrunsrv.exe -I rsyncd -p /bin/rsync.exe -a "--daemon" Using --daemon will cause the process to try and detach from the session. That is not what you want. Cygrunsrv is meant to supervise normal processes running in the foreground. Try --

Re: difference in permissions, using two SSH authentication methods: public key/password

2005-08-10 Thread Brian Dessent
Michael Spector wrote: > May be this question is not for this maillist, so please excuse me: > > Is there a way of disabling this NTSEC security mechanism? > I mean: is there a way of accessing shared disks without logging in with > password? > > I tried setting CYGWIN=nontsec, but the situatio

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread L Anderson
L Anderson wrote: Christopher Faylor wrote: On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: Is there a way to find out in a bash script the cygdrive prefix? I thought something simple like mount -p|tail -1|cut -f1

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread L Anderson
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: Is there a way to find out in a bash script the cygdrive prefix? I thought something simple like mount -p|tail -1|cut -f1 but that incorrectl

Re: is there a cygwin maintainer for gnu emacs?

2005-08-10 Thread emacs user
I guess my question as a fairly naive user is who will bedoing that GC debugging. I am happy to check things in gdb following instructions from one of you experts... From: Eli Zaretskii <[EMAIL PROTECTED]> > Date: Wed, 10 Aug 2005 07:37:43 -0400 > From: Joe Buehler <[EMAIL PROTECTED]> > Cc: [

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Ken Dibble
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 02:00:18PM -0500, Ken Dibble wrote: Christopher Faylor wrote: On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: Is there a way to find

Re: [Patch] /etc/termcap missing eA capabilities

2005-08-10 Thread Christopher Faylor
On Mon, Aug 08, 2005 at 03:48:00PM +0200, Thomas Wolff wrote: >2005-08-05 Thomas Wolff <[EMAIL PROTECTED]> > > * termcap: Updated xterm and rxvt (from /usr/share/terminfo > using infocmp) to include the eA capability in order to enable > programs to enable the alternate charac

Re: Postmaster core dumps

2005-08-10 Thread Christopher Faylor
On Mon, Aug 08, 2005 at 07:18:26PM +0200, depinfo - Dep. Informatica wrote: >Hi! > >Wonderful! PostgreSQL works again! :) Thanks a lot! > >But I've detected a little error that also was present before. Prior to >start PostgreSQL is necessary run "$ cygserver" and to finish a session >is necessary t

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Christopher Faylor
On Wed, Aug 10, 2005 at 02:00:18PM -0500, Ken Dibble wrote: >Christopher Faylor wrote: > >>On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: >> >> >>>On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: >>> >>> Is there a way to find out in a bash script the cygdrive p

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Ken Dibble
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: Is there a way to find out in a bash script the cygdrive prefix? I thought something simple like mount -p|tail -1|cut -f1 but that in

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Christopher Faylor
On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: >On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: >>Is there a way to find out in a bash script the cygdrive prefix? >>I thought something simple like >> mount -p|tail -1|cut -f1 >>but that incorrectly assumed the fields

Re: Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Christopher Faylor
On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: >Is there a way to find out in a bash script the cygdrive prefix? >I thought something simple like > mount -p|tail -1|cut -f1 >but that incorrectly assumed the fields were tab delimited. >Since there can be spaces in the cygdrive prefix, I

Programatically finding value of "cygdrive" prefix

2005-08-10 Thread Linda W
Is there a way to find out in a bash script the cygdrive prefix? I thought something simple like mount -p|tail -1|cut -f1 but that incorrectly assumed the fields were tab delimited. Since there can be spaces in the cygdrive prefix, I can't use space a delimiter, example: # mount -p Prefix

Re: Proposed FAQ in DocBook (Attn: tetex maintainer)

2005-08-10 Thread Shaddy Baddah
Hi again, Shaddy Baddah wrote: > I just found this all out the hard way. I noticed the switch in the > mknetrel file for 3.0.0-3, and knowing that the executable was included > in 2.0.x, I wondered about the rationale of its' inclusion. Oh, I forgot to mention that there seems to be a number of p

Re: is there a cygwin maintainer for gnu emacs?

2005-08-10 Thread Eli Zaretskii
> Date: Wed, 10 Aug 2005 07:37:43 -0400 > From: Joe Buehler <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], cygwin@cygwin.com, emacs-devel@gnu.org > > I would think that emacs would say why it is aborting. When GC encounters a fatal inconsistency in the Emacs data structures, it is generally unsafe

Re: Proposed FAQ in DocBook (Attn: tetex maintainer)

2005-08-10 Thread Shaddy Baddah
Hi, Jan Nieuwenhuizen wrote: >>Probably, but a successful build of the Cygwin HTML documentation relies >>on texi2html being present. > > > Ah. Nice one of me to come into the discussion a week late, but I've been doing something recently that required texi2html. Not wanting to gripe or anythi

RE: Is there a UNIX socket test client program (a la NetCat)?

2005-08-10 Thread Herb Martin
> From: Tim Day [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 10, 2005 11:35 AM > To: 'Herb Martin' > Subject: RE: Is there a UNIX socket test client program (a la NetCat)? > > > Is there a UNIX socket test client program (a la NetCat)? > > I use netcat from cygwin fine. > It's not in a de

RE: Is there a UNIX socket test client program (a la NetCat)?

2005-08-10 Thread Herb Martin
> [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen > Subject: Re: Is there a UNIX socket test client program (a la NetCat)? > > On Aug 10 11:30, Herb Martin wrote: > > Is there a UNIX socket test client program (a la NetCat)? > > You mean, besides netcat? No. Will you please demonstrate

Anyone running spfd on Cygwin?

2005-08-10 Thread Herb Martin
Is anyone successfully running the full Mail::SPF perl module, SPECIFICALLY the spfd (daemon)? I can run it ONLY as a socket, and only if I leave it in the foreground. (Otherwise Exim doesn't seem to be able to query it.) Testing from the command line with NetCat "hangs" when it is run as a foreg

Re: RSH configuration

2005-08-10 Thread Larry Hall
At 12:45 AM 8/10/2005, you wrote: >Respected sir , I am trying to use RSH utility in cygwin to connect to an >linux machine(remote host) in network .Since I have configured the remote >machine by modifying some of this files... > 1. Add 'rsh' and 'rlogin' to /etc/securetty > 2. Add

Re: Is there a UNIX socket test client program (a la NetCat)?

2005-08-10 Thread Corinna Vinschen
On Aug 10 11:30, Herb Martin wrote: > Is there a UNIX socket test client program > (a la NetCat)? You mean, besides netcat? No. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- Unsu

Is there a UNIX socket test client program (a la NetCat)?

2005-08-10 Thread Herb Martin
Is there a UNIX socket test client program (a la NetCat)? I need to test a variety of UNIX (not IP/INET) socket daemons for both syntax and "are you running". Is there a program that can read-write to an arbitrary Unix-type socket in a manner similar to NetCat or Telnet? My simple attempts to

Re: OpenLDAP NT Service

2005-08-10 Thread Corinna Vinschen
Wrong mailing list. Redirected to the cygwin ML. On Aug 10 11:25, [EMAIL PROTECTED] wrote: > Hello All, > > I tried to install OpenLDAP as a service using the following command: > > # cyrunsrv --install slapd --path /usr/sbin/slapd --args "-h ldaps:///" --desc > "OpenLDAP Server" --disp "CYGWIN

Re: rsync daemon not starting as windows service

2005-08-10 Thread Daniel Franke
On Wednesday 10 August 2005 15:05, Daniel Franke wrote: > Hey all, > > I've encountered problems starting the rsync which comes with cygwin. > > I added it with this command: > cygrunsrv.exe -I rsyncd -p /bin/rsync.exe -a "--daemon" > > When I run cygrunsrv.exe -S rsyncd I see this error message: >

Re: difference in permissions, using two SSH authentication methods: public key/password

2005-08-10 Thread Corinna Vinschen
On Aug 10 17:31, Michael Spector wrote: > On 05:05, Wed 10 Aug 05, Brian Dessent wrote: > > Michael Spector wrote: > > > > > When I try to do the same thing, using public key authentication method, > > > I get: > > > [...] > > > /usr/zlocal/packaging is a mount to h: (which is mounted to Samba se

Re: difference in permissions, using two SSH authentication methods: public key/password

2005-08-10 Thread Larry Hall
At 07:34 AM 8/10/2005, you wrote: >Hi, > >I'm encountering the following issue: > >If I try to connect to my Windows box via SSH, using password I get the >following: > >[EMAIL PROTECTED] [~]--> ssh [EMAIL PROTECTED] -o "PubkeyAuthentication=no" >touch /usr/zlocal/packaging/new >[EMAIL PROTECTED]

fun with managed mounts

2005-08-10 Thread Eric Blake
I don't know if this warrants a fix, or if the fix would introduce an unacceptable speed penalty, but managed mounts currently have strange behavior when creating a file that looks like a drive specifier. $ cd managed $ touch ./a: $ stat ./a: File: `./a:' Size: 0 Blocks: 0

Re: difference in permissions, using two SSH authentication methods: public key/password

2005-08-10 Thread Michael Spector
On 05:05, Wed 10 Aug 05, Brian Dessent wrote: > Michael Spector wrote: > > > When I try to do the same thing, using public key authentication method, I > > get: > > [...] > > /usr/zlocal/packaging is a mount to h: (which is mounted to Samba server). > > http://cygwin.com/cygwin-ug-net/ntsec.html

Re: Magic 7.2 & Magic 7.3: Couldn't open display; check DISPLAY variable

2005-08-10 Thread Eric Blake
[Please don't send new threads directly to me if you are also sending it to the list; I read the list for a reason.] > [EMAIL PROTECTED] ~ > $ magic -d OGL > > Magic 7.3 revision 93 - Compiled on Wed Aug 10 18:10:20 IST 2005. > Couldn't open display; check DISPLAY variable > The graphics display

Re: Rsync over SSH dies before it is able to send with lots of files

2005-08-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bob Brown on 8/9/2005 10:25 PM: > >>Hmm, you're making bash expand a wildcard into 45000 files. This >>shouldn't crash bash, but I'm guessing there is some of memory >>corruption or malloc failure when consuming so much memory all before

rsync daemon not starting as windows service

2005-08-10 Thread Daniel Franke
Hey all, I've encountered problems starting the rsync which comes with cygwin. I added it with this command: cygrunsrv.exe -I rsyncd -p /bin/rsync.exe -a "--daemon" When I run cygrunsrv.exe -S rsyncd I see this error message: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error

Re: difference in permissions, using two SSH authentication methods: public key/password

2005-08-10 Thread Brian Dessent
Michael Spector wrote: > When I try to do the same thing, using public key authentication method, I > get: > [...] > /usr/zlocal/packaging is a mount to h: (which is mounted to Samba server). http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-switch Brian -- Unsubscribe info: http://cygwin.

Re: is there a cygwin maintainer for gnu emacs?

2005-08-10 Thread Joe Buehler
emacs user wrote: (gdb) backtrace #0 abort () at emacs.c:461 #1 0x200ed181 in mark_object (arg=536986839) at alloc.c:5468 #2 0x200edaff in Fgarbage_collect () at alloc.c:4810 #3 0x20101cfe in Feval (form=583791917) at eval.c:2101 Ugh -- the emacs garbage collector encountered something it

difference in permissions, using two SSH authentication methods: public key/password

2005-08-10 Thread Michael Spector
Hi, I'm encountering the following issue: If I try to connect to my Windows box via SSH, using password I get the following: [EMAIL PROTECTED] [~]--> ssh [EMAIL PROTECTED] -o "PubkeyAuthentication=no" touch /usr/zlocal/packaging/new [EMAIL PROTECTED]'s password: (Command was successful) When

Re: is there a cygwin maintainer for gnu emacs?

2005-08-10 Thread emacs user
From: Joe Buehler <[EMAIL PROTECTED]> 1. Run emacs under gdb and see if you can get a stack backtrace from gdb after emacs dies. It will depend on how emacs dies whether you can do this. 2. Failing that, run strace on emacs and send me the output (say, the last couple thousand lines) after it di

Re: minor md5sum output difference

2005-08-10 Thread Corinna Vinschen
On Aug 10 18:02, Luke Kendall wrote: > Cygwin md5sum puts a space then an asterisk in front of filenames, Linux > version puts two spaces. > > E.g.: > > Linux$ echo | md5sum > 68b329da9893e34099c7d8ad5cb9c940 - > Cywgin$ echo | md5sum > 68b329da9893e34099c7d8ad5cb9c940 *- > > I see "md5sum -c"

Re: minor md5sum output difference

2005-08-10 Thread Brian Dessent
Luke Kendall wrote: > Cygwin md5sum puts a space then an asterisk in front of filenames, Linux > version puts two spaces. The asterisk denotes whether the file was read in binary or text mode. Cygwin defaults to binary whereas linux defaults to text (but here the distinction is irrelevent.) You

Re: Connecting to a Remote Target with GDB

2005-08-10 Thread Corinna Vinschen
On Aug 10 09:28, Michael LUITAUD wrote: > When I want to connect GDB to a remote target, I get the error : What's the exact command you're using, something as (gdb) target remote com1 perhaps? This won't work anymore in recent Cygwin versions. Try (gdb) target remote /dev/ttyS0 or (g

Re: tar broken on 1.5.18 and newer

2005-08-10 Thread Corinna Vinschen
On Aug 9 22:48, Krzysztof Duleba wrote: > This is the second time I'm trying to send this report. Last time my mail > didn't make it to the list because of "Symantec Mail Security detected > prohibited attachments in a message sent from your address. ". This time > I'll paste stackdump and stra

minor md5sum output difference

2005-08-10 Thread Luke Kendall
Cygwin md5sum puts a space then an asterisk in front of filenames, Linux version puts two spaces. E.g.: Linux$ echo | md5sum 68b329da9893e34099c7d8ad5cb9c940 - Cywgin$ echo | md5sum 68b329da9893e34099c7d8ad5cb9c940 *- I see "md5sum -c" accepts either two spaces or space plus asterisk. Why the

Connecting to a Remote Target with GDB

2005-08-10 Thread Michael LUITAUD
When I want to connect GDB to a remote target, I get the error : "putpkt(read): Resource temporarily unavailable" For some reasons I'm using the 1.5.18 version of cigwin1.dll but I know that this error doesn't occurs if I use the 1.5.11 version of cigwin1.dll. My interpretation is that there is a