Can't you do it like this?
# mkfifo fifo
# pppd notty < fifo | pppoe -I eth1 >fifo
/Johan
- Original Message -
From: Rob Landley <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 14, 2001 3:05 AM
Subject: How do I make a circular pipe?
> How
Can't you do it like this?
# mkfifo fifo
# pppd notty fifo | pppoe -I eth1 fifo
/Johan
- Original Message -
From: Rob Landley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 14, 2001 3:05 AM
Subject: How do I make a circular pipe?
How do I do the following:
# -- pppd
On Sat, Apr 14, 2001 at 10:44:46AM -0700, Rob Landley wrote:
> Info. Never thought to check info. Here I am
> checking linuxdoc's howtos, man pages, and google...
> Sigh... I don't suppose there's an info2html tool
> anywhere?
'pinfo' can also be very useful - looks a lot like lynx, but
> > Apparently, the pipe
> > fd's evaporate when the process does an execve.
>
> Check out:
>
> #include
> #include
>
>/* ... */
>
> fcntl (fd, F_SETFD, (long) FD_CLOEXEC);
>
> to set/reset the close on exec bit.
Cool. That's EXACTLY what I was looking
Apparently, the pipe
fd's evaporate when the process does an execve.
Check out:
#include unistd.h
#include fcntl.h
/* ... */
fcntl (fd, F_SETFD, (long) FD_CLOEXEC);
to set/reset the close on exec bit.
Cool. That's EXACTLY what I was looking
On Sat, Apr 14, 2001 at 10:44:46AM -0700, Rob Landley wrote:
Info. Never thought to check info. Here I am
checking linuxdoc's howtos, man pages, and google...
Sigh... I don't suppose there's an info2html tool
anywhere?
'pinfo' can also be very useful - looks a lot like lynx, but
On Fri, Apr 13, 2001 at 06:05:04PM -0700, Rob Landley wrote:
> How do I do the following:
>
> # --> pppd notty | pppoe -I eth1 | --
>|_|
>
> I.E. connect the stdout of a process (or chain
> thereof) to its own stdin?
>
> So I wrote a program to do it,
How do I do the following:
# --> pppd notty | pppoe -I eth1 | --
|_|
I.E. connect the stdout of a process (or chain
thereof) to its own stdin?
So I wrote a program to do it, along the lines of:
sixty-nine /bin/sh -c "pppd notty | pppoe -I eth1"
With an
How do I do the following:
# -- pppd notty | pppoe -I eth1 | --
|_|
I.E. connect the stdout of a process (or chain
thereof) to its own stdin?
So I wrote a program to do it, along the lines of:
sixty-nine /bin/sh -c "pppd notty | pppoe -I eth1"
With an
On Fri, Apr 13, 2001 at 06:05:04PM -0700, Rob Landley wrote:
How do I do the following:
# -- pppd notty | pppoe -I eth1 | --
|_|
I.E. connect the stdout of a process (or chain
thereof) to its own stdin?
So I wrote a program to do it, along the
10 matches
Mail list logo