🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2961

Re: Idle Questions about ANSI C

#2961
From: der Mouse
Date: Wed, 18 Nov 1992 10:49
23 lines
1569 bytes
In article <1992Nov17.234608.25085@guinness.idbsu.edu>, dstienek@gozer.idbsu.edu (Dan Stieneke) writes:

> How do I pipe stdout of one file to stdin of another file AFTER I
> have already exec'd the program and entered data from the keyb?

This is an operating-system question, not a C question, and most
certainly not a C standard question.

Under the assumption the OS in question is some variant of UNIX, I'm
cross-posting to comp.unix.questions and pointing followups there.

> specifically:  I want to be able to "data | ftp".  Everything works,
> except that passwords are not entered in the same way as everything
> else.  All commands go thru except for the password.

It's not clear to me that the question you first asked bears any
relation what you "specifically" want to do.  What your question sounds
as though you want to do is precisely what you describe your attempted
pipeline as doing, so I don't see the problem.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Technical Details
Message-ID: <1992Nov18.104956.8656@thunder.mcrcim.mcgill.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!sifon!thunder.mcrcim.mcgill.edu!mouse
References: <1992Nov17.123803.6400@thunder.mcrcim.mcgill.edu> <1992Nov17.234608.25085@guinness.idbsu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c,comp.unix.questions
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!sifon!thunder.mcrcim.mcgill.edu!mouse
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Idle Questions about ANSI C
Message-ID: <1992Nov18.104956.8656@thunder.mcrcim.mcgill.edu>
Followup-To: comp.unix.questions
Keywords: password
Organization: McGill Research Centre for Intelligent Machines
References: <1992Nov17.123803.6400@thunder.mcrcim.mcgill.edu> <1992Nov17.234608.25085@guinness.idbsu.edu>
Date: Wed, 18 Nov 92 10:49:56 GMT
Lines: 24