[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug: stdin can't be used on Windows, because of missing EOF

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Fri, 04 Jul 2008 11:58:56 -0400

"Neiss, Guenter" <GUENTER.NEISS_at_plarad.de> writes:
> First a question of how to answer correctly to this list. I tried to
> send my first reply to this thread (in reply to Karl Fogel) directly
> to the list (recived via gname), but it seams, that doesn't work (this
> message isn not shown till now).
>
> Therefor I post is to 'dev_at_subversion.tigris.org' again, and this
> mesage was shown, but a a seperate thread !?! So can somebody tell
> how to answer correctly ? So that an answer goes into the same thread
> ?

Hmm. I thought I saw your original reply. What's the Message-ID?

> Ok, now to the problem itsef.
>
> First I have to say 'me culpa', I was on 'the wood-way' (a word by
> word translation of a german idiom, may be translated as 'I go
> straight forward, in the wrong direction').
>
> My fault was to (incorrectly) use CON: as a synonym for stdin. While
> this may be used in the other direction (CON: is the stdin for
> commands that are called without an input-redirection), this can't be
> used on commands that uses a source-filename parameter to specify
> stdin as the soure file.
>
> So in fact my hook script 'hangs', because it is waiting for
> Keyboard-Input (which can't ever happen on a process executed inside a
> non interactive environment).

Aaaaah. Thanks for following up.

> To append the content of stdin to a file I must use a filter command
> (not shure if this is common terminology, under DOS a filter command
> is a command that takes input from stdin, makes some mods and puts the
> result into stdout).

Yes, I think "filter command" is the common term for this.

Best,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-04 17:59:50 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.