public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Problems with sed, make and NT4 in general
@ 2000-05-30  3:56 Shamsutdinov, Salikhyan
  2000-05-30  5:21 ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Shamsutdinov, Salikhyan @ 2000-05-30  3:56 UTC (permalink / raw)
  To: cygwin

I had the same problem with make, which comes with binary distribution. It
was solved after compiling it myself under with MsDev.

When you compile something with sh ./configure and then make it will
understand only unix like stuff. I don't know why Windows like staff (
windows pathes ) are not enabled by default.

Salikhyan.

-----Original Message-----
From: Simon Sparkes [ mailto:Simon.Sparkes@ubsw.com ]
Sent: Tuesday, May 30, 2000 1:45 PM
To: cygwin@sourceware.cygnus.com
Subject: Problems with sed, make and NT4 in general


Hello,

I am running version 1.1.1 and am having some very basic problems under
Windows NT4 and Windows 2000

1. Make does not recognise backslashes
2. sed -f file always reports errors on commands but the same commands
work fine on the command line.
   Command Example: s/abc/def/ fails in a file with the error "sed: file
file line 1 Unknown option to 's'" but is the same command is fine on
the command line. e.g. sed -e 's/abc/def/'
3. The NT4 version seems to have significant delays starting any cygwin
based program, but not Windows 2000

I assume I've got a basic configuration problem or two but I can't
figure out what
Simon Sparkes


This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with sed, make and NT4 in general
  2000-05-30  3:56 Problems with sed, make and NT4 in general Shamsutdinov, Salikhyan
@ 2000-05-30  5:21 ` Corinna Vinschen
  0 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2000-05-30  5:21 UTC (permalink / raw)
  To: Shamsutdinov, Salikhyan; +Cc: cygwin

"Shamsutdinov, Salikhyan" wrote:
> 
> I had the same problem with make, which comes with binary distribution. It
> was solved after compiling it myself under with MsDev.
> 
> When you compile something with sh ./configure and then make it will
> understand only unix like stuff. I don't know why Windows like staff (
> windows pathes ) are not enabled by default.

We are heavily working on that...

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with sed, make and NT4 in general
  2000-05-30  5:36 ` Ville Herva
@ 2000-05-30  5:42   ` Ville Herva
  0 siblings, 0 replies; 5+ messages in thread
From: Ville Herva @ 2000-05-30  5:42 UTC (permalink / raw)
  To: cygwin, salikhyan.shamsutdinov

On Tue, May 30, 2000 at 03:35:48PM +0300, you [Ville Herva] claimed:
> On Tue, May 30, 2000 at 12:44:56PM +0200, you [Simon Sparkes] claimed:
> > 2. sed -f file always reports errors on commands but the same commands
> > work fine on the command line.
> >    Command Example: s/abc/def/ fails in a file with the error "sed: file
> > file line 1 Unknown option to 's'" but is the same command is fine on
> > the command line. e.g. sed -e 's/abc/def/'
> 
> That's because sed uses mmap for reading the supplied by -f. With mmap,
> cygwin does not do the CR/LF conversion (AFAIK). So sed sees option '^M'
> for s// and barfs.
> 
> I think I could make a patch for that... 

Ummh. As of 20000525 snapshot, I can't reproduce this anymore (not with
text or binary mounts). I tought the configuretion succeeded because 

cat > foo <<END
s/a/b
END

no longer added ^M's in foo, but it's in fact sed that now works. Has some
magic been done to mmap?


-- v --

v@iki.fi

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with sed, make and NT4 in general
  2000-05-30  3:51 Simon Sparkes
@ 2000-05-30  5:36 ` Ville Herva
  2000-05-30  5:42   ` Ville Herva
  0 siblings, 1 reply; 5+ messages in thread
From: Ville Herva @ 2000-05-30  5:36 UTC (permalink / raw)
  To: cygwin; +Cc: salikhyan.shamsutdinov

On Tue, May 30, 2000 at 12:44:56PM +0200, you [Simon Sparkes] claimed:
> 2. sed -f file always reports errors on commands but the same commands
> work fine on the command line.
>    Command Example: s/abc/def/ fails in a file with the error "sed: file
> file line 1 Unknown option to 's'" but is the same command is fine on
> the command line. e.g. sed -e 's/abc/def/'

That's because sed uses mmap for reading the supplied by -f. With mmap,
cygwin does not do the CR/LF conversion (AFAIK). So sed sees option '^M'
for s// and barfs.

I think I could make a patch for that... 

> 3. The NT4 version seems to have significant delays starting any cygwin
> based program, but not Windows 2000

Make sure you don't have any network drives in your path or anything like
that.

> This message contains confidential information and is intended only 
> for the individual named.  

Sendmail is for mail, named is for dns.


-- v --

v@iki.fi

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Problems with sed, make and NT4 in general
@ 2000-05-30  3:51 Simon Sparkes
  2000-05-30  5:36 ` Ville Herva
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Sparkes @ 2000-05-30  3:51 UTC (permalink / raw)
  To: cygwin

Hello,

I am running version 1.1.1 and am having some very basic problems under
Windows NT4 and Windows 2000

1. Make does not recognise backslashes
2. sed -f file always reports errors on commands but the same commands
work fine on the command line.
   Command Example: s/abc/def/ fails in a file with the error "sed: file
file line 1 Unknown option to 's'" but is the same command is fine on
the command line. e.g. sed -e 's/abc/def/'
3. The NT4 version seems to have significant delays starting any cygwin
based program, but not Windows 2000

I assume I've got a basic configuration problem or two but I can't
figure out what
Simon Sparkes


This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-05-30  5:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-30  3:56 Problems with sed, make and NT4 in general Shamsutdinov, Salikhyan
2000-05-30  5:21 ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2000-05-30  3:51 Simon Sparkes
2000-05-30  5:36 ` Ville Herva
2000-05-30  5:42   ` Ville Herva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).