Piplets Mac OS
Global Nav Open Menu Global Nav Close Menu; Apple; Shopping Bag +. The maximum version of Mac OS X, OS X, or macOS supported by each G3 and later Mac follows. For complete specs on a particular system, click the name of the Mac. For all Macs that are compatible with a specifc maximum supported version of Mac OS X - courtesy of EveryMac.com's Ultimate Mac Sort - click the OS of interest. Mac OS X Manual Page For pipe (2) PIPE (2) BSD System Calls Manual PIPE (2) NAME pipe - create descriptor pair for interprocess communication SYNOPSIS #include int pipe(int fildes); DESCRIPTION The pipe function creates a pipe (an object that allows unidirectional data flow) and allocates a pair of file descriptors.
Click here to return to the 'Using named pipes via mkfifo' hint |
2 running
tail -f pipe
Piplets Mac Os Download
and another running
cat > pipe
try it a couple times starting and stoping each tail session
sorry for the mistake
---
i am jack's amusing sig file
Named pipes are still pipes and not regular files. For example trying to seek to a particular offset in a named pipe will fail. For that reason, sometimes you can get away with named pipes, and sometimes you can't.
Last time I checked (haven't got time now), named pipes aren't honoured in the GUI. A couple of years back I had a named pipe that had a perl script on the end waiting for someone to read it. No GUI apps could open it. :-(
I went to the trouble of sending Apple feedback about it. Anyone know if this has changed?
UNIX uses named pipes to implement sockets, so sometimes named pipes will show up as FTP servers in the Finder. Other times, I've seen them show up as ordinary files that would completely freeze the Finder if you looked at them funny. For example, by right-clicking on a named pipe, and going to the 'Open With' submenu.
I installed shorten using 'fink install shorten'. Where did you get your from? Any idea what magic number might be about? Despite the error response, 'shorten -h' doesn't give any info about magic numbers.
Oh, not surprisingly, the resulting MP3 file is a wash of static. :-(
My mistake! I used the commands above for SHD->MP3 conversion, when I meant to use the RM->MP3 conversion. Shorten was complaining because I wasn't feeding it an SHD file! Now, if I can just compile mplayer with the realaudio codecs, I'll have this working....
I've spent way too much time in the last 2 days trying to get mplayer to compile for Mac OS X, encouraged by the original example in this thread of being able to convert RealAudio to MP3. (Actually, the version available in Fink compiles fine, but does not support Real codecs. The latest source files fail out of the box with a compilation error since they tries to use a '-rdynamic' option with GCC. Removing that option by hacking the config files gets past compiling, but just causes mplayer to crash later when trying to load Real files.)
I sent a private email to the original hint author (fracai), and he admitted that he based his hint on something he does in Linux.
So, the named pipes is a legitimate concept, but the mplayer conversion of RealAudio files is a bit of a 'tease'. If anyone else can get mplayer to properly read Real files, I'd love to know!
I am trying to convert a non DRM WMA file to mp3 using this method.
i follow theinstructions, substituting where appropriate, and here is what (doesn't) happen.
i make the named pipe
fine no problem
i start lame, so far no problems
i have to go to another terminal window to start mplayer.
as soon as i start mplayer, the mplayer window says broken pipe immediately after outputting 'Starting Playback'
the other terminal window (the one lame was started in)
outputs a bunch of info, and then
Writing LAME tag ... Done.
and quits
Where does the fault lie?
i have never used lame before
and i don't normally use mplayer from the command line
Any ideas?
Piplets Mac Os X
To make your example work, I had to use `cat pipe` in the second terminal instead of `tail -f pipe`