Re: [ITP] hdparm 6.9

2007-03-01 Thread Corinna Vinschen
On Feb 28 23:39, Christian Franke wrote:
 I would like to contribute my Cygwin port of hdparm.
 
 Hdparm (http://sourceforge.net/projects/hdparm) is a Linux tool to 
 get/set ATA/SATA drive parameters and driver settings.
 
 A HDIO_DRIVE_CMD ioctl emulation layer is used to provide the drive 
 related command subset of hdparm on Windows.
 It should work on XP SP2 and 2003 if driver provides ATA_PASS_THROUGH. 
 It also supports 2000 and XP SP1 if undocumented IDE_PASS_THROUGH is 
 available.
 
 http://franke.dvrdns.org/cygwin/release/hdparm/hdparm-6.9-1.tar.bz2
 http://franke.dvrdns.org/cygwin/release/hdparm/hdparm-6.9-1-src.tar.bz2
 http://franke.dvrdns.org/cygwin/release/hdparm/setup.hint

Uploaded.  Thanks to Reini's review this was a quick one.


Thanks for this nice package,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: Please upload exim-4.66-1

2007-03-01 Thread Corinna Vinschen
On Feb 28 20:42, Pierre A. Humblet wrote:
 Please upload exim-4.66-1 from 
 
 http://mysite.verizon.net/phumblet/exim-4.66-1/exim-4.66-1.tar.bz2
 http://mysite.verizon.net/phumblet/exim-4.66-1/exim-4.66-1-src.tar.bz2
 
 and delete 4.65, keeping 4.63 . No change in setup.hint

Done.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: 9x aware setup.exe (was Re: EOL for Windows 95/98/Me)

2007-03-01 Thread Brian Dessent
Corinna Vinschen wrote:

 I agree.  legacy sounds better.  What do you think about the symlink
 idea for now?

Okay, fixed thusly.

BrianIndex: ini.h
===
RCS file: /cvs/cygwin-apps/setup/ini.h,v
retrieving revision 2.36
diff -u -p -r2.36 ini.h
--- ini.h   28 Feb 2007 00:55:04 -  2.36
+++ ini.h   1 Mar 2007 18:20:59 -
@@ -41,8 +41,8 @@ typedef enum
 }
 excludes;
 
-#define SETUP_INI_FILENAME (IsWindowsNT () ? setup.ini : setup_9x.ini)
-#define SETUP_BZ2_FILENAME (IsWindowsNT () ? setup.bz2 : setup_9x.bz2)
+#define SETUP_INI_FILENAME (IsWindowsNT () ? setup.ini : setup_legacy.ini)
+#define SETUP_BZ2_FILENAME (IsWindowsNT () ? setup.bz2 : setup_legacy.bz2)
 
 #endif
 


Re: newbie xlib/xt question

2007-03-01 Thread Agostino Ruscito

# rule to link the program
$(PROG): $(OBJS)
  $(LD) $(OBJS) -o $(PROG) $(LDFLAGS)

BTW those are not really LDFLAGS it's the flags and the libraries, the problem
with unresolved symbols is caused by the order in which the libraries are 
searched.
--
René Berber




Thank you very much. Now it work !

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



Unable to connect to an AIX server

2007-03-01 Thread JASON FLETCHER
I have an AIX server that I am trying to use CYgwin XFree86 Server on. When I 
connect I type in x -query servername. Where servername is the name of the 
server. On other servers we have no trouble but on this one we do not get the 
login screen only a gray screen with an X as the cursor.
 
Can you help?
 
Jason



--
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: Unable to connect to an AIX server

2007-03-01 Thread Holger Krull
JASON FLETCHER schrieb:
 I have an AIX server that I am trying to use CYgwin XFree86 Server on. When I 
 connect I type in x -query servername. Where servername is the name of the 
 server. On other servers we have no trouble but on this one we do not get the 
 login screen only a gray screen with an X as the cursor.

try -query aix.address.in.numbers -from cygwin.address.in.numbers

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



winsup/cygwin ChangeLog Makefile.in environ.cc ...

2007-03-01 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2007-03-01 15:13:47

Modified files:
cygwin : ChangeLog Makefile.in environ.cc fhandler.cc 
 fhandler_disk_file.cc path.cc security.cc 
 security.h 

Log message:
* Makefile (DLL_OFILES): Remove ntea.o
* environ.cc (set_ntea): Delete.
(parse_thing): Delete ntea setting.
* fhandler.cc (fhandler_base::open): Remove allow_ntea considerations.
(check_posix_perm): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Ditto.
(fhandler_base::open_fs): Ditto.
(fhandler_disk_file::mkdir): Ditto.
* path.cc (symlink_worker): Ditto.
* security.cc (get_file_attribute): Ditto.
(set_file_attribute): Ditto.
* security.h: Remove allow_ntea declaration.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.3783r2=1.3784
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/Makefile.in.diff?cvsroot=uberbaumr1=1.195r2=1.196
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/environ.cc.diff?cvsroot=uberbaumr1=1.152r2=1.153
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaumr1=1.285r2=1.286
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=uberbaumr1=1.214r2=1.215
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaumr1=1.433r2=1.434
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/security.cc.diff?cvsroot=uberbaumr1=1.215r2=1.216
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/security.h.diff?cvsroot=uberbaumr1=1.83r2=1.84



winsup/cygwin ChangeLog fork.cc

2007-03-01 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2007-03-01 18:43:39

Modified files:
cygwin : ChangeLog fork.cc 

Log message:
* fork.cc (fork): Reset child to true after fork since it may have been 
reset
by fork memory copies.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.3784r2=1.3785
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaumr1=1.191r2=1.192



Re: Strange message from updatedb

2007-03-01 Thread Marco Atzeri

--- Phil Edwards [EMAIL PROTECTED] ha
scritto:

  Try replacing spaces ' ' with dots '.' in the
 paths specified with --prunepaths.
  In a regexp a dot matches any character.
 
 I had tried that, but
   
 --prunepaths='/cygdrive/c/System.Volume.Information'
 still caused the corresponding directory to be
 searched.  I didn't have
 time to look further then, maybe somebody else will
 beat me to it.
 

for me it is working as expected

updatedb --localpaths='/' --prunepaths='/proc
/cygdrive/c/cygwin /cygdrive/c/Doc
uments.and.Settings/marco/Local.Settings/Temp
/cygdrive/c/Documents.and.Setti
ngs/marco/Local.Settings/Temporary.Internet.Files
/cygdrive/c/Documents.and.S
ettings/marco/Local.Settings/Application.Data/Mozilla/Firefox/Profiles/1qhnuu
xo.default/Cache /cygdrive/c/RECYCLER
/cygdrive/c/System.Volume.Information /cyg
drive/f /cygdrive/h /cygdrive/s /cygdrive/u'

the only annoying message is:

/usr/bin/find: Filesystem loop detected;
`/cygdrive/c/cygwin' is part of the same filesystem
loop as `/'.

but I can live with it ;-)

uname -a
CYGWIN_NT-5.1 ITQMOZCAS1WS875 1.7.0s(0.166/4/2)
20070224 01:25:30 i686 Cygwin







___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.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: Deprecating ntea

2007-03-01 Thread Hugh McMaster

Hi Corinna,

On 28/02/07, Corinna Vinschen wrote:

I think it's time to remove the CYGWIN=ntea setting from Cygwin.
(see http://cygwin.com/cygwin-ug-net/using-cygwinenv.html)


How will that affect my system path variable, say 'CYGWIN=tty nontea
nosmbntsec nontsec'?

If so, please explain in a bit more detail.

Thankyou,

Hugh

--
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: Deprecating ntea

2007-03-01 Thread Corinna Vinschen
On Mar  1 19:58, Hugh McMaster wrote:
 Hi Corinna,
 
 On 28/02/07, Corinna Vinschen wrote:
 I think it's time to remove the CYGWIN=ntea setting from Cygwin.
 (see http://cygwin.com/cygwin-ug-net/using-cygwinenv.html)
 
 How will that affect my system path variable, say 'CYGWIN=tty nontea
 nosmbntsec nontsec'?

It doesn't.  You can just remove nontea.  You can do this today
already since it's the default anynway.

 If so, please explain in a bit more detail.

I have no idea what details you're missing.  You don't use ntea, so
you're not affected.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



How to convert 3gp files?

2007-03-01 Thread Morten Kjarulff

Hi,

I just copied a video from my new LG phone. Extension of the file is 3GP.
It is easy to google a converter, but does there exist a cygwin package
that can convert a 3GP file, so I can play it with Windows Media Player?

/Morten


--
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: Cernlib with Cygwin 1.5.24

2007-03-01 Thread Angelo Graziosi


I have sent a few replays to this mail showning a link from which the
binaries can be downloaded but the replays do not shown on Cygwin list nor
I have received a message saying they were refused.

So this is a sort of test trying to understand the cause.


Cheers,

   Angelo.


--
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: Deprecating ntea

2007-03-01 Thread Hugh McMaster

Hi Corinna,

On 01/03/07, Corinna Vinschen wrote:

On Mar  1 19:58, Hugh McMaster wrote:
 Hi Corinna,

 On 28/02/07, Corinna Vinschen wrote:
 I think it's time to remove the CYGWIN=ntea setting from Cygwin.
 (see http://cygwin.com/cygwin-ug-net/using-cygwinenv.html)

 How will that affect my system path variable, say 'CYGWIN=tty nontea
 nosmbntsec nontsec'?

It doesn't.  You can just remove nontea.  You can do this today
already since it's the default anynway.


That's good to know.

Hugh

--
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: Cernlib with Cygwin 1.5.24

2007-03-01 Thread Angelo Graziosi


The requested binaries can be downloaded from:

  http://www.webalice.it/angelo.graziosi


The Cernlib README file contains the information to install.


Cheers,

Angelo.


--
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: Cernlib with Cygwin 1.5.24

2007-03-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Angelo Graziosi on 3/1/2007 6:04 AM:
 
 The requested binaries can be downloaded from:
 
   http://www.webalice.it/angelo.graziosi

Why not propose it as an official cygwin package, with you as the maintainer?

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5tC884KuGfSFAYARAo0BAKDGdnTg7+dGfXsSKUPf+TiJt8beKACgpztw
m8M0Ee/cIGlweo0ndRyWTHs=
=VZFQ
-END PGP SIGNATURE-

--
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] New package: hdparm-6.9-1

2007-03-01 Thread Christian Franke
A Cygwin port of hdparm is now part of the Cygwin distribution.

Hdparm (http://sourceforge.net/projects/hdparm) is a Linux tool to
get/set ATA/SATA drive parameters and driver settings.

I have added a HDIO_DRIVE_CMD ioctl emulation layer to provide the drive
related command subset of hdparm on Windows.

It should work on XP SP2 and 2003 if the driver provides
ATA_PASS_THROUGH. It also supports 2000 and XP SP1 if undocumented
IDE_PASS_THROUGH is available. I haven't tested it on Vista yet.


Examples:
hdparm -I /dev/sda -- print disk information and current settings
hdparm -M 128 /dev/sda -- set acoustic management to quiet
hdparm -M 254 /dev/sda -- set acoustic management to fast
hdparm -S 120 /dev/sdb -- set 2nd disks standby timeout to 10min
hdparm -y /dev/sdb -- set 2nd disk to standby mode
hdparm -t /dev/sda -- perform disk read timings
hdparm --security-freeze /dev/sda -- Freeze security settings
(There are still BIOS versions which leave the drive vulnerable)

Administrator rights are required to run these commands.


Device names and supported command subset:

hdparm - get/set hard disk parameters - version v6.9-20070228 (Cygwin)

Usage:  hdparm  [options] [device]

Device:
/dev/hd[a-z]harddisk 0,1,...
/dev/sd[a-z]harddisk 0,1,...
/dev/scd[0-9]   cd-rom 0,1,...

Options:
-A   set drive read-lookahead flag (0/1)
-B   set Advanced Power Management setting (1-255)
-C   check IDE power mode status
--debug   enable debugging output
--direct  use O_DIRECT to bypass page cache for timings
-D   enable/disable drive defect management
-f   flush buffer cache for device on exit
-g   display drive geometry
-h   display terse usage information
-H   read temperature from drive (Hitachi only)
-i   display drive identification
-I   detailed/current information directly from drive
--Istdin  read identify data from stdin as ASCII hex
--Istdout write identify data to stdout as ASCII hex
-K   set drive keep_features_over_reset flag (0/1)
-L   set drive doorlock (0/1) (removable harddisks only)
-M   get/set acoustic management (0-254, 128: quiet, 254: fast)
(EXPERIMENTAL)
-P   set drive prefetch count
-q   change next setting quietly
-s   set power-up in standby flag (0/1)
-S   set standby (spindown) timeout
-t   perform device read timings
-T   perform cache read timings
-v   defaults; same as -g for IDE drives
-V   display program version and exit immediately
-w   perform device reset (DANGEROUS)
-W   set drive write-caching flag (0/1) (DANGEROUS)
-X   set IDE xfer mode (DANGEROUS)
-y   put IDE drive in standby mode
-Y   put IDE drive to sleep
-Z   disable Seagate auto-powersaving mode
--security-freeze   Freeze security settings until reset


Christian Franke

-- 

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.  Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin
mailing list.

 *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.




--
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: ls output still truncated

2007-03-01 Thread Chuck
Chuck wrote:
 Folks I could really use some help here. I still cannot get the ls
 command to work reliably. It worked for years and about two weeks ago
 started sputtering.  I have completely unstalled all cygwin packages,
 deleted the directories, and reinstalled from scratch. Even just
 installing the bare mimimum packages and running a bash shell without X
 or even a .profile, ls still fails to output anything 50% of the time.
 
 One other observation I've made is there's a similar program named
 dir.exe in the /usr/bin directory. It seems to do pretty much the same
 thing as ls. In fact the file sizes and timestamps are even the same. It
 works every time. I could just alias ls=/usr/bin/dir but that seems more
 like a work-around rather than fixing the real problem. Can anyone help
 with this? TIA
 
 

For anyone interested, the problem turned out not to be caused by either
anti-virus or anyti-spyware software, but rather it was LanDesk. When I
stopped the LANDesk Software Monitoring service, the problem went
away. When I restarted it, it returned. Thanks to all who helped in
pointing me in the right direction. It just took some time to figure out
which program it was.


--
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: Remove user access to local drives?

2007-03-01 Thread Ehud Karni
On Tue, 27 Feb 2007 19:37:25, Francis wrote:

 I am running a OpenSSH server for some friends on my machine, and I was hoping
 to disable access to /cygdrive (local drives.)  Is there a way to prevent them
 from modifying any files also?  this is intended just as a SSH tunneling 
 method
 to get us around some Websense.


I have restricted ssh users to a some directory with some commands only
on GNU/Linux by using `chroot' and restricted shell (bash). This won't
work on Cygwin, because there is no `chroot' jail (not supported by the
underlying OS).

You have 2 options:
1. Use the /etc/passwd to specify your own shell which will check the
   input and execute only the allowed commands (by being filter to a
   shell or by calling `system').

2. Use cgf advice and restrict the ssh user to one command only (by the
   authorized_keys file which will be a filter (same as in 1). This has
   some drawbacks on Cygwin (unlike UNIX), but for your purpose it is
   not significant.

Ehud.


--
 Ehud Karni   Tel: +972-3-7966-561  /\
 Mivtach - Simon  Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than Sorry

--
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: Remove user access to local drives?

2007-03-01 Thread Christopher Faylor
On Thu, Mar 01, 2007 at 04:28:15PM +0200, Ehud Karni wrote:
On Tue, 27 Feb 2007 19:37:25, Francis wrote:
I am running a OpenSSH server for some friends on my machine, and I was
hoping to disable access to /cygdrive (local drives.) Is there a way to
prevent them from modifying any files also?  this is intended just as a
SSH tunneling method to get us around some Websense.

I have restricted ssh users to a some directory with some commands only
on GNU/Linux by using `chroot' and restricted shell (bash). This won't
work on Cygwin, because there is no `chroot' jail (not supported by the
underlying OS).

You have 2 options:
1. Use the /etc/passwd to specify your own shell which will check the
   input and execute only the allowed commands (by being filter to a
   shell or by calling `system').

2. Use cgf advice and restrict the ssh user to one command only (by the
   authorized_keys file which will be a filter (same as in 1). This has
   some drawbacks on Cygwin (unlike UNIX), but for your purpose it is
   not significant.

Cygwin emulates chroot so, depending on your needs, it may be adequate
although since, as noted, it isn't handled at the OS level, it is not
foolproof.

I still think that the best solution is to only allow tunneling and
disallow other commands.  Looking at the documentation for sshd_config,
another option is to use ForceCommand option in sshd_config, possibly
in conjunction with the Match keyword.

man sshd_config would probably be useful reading.

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/



Bash-Scripting: any way to pre-initialize readline's edit buffer with a user-defined string?

2007-03-01 Thread Sven Severus

Hello,

a simple (i hope ;-) question for bash scripting experts:

I want to write a script, that interactivly prompts the user
for a couple of input items. So my bash code looks like
this:  read -er -pItemX:  ITEMX
Most of the items have default values, and I would find it
very user-friendly, if readline's edit buffer would be pre-
initialized with this default value, instead of an empty string.
Then the user just has to hit return to enter the default
value, very comfortable.

Any idea how to achieve this?
Thanks.

Best regards
Sven

--

Mit freundlichen Grüßen

Dipl. Inform. Sven Severus
Softwareentwicklung
--
HIMA Paul Hildebrandt GmbH + CO KG
Abt: Entwicklung Software
Albert-Bassermann-Strasse 28
68782 Bruehl
Germany

Tel: +49 6202 709-289
Fax: +49 6202 709-299
E-Mail: [EMAIL PROTECTED]
Internet: www.hima.de


--

HIMA Paul Hildebrandt GmbH + Co KG, Postfach 12 61, 68777 Bruehl bei Mannheim
Kommanditgesellschaft, Sitz Bruehl, Deutschland - Registergericht Mannheim HRA 
421017
Ust-ID: DE 144286400, St.Nr: 43038 00190

Persoenlich haftende Gesellschafterin Paul Hildebrandt Verwaltungsgesellschaft mbH, 
Sitz Bruehl, Deutschland - Registergericht Mannheim HRB 420588


Geschaeftsfuehrer: Dipl.-Betriebswirt Steffen Philipp, Dipl.-Kfm. Peter 
Swiczinsky




--
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: Bash-Scripting: any way to pre-initialize readline's edit buffer with a user-defined string?

2007-03-01 Thread Matthew Woehlke

Sven Severus wrote:

Hello,

a simple (i hope ;-) question for bash scripting experts:

I want to write a script, that interactivly prompts the user
for a couple of input items. So my bash code looks like
this:  read -er -pItemX:  ITEMX
Most of the items have default values, and I would find it
very user-friendly, if readline's edit buffer would be pre-
initialized with this default value, instead of an empty string.
Then the user just has to hit return to enter the default
value, very comfortable.

Any idea how to achieve this?
Thanks.


1. This has nothing to do with cygwin. You should be asking on the bash 
mailing list.


2. Try:

echo -n Input [default]: 
read input
[ -z $input ]  input=default

...I do it all the time.

--
Matthew
Ngx iqct zgg dxei zodt gf ngxk iqfrl.


--
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: Bash-Scripting: any way to pre-initialize readline's edit buffer with a user-defined string?

2007-03-01 Thread Matt Wozniski

Most of the items have default values, and I would find it
very user-friendly, if readline's edit buffer would be pre-
initialized with this default value, instead of an empty string.
Then the user just has to hit return to enter the default
value, very comfortable.


I don't believe that you can do that with readline, but I may be
wrong.  I know that you can do it with ZShell.  If you're interested,
try installing the zsh package and doing 'man zshzle' and 'man
zshbuiltins' - look up print -z in particular.

And, either way, it's OT for this list.

~Matt

--
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: Regarding mount command inside CYGWIN

2007-03-01 Thread Brian Dessent
Rakesh Kumar wrote:

 I'm running a command inside Cygwin
 
  mount -b /cygdrive/c/cygwin/rakesh 
 /cygdrive/c/cygwin/rakesh/usr/cygnus
 
 But I get the following error…
 
 mount: /cygdrive/c/cygwin/rakesh/usr/cygnus: Invalid argument
 
 Is the mount command wrongly given??

http://www.cygwin.com/ml/cygwin/2007-02/msg00805.html

How about actually reading the existing replies?  Sending duplicate
copies of questions to a mailing list is considered rude.  

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: /dev/null timing and clock skew problems

2007-03-01 Thread Magnus Holmgren
Pedro Alves writes:

 No, but I'm on FAT32 on this machine.  Problem is described here:
 
 http://www.delorie.com/djgpp/v2faq/faq22_18.html
 
 According to that same page, DJGPP has a local hack^Wpatch to
 suppress that warning:
 
 DJGPP ports of GNU Make v3.77 and later allow for up to
 3 seconds of positive difference between the file timestamp and the
 system clock (that is, the file is allowed to be up to 3 seconds into the
 future), before the above warning is printed. So upgrading to the
 latest version of Make should eliminate such bogus warnings and leave you
 only with messages due to real clock skews.

The code for this is available in standard Make, but it isn't enabled in the
current build on Cygwin. (The code can be found in remake.c, at line 1277. It's
currently enabled if WINDOWS32 or __MSDOS__ is defined.)

  Magnus



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



MUTEX_UNLOCK

2007-03-01 Thread Bobby McNulty
The problem reported with perl also shows up in m4.
Cygwin has the latest (1.4.8) works fine under 1.5.24-2
The program I am compiling is subversion 1.4.4 devel.
I will try a snapshot to see if that makes a difference.
The cygwin1.dll is compiled from 1.7.0 sources.








[EMAIL PROTECTED] ~/subversion/1.4.x
$ ./autogen.sh
buildcheck: checking installation...
buildcheck: autoconf version 2.61 (ok)
buildcheck: autoheader version 2.61 (ok)
buildcheck: libtool version 1.5.23a (ok)
Copying libtool helper: /usr/share/aclocal/libtool.m4
Creating build-outputs.mk...
Creating svn_private_config.h.in...
panic: MUTEX_UNLOCK (1) [util.c:2279] at
/usr/share/autoconf/Autom4te/General.pm
 line 302.
panic: MUTEX_UNLOCK (1) [util.c:2279] at
/usr/share/autoconf/Autom4te/FileUtils.
pm line 290.
autoheader-2.61: '/usr/bin/autom4te-2.61' failed with exit status: 1
Creating configure...
panic: MUTEX_UNLOCK (1) [util.c:2279] at /usr/bin/autom4te-2.61 line 92.
autom4te-2.61: need GNU m4 1.4 or later: /usr/bin/m4

You can run ./configure now.

Running autogen.sh implies you are a maintainer.  You may prefer
to run configure in one of the following ways:

./configure --enable-maintainer-mode
./configure --disable-shared
./configure --enable-maintainer-mode --disable-shared

Note:  If you wish to run a Subversion HTTP server, you will need
Apache 2.0.  See the INSTALL file for details.


[EMAIL PROTECTED] ~/subversion/1.4.x
$

Bobby McNulty 



--
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: Strange message from updatedb

2007-03-01 Thread Phil Edwards

Please don't quote email addresses unmunged.  (There's a cygwin
acronym for that, but it escapes me at the moment.)

Marco Atzeri wrote:

CYGWIN_NT-5.1 ITQMOZCAS1WS875 1.7.0s(0.166/4/2)
20070224 01:25:30 i686 Cygwin


I'm using the current stable release, 1.5.24.  I've been trying to use
find(1) directly to work out a minimally successful command line, but
so far nothing.  Adding -D options results in a crash:

Exception: STATUS_ACCESS_VIOLATION at eip=610DE9A1
eax= ebx= ecx= edx=0004 esi=0002 edi=0004
ebp=002290E8 esp=002290E4 program=C:\cygwin\bin\find.exe, pid 228, thread main
cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
002290E8  610DE9A1  (0004, 0022968E, 00425A57, 0001)
0022AD08  610E1A1B  (0022D008, 0022B230, 00425A53, 0022C984)
0022C928  610E1852  (0022D008, 61101150, 00425A53, 0022C978)
0022C948  610E4E78  (61101150, 00425A53, 0022C978, )
0022C968  610E4E9F  (61101150, 00425A53, 00425A5F, 00425A51)
0022C988  61092D88  (61101150, 00683138, 0006, 61101150)
0022C9B8  00403643  (61101150, 00683138, 0001, 61101150)
0022C9E8  0040388E  (61101150, 00681D58, , 61101150)
0022CA88  00403C4F  (61101150, 00681B78, , 61101150)
0022CB28  00403B6F  (006888A4, 0022CB50, 00688BB8, 61101150)
0022CBC8  00403B6F  (006889E4, 0022CBF0, 0042A050, 61101150)
0022CC68  00403B6F  (61101150, 00688958, , 61101150)
0022CCA8  0040459C  (003F, 61167C38, 0003, 004017D9)
0022CCE8  00401871  (003F, 61167C38, 00680090, )
0022CD98  61006198  (, 0022CDD0, 61005510, 0022CDD0)
61005510  61004416  (009C, A02404C7, E8611001, FF48)
End of stack trace (more stack frames may be present)

--
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: Deprecating ntea

2007-03-01 Thread phil long
Corrina Vinschen wrote:
 Hi,
 
 I think it's time to remove the CYGWIN=ntea setting from Cygwin.
 (see http://cygwin.com/cygwin-ug-net/using-cygwinenv.html)
 
 The reason is that it's just a fake.  It fakes POSIX permission bits
 by using the extended attributes capability built into NTFS.  it
 also works on FAT by creating a bulky file in the root directory
 of the partition.  Extended attributes were never implemented on
 FAT32, so ntea could never work on FAT32.
 
 So, IMO, ntea is not at all necessary.  Given that practically all
 Windows systems nowadays are using NTFS and given that NTFS supports
 real permissions, not only faked ones, I don't see any need for ntea.
 
 I even consider ntea as dangerous, because it pretends a security
 which doesn't exist.  That's what the default ntsec setting is for,
 utilizing real permission settings.
 
 Ok, that's my opinion, which should make it clear that I think
 ntea is old cruft which should be removed from Cygwin.
 
 My questions are thus: Does anybody seriously use ntea?  Do you think
 you can't live without it?  Is using ntsec or just switching off
 ntsec no option for you?  Why?  Or, to phrase it as I did on the
 cygwin-developers list:
 
 Does anybody have a good argument to keep this cruft against all
 reason?
 
 
 Corinna
 
 -- 
 Corinna Vinschen  Please, send mails regarding Cygwin
 to
 Cygwin Project Co-Leader  cygwin AT cygwin DOT com
 Red Hat

Corinna:

I agree that 'ntea' should be removed.

Besides being dangerous, it can also cause pain.  When I first started
using Cygwin, I misunderstood the intent of 'ntea' and included it in
the setting of my  CYGWIN environment variable.  Recently, I upgraded
one of my installations, and the 'ntea' setting started causing files
on some fileservers to which I connect to be treated as device files.
Worse yet, these fileservers would occasionally _not_ show up that
way, so the intermittent nature of the problem drove me nuts.
Eventually I removed the 'ntea' setting, and the problem went away.

The lesson I learned was two-fold:
   (1) Be _very_ careful when changing settings from the default;
   (2) Go back occasionally to make _/sure/_ that the settings
   used make sense.

OK, anybody other than the brain-dead should have already known number
2, but I'm a little slower than normal...




FREE Reminder Service - NEW from AmericanGreetings.com
Click HERE and never forget a Birthday or Anniversary again!
http://track.juno.com/s/lc?s=197335u=http://www.americangreetings.com/products/online_calendar.pd?c=uol5752



--
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: /dev/null timing and clock skew problems

2007-03-01 Thread Aaron Gray

Pedro Alves writes:


No, but I'm on FAT32 on this machine.  Problem is described here:

http://www.delorie.com/djgpp/v2faq/faq22_18.html

According to that same page, DJGPP has a local hack^Wpatch to
suppress that warning:

DJGPP ports of GNU Make v3.77 and later allow for up to
3 seconds of positive difference between the file timestamp and the
system clock (that is, the file is allowed to be up to 3 seconds into the
future), before the above warning is printed. So upgrading to the
latest version of Make should eliminate such bogus warnings and leave you
only with messages due to real clock skews.


The code for this is available in standard Make, but it isn't enabled in 
the
current build on Cygwin. (The code can be found in remake.c, at line 1277. 
It's

currently enabled if WINDOWS32 or __MSDOS__ is defined.)


Is this just the three second clearance or something more substantial that 
will guarentee builds ?


Aaron


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



garbage in man output

2007-03-01 Thread Andrew Schulman
I've just had to reinstall Windows (comments suppressed) and so of course
Cygwin too.  I've got everything working pretty much as before, except for
one new problem:  man pages are all coming out with formatting commands
rendered as garbage text.  For example, the output of 'man ls' starts out
with

ESC[1mNAMEESC[0m
   ls - list directory contents

where the 'ESC' strings are rendered in inverse video.  The first line is
supposed to render 'NAME' in bold face.  

All of my man pages are so full of this stuff as to be close to unreadable.
Can someone tell me what's causing it, and how I can fix it?

I'm using a PuTTYcyg terminal with

CYGWIN=tty ntsec
LANG=C
TERM=xterm

but I get the same results in xterm and a DOS console window.  I don't see
any other artifacts on the screen.  Help??

Thanks,
Andrew.


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



Getting 'Bad file descriptor' error with 1.5.24-2

2007-03-01 Thread Schuff, Scott
Hi all -

I'm running a build of a fairly large/complex software project with Make, and 
at random points the whole thing will hang just after printing the error:

/bin/sh: cannot duplicate fd 31 to fd 0: Bad file descriptor

Sometimes the leaf process is sed, sometimes gawk, sometimes sh, but in all 
cases they are buried under a half dozen 'make's, and 'sh's. 

Does anyone have a suggestion on how to debug this?  Is there any setting I can 
change in windows or Cygwin to avoid it?  I have tried some things like 
increasing desktop heap, etc, but still see the problem.  

Thanks in advance for any help.  
-Scott



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

Re: MUTEX_UNLOCK

2007-03-01 Thread Brian Ford
On Thu, 1 Mar 2007, Bobby McNulty wrote:

 The problem reported with perl also shows up in m4.

No, that's perl again (/usr/share/autoconf/Autom4te/General.pm).

There is really no need to keep reporting the same problem.  It also
happens occasionally when building cygwin, so I don't think any more
reports are necessary.  If you'd like to debug it however, I'm sure that
would be appreciated.

I haven't looked at it because I have other work to do, and it's not
really in my way.

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...



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



sftp

2007-03-01 Thread Terry Bailey

Hi,

I am running sftp on Cygwin on Windows 2003.  When I ssh into the server, I 
am confined to my home directory.  That is what I want. That is not the 
case;however, with sftp.  I thought that sftp would follow the same patten 
as ssh since sftp was a subsystem.  What is the best way to limit a user to 
his/her directory with sftp?


Thanks,

Terry Bailey


--
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: How to convert 3gp files?

2007-03-01 Thread Reini Urban

3gp is just a special mp4 in the container format avi and low
resolution audio and video, so after adding .avi it should play in
Windows Media Player natively.
The sound usually uses a weird AAC derivate codec (3GPP AAC+), which
Windows Media Player will most likely try to download.

See http://en.wikipedia.org/wiki/3gp

2007/3/1, Morten Kjarulff [EMAIL PROTECTED]:

I just copied a video from my new LG phone. Extension of the file is 3GP.
It is easy to google a converter, but does there exist a cygwin package
that can convert a 3GP file, so I can play it with Windows Media Player?


No. But there exist converters like http://mediacoder.sf.net which use
cygwin packages.
mplayer/mencoder and ffmpeg should understand that also.
--
Reini

--
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: How to convert 3gp files?

2007-03-01 Thread thad

you can use quicktime or vlc for 3gp.

On 3/1/07, Morten Kjarulff [EMAIL PROTECTED] wrote:


Hi,

I just copied a video from my new LG phone. Extension of the file is 3GP.
It is easy to google a converter, but does there exist a cygwin package
that can convert a 3GP file, so I can play it with Windows Media Player?

/Morten


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





--
sometimes truth is stranger than fiction
-bad religion-
http://www.bloglines.com/blog/mailist

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



One happy screen user

2007-03-01 Thread Frank Fesevur

Hi,

I am using the screen test package Andrew Schulman mentioned here some 2 
weeks ago. And so far it works great for me. 
http://cygwin.com/ml/cygwin/2007-02/msg00446.html


Andrew, thanks for your work. Again, I'm not experiencing any problems 
with this build. Please consider trying to make it an official cygwin 
package.


Frank


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



bash scripts failing on xp64

2007-03-01 Thread John Lilley
OS: Windows XP 64
Cygwin Version: 1.5.24-2

I'm finding that my install of cygwin will run interactive scripts just
fine, but won't run them from a file.  For example, here is a script in
f:/temp/foo:

$ cat f:/temp/foo
echo X
for i in *
do
echo $i
done


It fails if I try to source it:

$ . f:/temp/foo
X
'ash: f:/temp/foo: line 3: syntax error near unexpected token `do
'ash: f:/temp/foo: line 3: `do


But if I paste it directly into the shell window its fine:
$ echo X
X
$ for i in *
 do
 echo $i
 done
AUTOEXEC.BAT
CONFIG.SYS
Config.Msi
Documents and Settings
IO.SYS
MSDOS.SYS
NTDETECT.COM
[...]


I've re-installed cygwin, but no avail.  Anyone else seeing this?

Thanks,
John

--
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: bash scripts failing on xp64

2007-03-01 Thread Eric Blake
John Lilley jlilley at datalever.com writes:

 It fails if I try to source it:
 
 $ . f:/temp/foo
 X
 'ash: f:/temp/foo: line 3: syntax error near unexpected token `do
 'ash: f:/temp/foo: line 3: `do
 
 I've re-installed cygwin, but no avail.  Anyone else seeing this?

You, and about 100 other complainers who failed to read the
release announcement:
http://cygwin.com/ml/cygwin-announce/2007-01/msg00015.html

Search the archives for details (hint - you have carriage
returns but a binary mount).

-- 
Eric Blake
volunteer cygwin bash maintainer



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



Problems with ssh-host-config using cyginw installed on samba share

2007-03-01 Thread David Abrahams

I installed my Cygwin on a samba share and found that ssh-host-config
didn't work.  Specifically, I got the message /usr/bin/awk: No such
file or directory.  Yes, I had awk installed and available at
/usr/bin/awk.  It was even a binary and not a symlink.

I tried reinstalling twice.  Then I finally wiped that installation
and installed to C:\cygwin; everything works now.

Can anyone tell me how to fix the problem, or, failing that, is there
a way to seamlessly relocate my cygwin to the network share?

Thanks,

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.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/



test message

2007-03-01 Thread Asher Vilensky
Hello,
I'm new to the list.  This is just a test message to see that it went
through.  Please reply once only so I know it passed.

Thanks.


 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

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



script problem

2007-03-01 Thread Asher Vilensky
I'm running my Xcygwin on Windows XP.  I have an xterm open
automatically when I start the machine.  The problem is when I'm
shutting the machine down.  It's giving me the window of end program
now.  I think it's waiting for  XWin to die.  I can see a message
about it in the title bar of the End Now dialog box.  When I
look at the task manager I can see XWin.exe running.  
The question is how to cause this program to die when I order the
machine to shutdown.  
 
  
Thanks



 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

--
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: script problem

2007-03-01 Thread Andrew DeFaria

Asher Vilensky wrote:
I'm running my Xcygwin on Windows XP. I have an xterm open 
automatically when I start the machine. The problem is when I'm 
shutting the machine down. It's giving me the window of end program 
now. I think it's waiting for XWin to die. I can see a message about 
it in the title bar of the End Now dialog box. When I look at the 
task manager I can see XWin.exe running.  The question is how to cause 
this program to die when I order the

machine to shutdown.

Stop XWin.exe? =-O

Just out of curiosity, why are you running a heavy process like X just 
to run an xterm? Why not instead use something like Cygwin's rxvt (not 
normally installed by default) which is a lot like xterm but does not 
require a heavy X server to run?

--
Andrew DeFaria http://defaria.com
I don't have a solution but I admire the 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: Problems with ssh-host-config using cyginw installed on samba share

2007-03-01 Thread Larry Hall (Cygwin)

David Abrahams wrote:

I installed my Cygwin on a samba share and found that ssh-host-config
didn't work.  Specifically, I got the message /usr/bin/awk: No such
file or directory.  Yes, I had awk installed and available at
/usr/bin/awk.  It was even a binary and not a symlink.

I tried reinstalling twice.  Then I finally wiped that installation
and installed to C:\cygwin; everything works now.

Can anyone tell me how to fix the problem, or, failing that, is there
a way to seamlessly relocate my cygwin to the network share?



My WAG based on available information is smbntsec.  See the User's Guide:

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

--
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: Ambiguous error from ./configure

2007-03-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

http://cygwin.com/acronyms/#PPIOSPE - redirecting to the list

According to Forrest Aldrich on 3/1/2007 10:47 AM:

 configure:4187: error: C preprocessor gcc -E fails sanity check

 In this case, you are better off looking in config.log, not
 configure, for
 figuring out why $ac_preproc_ok was not set to a good value.  Did you
 correctly install gcc?

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

 And following directions by including 'cygcheck -svr' output as a text
 attachment might be helpful.


You didn't send cygcheck output...

 Thanks for your reply.
 
 I can't figure out how to copy-and-paste from the Cygwin window.   It
 appears you cannot do this.  The output of cygcheck -svr is rather
 significant in size.

If you are using a cmd.com terminal, you do it like you would copy and
paste anything else from Windows - right click on the title bar, hit
edit-mark, highlight the text, then right click on the title bar and
select copy.  If you are using rxvt or xterm, you do it like you would
copy and paste anything else from Unix - highlight the text, and it is
already on the clipboard.

And if all else fails, redirect your output to a file, and just attach the
file.

As for the size of cygcheck -svr, we know about that - we wouldn't ask for
it if it weren't important, in spite of the size.

 
 I installed GCC through the setup and I can run it, access it, etc.

The contents of config.log are still important for seeing why configure
didn't like your gcc setup.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF54Cm84KuGfSFAYARAuDrAJ4ryDbHfuJvVX4y8VbcA/B3xXd3LwCfXjoO
6OtRSRopo4Z8FIruUOPnqqw=
=4NtP
-END PGP SIGNATURE-

--
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: Strange message from updatedb

2007-03-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Phil Edwards on 3/1/2007 11:24 AM:
 
 I'm using the current stable release, 1.5.24.  I've been trying to use
 find(1) directly to work out a minimally successful command line, but
 so far nothing.  Adding -D options results in a crash:

I'll need more details if you expect me to help resolve that crash.  A
stackdump is nearly useless without compiled symbols to go along it - what
was your exact command line?  What version of find?

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF54Os84KuGfSFAYARAsbPAJwJLdM8O9RjGRXbKtWEP22eyP6jOwCgqknn
9umTgi9p99XaWfdvpRwUCkk=
=80Pf
-END PGP SIGNATURE-

--
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: script problem

2007-03-01 Thread Asher Vilensky
1.  Where should I place the Stop command?  I would like to keep
everything automated and seemless.

2.  Which cygwin package contain rxvt?

Thanks.


--- Andrew DeFaria [EMAIL PROTECTED] wrote:

 Asher Vilensky wrote:
  I'm running my Xcygwin on Windows XP. I have an xterm open 
  automatically when I start the machine. The problem is when I'm 
  shutting the machine down. It's giving me the window of end
 program 
  now. I think it's waiting for XWin to die. I can see a message
 about 
  it in the title bar of the End Now dialog box. When I look at the
 
  task manager I can see XWin.exe running.  The question is how to
 cause 
  this program to die when I order the
  machine to shutdown.
 Stop XWin.exe? =-O
 
 Just out of curiosity, why are you running a heavy process like X
 just 
 to run an xterm? Why not instead use something like Cygwin's rxvt
 (not 
 normally installed by default) which is a lot like xterm but does not
 
 require a heavy X server to run?
 -- 
 Andrew DeFaria http://defaria.com
 I don't have a solution but I admire the 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/
 
 



 

Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.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: script problem

2007-03-01 Thread Larry Hall (Cygwin)

Asher Vilensky wrote:

snip



2.  Which cygwin package contain rxvt?


http://cygwin.com/cgi-bin2/package-grep.cgi?grep=rxvt.exe

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



System Error 3 has Occured --- The System cannot find the path specified

2007-03-01 Thread neo napster
Hi,

 We were trying to just get the cygserver up and running. We have successfully 
installed cygserver. But, when starting Cygserver (net start cygserver), the 
following error occurs:

System Error 3 has Occured ---   The System cannot find the path specified.

I have checked services.msc for the cygserver service, it is installed 
correctly and the path to the exectuable is pointing to cygrunsrv.exe in the 
correct folder. What could be the problem?



Thanks and Regards,
Neo.





___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk

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



Difference Between CYGIPC And CYGServer

2007-03-01 Thread neo napster
Hi,

I have a few queries regarding cygserver and cygipc. 
what will be the impact to move from cygipc to cygserver? 
I have some systems programs which make calls to the CYGIPC, 
since these programs are coded long back.

Can you please give us an idea of the things that need to be done 
to move from cygipc to cygserver. Our programs are coded in C.

With Regards,
Neo.



___ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.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/



New package: hdparm-6.9-1

2007-03-01 Thread Christian Franke
A Cygwin port of hdparm is now part of the Cygwin distribution.

Hdparm (http://sourceforge.net/projects/hdparm) is a Linux tool to
get/set ATA/SATA drive parameters and driver settings.

I have added a HDIO_DRIVE_CMD ioctl emulation layer to provide the drive
related command subset of hdparm on Windows.

It should work on XP SP2 and 2003 if the driver provides
ATA_PASS_THROUGH. It also supports 2000 and XP SP1 if undocumented
IDE_PASS_THROUGH is available. I haven't tested it on Vista yet.


Examples:
hdparm -I /dev/sda -- print disk information and current settings
hdparm -M 128 /dev/sda -- set acoustic management to quiet
hdparm -M 254 /dev/sda -- set acoustic management to fast
hdparm -S 120 /dev/sdb -- set 2nd disks standby timeout to 10min
hdparm -y /dev/sdb -- set 2nd disk to standby mode
hdparm -t /dev/sda -- perform disk read timings
hdparm --security-freeze /dev/sda -- Freeze security settings
(There are still BIOS versions which leave the drive vulnerable)

Administrator rights are required to run these commands.


Device names and supported command subset:

hdparm - get/set hard disk parameters - version v6.9-20070228 (Cygwin)

Usage:  hdparm  [options] [device]

Device:
/dev/hd[a-z]harddisk 0,1,...
/dev/sd[a-z]harddisk 0,1,...
/dev/scd[0-9]   cd-rom 0,1,...

Options:
-A   set drive read-lookahead flag (0/1)
-B   set Advanced Power Management setting (1-255)
-C   check IDE power mode status
--debug   enable debugging output
--direct  use O_DIRECT to bypass page cache for timings
-D   enable/disable drive defect management
-f   flush buffer cache for device on exit
-g   display drive geometry
-h   display terse usage information
-H   read temperature from drive (Hitachi only)
-i   display drive identification
-I   detailed/current information directly from drive
--Istdin  read identify data from stdin as ASCII hex
--Istdout write identify data to stdout as ASCII hex
-K   set drive keep_features_over_reset flag (0/1)
-L   set drive doorlock (0/1) (removable harddisks only)
-M   get/set acoustic management (0-254, 128: quiet, 254: fast)
(EXPERIMENTAL)
-P   set drive prefetch count
-q   change next setting quietly
-s   set power-up in standby flag (0/1)
-S   set standby (spindown) timeout
-t   perform device read timings
-T   perform cache read timings
-v   defaults; same as -g for IDE drives
-V   display program version and exit immediately
-w   perform device reset (DANGEROUS)
-W   set drive write-caching flag (0/1) (DANGEROUS)
-X   set IDE xfer mode (DANGEROUS)
-y   put IDE drive in standby mode
-Y   put IDE drive to sleep
-Z   disable Seagate auto-powersaving mode
--security-freeze   Freeze security settings until reset


Christian Franke

-- 

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.  Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin
mailing list.

 *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.