From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Thu, 28 Mar 2002 04:20:45 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 177 ************************************************** Wednesday 27 March 2002 Number 177 ************************************************** Subjects for today 1 Re: Ogg Vorbis for Stream Audio : Mikkel C. Simonsen" 2 Re: Re: Building Perl.exe as a test of manhood ;-) : John Poltorak 3 Re: Ogg Vorbis for Stream Audio : John Poltorak 4 Re: Re: Building Perl.exe as a test of manhood ;-) : Edwin =?iso-8859-1?Q?G=FCnthner?= 5 Re: libcharset.h : Henry Sobotka 6 more bandwidth : T.Sikora" 7 Re: libcharset.h : Henry Sobotka 8 Re: Re: Running ./configure : Stefan Neis 9 libcharset.h : John Poltorak 10 Essential libraries : John Poltorak 11 Re: libcharset.h : Dave and Natalie" 12 Re: libcharset.h : John Poltorak 13 Re: Saving Audio Stream : DoC" 14 Re: Need some help builing GETTEXT : Dave and Natalie" 15 Re: Re: Building Perl.exe as a test of manhood ;-) : Dave and Natalie" 16 Delegate for OS/2 : John Poltorak 17 Re: Re: Building Perl.exe as a test of manhood ;-) : Lyn St George" 18 Re: Re: Building Perl.exe as a test of manhood ;-) : John Poltorak 19 Saving Audio Stream : John Poltorak 20 Re: Building Perl.exe as a test of manhood ;-) : Masaru Nomiya 21 Re: iconv.a : John Poltorak 22 April 5th : T.Sikora" 23 OGG123 strangeness : John Poltorak 24 Re: Saving Audio Stream : John Poltorak 25 Re: Need some help builing GETTEXT : John Poltorak 26 Re: Saving Audio Stream : DoC" 27 Re: iconv.a : John Poltorak 28 Re: iconv.a : Andreas Buening **= Email 1 ==========================** Date: Thu, 28 Mar 2002 02:06:33 +0100 From: "Mikkel C. Simonsen" Subject: Re: Ogg Vorbis for Stream Audio John Poltorak wrote: > > On Wed, Mar 27, 2002 at 09:30:10PM +1100, Michael Taylor wrote: > > > Can you listen to Radio 1? > > Try this:- > > ogg123 http://ogg.bbc.co.uk:8001/radio1_high.ogg > > Just got it working. > > The sound quality is great, but it takes up 100% CPU here. It's almost > impossible to get to the Window List It works fine here - the "music" is terrible though. It started out at 100% CPU, but after I started Mozilla the CPU load seems to have dropped?!? I have a 350MHz Pentium 2 Xeon CPU BTW (Pentium II Overdrive at 70MHZ ;-) According to the BBC website they only broadcast in RealAudio - is the Ogg stream mentioned anywhere? Best regards, Mikkel C. Simonsen > > > -- > > Regards, > > Mick > > -- > John **= Email 2 ==========================** Date: Thu, 28 Mar 2002 08:24:20 +0000 From: John Poltorak Subject: Re: Re: Building Perl.exe as a test of manhood ;-) On Wed, Mar 27, 2002 at 11:17:58PM -0800, Dave and Natalie wrote: > On Wed, 27 Mar 2002 22:46:55 -0800, Dave and Natalie wrote: > > >On Wed, 27 Mar 2002 22:21:27 -0800, Dave and Natalie wrote: > >>At this point my swap file was 300032 Kb, which is as big as it ever has been > >>Going to try it with ftp://ftp.math.ohio-state.edu/pub/users/ilya/os2/pdksh-5.2.14-bin-2.zip next. > >>Dave > >>ps all it was using was x:/usr/bin/sh > > > >Using the newer pdksh has the same result. Amazing thing is that my computer is still usable even though its only got 32 Mb. Like to see any other operating system do that. I did have the perl build running at a high idle prioity. > > Well tried it with Mr Sawataishi's Bash copied to /usr/bin/sh and got a bit further, now it doesn't like my tr.exe. > I'm using tr.exe ³ 17408³03-02-01³ 8:34p which is the recomened version of tr? I doubt whether it will work with BASH. I've used several versions of TR. It may just be the location of tr.exe which is causing the problem, some paths appear to be hard wired. Maybe try the one from the most recent TXTUTILS at unixos2.com > Dave -- John **= Email 3 ==========================** Date: Thu, 28 Mar 2002 08:29:56 +0000 From: John Poltorak Subject: Re: Ogg Vorbis for Stream Audio On Thu, Mar 28, 2002 at 02:06:33AM +0100, Mikkel C. Simonsen wrote: > John Poltorak wrote: > > > > On Wed, Mar 27, 2002 at 09:30:10PM +1100, Michael Taylor wrote: > > > > > Can you listen to Radio 1? > > > > Try this:- > > > > ogg123 http://ogg.bbc.co.uk:8001/radio1_high.ogg > > > > Just got it working. > > > > The sound quality is great, but it takes up 100% CPU here. It's almost > > impossible to get to the Window List > > It works fine here - the "music" is terrible though. Yeah, it's geared towards 'young people' :-)... > It started out at > 100% CPU, but after I started Mozilla the CPU load seems to have > dropped?!? There is also a radio1_low stream which hardly uses any CPU here. I don't really notice much of a difference. > > I have a 350MHz Pentium 2 Xeon CPU BTW (Pentium II Overdrive at 70MHZ ;-) > > According to the BBC website they only broadcast in RealAudio - is the > Ogg stream mentioned anywhere? It's only experimental so far. See:- http://support.bbc.co.uk/ogg/ > Best regards, > > Mikkel C. Simonsen -- John **= Email 4 ==========================** Date: Thu, 28 Mar 2002 09:37:07 +0100 From: Edwin =?iso-8859-1?Q?G=FCnthner?= Subject: Re: Re: Building Perl.exe as a test of manhood ;-) Dave and Natalie wrote: > I'm using tr.exe ³ 17408³03-02-01³ 8:34p which is the recomened version of tr? When I tried to compile Perl my own, I too failed with tr. I think I downloaded a very old version (1998) or so from somewhere ... it it got me behind that problem. But believe me - others will follow. **= Email 5 ==========================** Date: Thu, 28 Mar 2002 09:43:52 -0500 From: Henry Sobotka Subject: Re: libcharset.h John Poltorak wrote: > > I'm trying to build libiconv but don't seem to have a libcharset.h. > > Does anyone know where I can expect to find one? It's generated from libiconv-x.x.x/libcharset/include/libcharset.h.in. h~ **= Email 6 ==========================** Date: Thu, 28 Mar 2002 11:04:49 -0500 From: "T.Sikora" Subject: more bandwidth I put in the order for more speed on unixos2.com. Should see it in 2-3 days. -- Ted Sikora tsikora at unixos2.com http://unixos2.com **= Email 7 ==========================** Date: Thu, 28 Mar 2002 11:30:08 -0500 From: Henry Sobotka Subject: Re: libcharset.h John Poltorak wrote: > > How? By cd'ing into libcharset and building it first. > The archive comes with a Makefile.os2 which doesn't mention this file. The Makefile.os2 probably predates the addition of libcharset. > I guess everything would work fine on Unix because you would run > configure... > > Can I use autoconf and configure with libiconv to create a Makefile > suitable for OS/2? That's what I did here to build 1.5.1 during a library chase. h~ **= Email 8 ==========================** Date: Thu, 28 Mar 2002 12:26:49 +0100 (CET) From: Stefan Neis Subject: Re: Re: Running ./configure On Tue, 26 Mar 2002, Andreas Buening wrote: > Btw. I don't think that UNIXROOT code will have to be removed > once libemu is ready for production use. No, it won't be necessary to remove it, but I don't see what will it gain you? It's just in there and doing nothing useful at all. > Some people might > still want to have Unix like shell tools they can call from > a REXX script or from command line (_with_ drive letters). Yes, definitly. Me. But I don't see the relation to UNIXROOT. That's more an issue of path handling for the parameters... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 9 ==========================** Date: Thu, 28 Mar 2002 14:20:13 +0000 From: John Poltorak Subject: libcharset.h I'm trying to build libiconv but don't seem to have a libcharset.h. Does anyone know where I can expect to find one? -- John **= Email 10 ==========================** Date: Thu, 28 Mar 2002 14:50:24 +0000 From: John Poltorak Subject: Essential libraries What libraries do people recommend installing once EMX/GCC is in place? The ones that come to mind are:- regex intl zlib ncurses along with many others... I seem to have collected quite a number of other files over the years in a fairly random fashion, but now I'd like to try and recreate LIB and INCLUDE in a more systematic way and become aware of the source of any addition to the original files from the EMX v0.9d distribution. -- John **= Email 11 ==========================** Date: Thu, 28 Mar 2002 14:56:13 -0800 From: "Dave and Natalie" Subject: Re: libcharset.h On Thu, 28 Mar 2002 09:43:52 -0500, Henry Sobotka wrote: >John Poltorak wrote: >> >> I'm trying to build libiconv but don't seem to have a libcharset.h. >> >> Does anyone know where I can expect to find one? > >It's generated from libiconv-x.x.x/libcharset/include/libcharset.h.in. I ran configure & make first just to generate this. Then ran make -f makefile.os2. I think that some porters start out with configure & make (&make clean?) then write a makefile.os2 so things like libcharset.h have been generated. Dave **= Email 12 ==========================** Date: Thu, 28 Mar 2002 15:03:53 +0000 From: John Poltorak Subject: Re: libcharset.h On Thu, Mar 28, 2002 at 09:43:52AM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > I'm trying to build libiconv but don't seem to have a libcharset.h. > > > > Does anyone know where I can expect to find one? > > It's generated from libiconv-x.x.x/libcharset/include/libcharset.h.in. How? The archive comes with a Makefile.os2 which doesn't mention this file. I guess everything would work fine on Unix because you would run configure... Can I use autoconf and configure with libiconv to create a Makefile suitable for OS/2? > h~ -- John **= Email 13 ==========================** Date: Thu, 28 Mar 2002 15:07:22 -0300 (EST) From: "DoC" Subject: Re: Saving Audio Stream On Thu, 28 Mar 2002 16:24:06 +0000, John Poltorak wrote: >Is it possible to save Streamed Audio as a file? > >ie. can I do something like? :- > >ogg123 | tee audio.dat > Have you tried using wget on it? Just cut it when you think your harddisk is full enough :) -- DoC **= Email 14 ==========================** Date: Thu, 28 Mar 2002 15:09:44 -0800 From: "Dave and Natalie" Subject: Re: Need some help builing GETTEXT On Thu, 28 Mar 2002 21:37:03 +0000, John Poltorak wrote: >> Eventually the compile got into a loop in libtool. I killed it. At that >> the loop was so bad here that I needed the big red button to kill it, >> partly due to my poor ancient machine being overstressed, swap file was >> upto 130 Mbs on this 32 Mb machine. >> Then cd into os2 and ran make. First time get >> make: *** No rule to make target `out/release/intl.a', needed by `all'. >> Stop. >> rerun make > >What possessed you to rerun it? I never thought of doing that... The readme.os2 said to. > > >> Then I got this > >I ended up with:- > >emxbind: cannot export symbol _nl_msg_cat_cntr of type 9 > >although on closer examination I do see an intl.a in os2\out\release.. > > >Can I use this to make an INTL.DLL ? I don't know, I did end up with an INTL.DLL. I guess I should test this. > > >> So cd into libuniname and make to build libuniname. This only works if >> you do the configure and make at the beginning >> Add -luniname to line 60, the libs line and copy (temporary?) >> libuniname.a to a lib directory such as /emx/lib >> Edit src\x-python.c to change #include "uniname.h" to #include >> "../libuniname/uniname.h" or copy uniname.h to an include directory, eg >> /emx/include. >> Maybe the best solution is to manually install uniname somewhere, eg >> /emx/lib and /emx/include. >> Do make again. >> Most of the files end up in os2/out/release though some are in >> /os2/emx. Most likely make install will finish it off but now is the >> time for testing and I don't have enough time this morning > >You lost me with all that... Sorry, I had to generate uniname.h from uniname.h.in so I ran configure then cd to libuniname and ran make. Make failed but did generate libuniname.a and uniname.h. First I tried editing x-python.c to point to the location of uniname.h (libuniname/uniname.h) then I needed libuniname.a and wasn't sure of the best syntax. So I copied uniname.h to /emx/include and copied libuniname.a to /emx/lib. Then gcc could find uniname.h & libuniname.a. > > >The Makefile makes it sound dead easy, but it certainly isn't, although >I was able to make a previous version without too much trouble. No, it took me most of a day to get this to work. I was proud to end up with INTL.DLL Dave **= Email 15 ==========================** Date: Thu, 28 Mar 2002 15:11:04 -0800 From: "Dave and Natalie" Subject: Re: Re: Building Perl.exe as a test of manhood ;-) On Thu, 28 Mar 2002 08:24:20 +0000, John Poltorak wrote: >On Wed, Mar 27, 2002 at 11:17:58PM -0800, Dave and Natalie wrote: >> On Wed, 27 Mar 2002 22:46:55 -0800, Dave and Natalie wrote: >> >> >On Wed, 27 Mar 2002 22:21:27 -0800, Dave and Natalie wrote: > >> >>At this point my swap file was 300032 Kb, which is as big as it ever has been >> >>Going to try it with ftp://ftp.math.ohio-state.edu/pub/users/ilya/os2/pdksh-5.2.14-bin-2.zip next. >> >>Dave >> >>ps all it was using was x:/usr/bin/sh >> > >> >Using the newer pdksh has the same result. Amazing thing is that my computer is still usable even though its only got 32 Mb. Like to see any other operating system do that. I did have the perl build running at a high idle prioity. >> >> Well tried it with Mr Sawataishi's Bash copied to /usr/bin/sh and got a bit further, now it doesn't like my tr.exe. >> I'm using tr.exe 17408 03-02-01 8:34p which is the recomened version of tr? > >I doubt whether it will work with BASH. > >I've used several versions of TR. It may just be the location of tr.exe >which is causing the problem, some paths appear to be hard wired. Maybe >try the one from the most recent TXTUTILS at unixos2.com Well I rebooted, copied pdksh's sh to /usr/bin and configure ran fine. No heavy memory use, no complaints about tr.exe. Make failed with a bunch of unresolved externals such as e:\emx\lib\db.lib(rec_search.obj) : error L2029: 'errno' : unresolved external e:\emx\lib\db.lib(munmap.obj) : error L2029: 'errno' : unresolved external e:\emx\lib\db.lib(rec_seq.obj) : error L2029: 'errno' : unresolved external ... I'd imagine I need to update db_mt but right now I can't get thru to ftp://ftp.math.ohio-state.edu/pub/users/ilya/os2/ Dave **= Email 16 ==========================** Date: Thu, 28 Mar 2002 15:16:38 +0000 From: John Poltorak Subject: Delegate for OS/2 There's a new port of Delegate for OS/2 at Hobbes:- http://hobbes.nmsu.edu/pub/incoming/delegate792-os2.zip I've never used it myself but it sounds pretty impressive. You can read about it here:- http://www.delegate.org/ Has anyone given it a try? -- John **= Email 17 ==========================** Date: Thu, 28 Mar 2002 15:36:31 +0000 From: "Lyn St George" Subject: Re: Re: Building Perl.exe as a test of manhood ;-) On Wed, 27 Mar 2002 23:17:58 -0800, Dave and Natalie wrote: > >Well tried it with Mr Sawataishi's Bash copied to /usr/bin/sh and got a bit further, now it doesn't like my tr.exe. >I'm using tr.exe ³ 17408³03-02-01³ 8:34p which is the recomened version of tr? >Dave It builds OK here with tr from GNU text utils 1.19 (you did remember to patch perl before building .... not doing this will give a 'tr' error.) - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- **= Email 18 ==========================** Date: Thu, 28 Mar 2002 16:12:20 +0000 From: John Poltorak Subject: Re: Re: Building Perl.exe as a test of manhood ;-) On Thu, Mar 28, 2002 at 03:36:31PM +0000, Lyn St George wrote: > On Wed, 27 Mar 2002 23:17:58 -0800, Dave and Natalie wrote: > > > > >Well tried it with Mr Sawataishi's Bash copied to /usr/bin/sh and got a bit further, now it doesn't like my > tr.exe. > >I'm using tr.exe ³ 17408³03-02-01³ 8:34p which is the recomened version of tr? > >Dave > > It builds OK here with tr from GNU text utils 1.19 (you did remember to patch > perl before building .... not doing this will give a 'tr' error.) I believe it's the location of tr rather than the version which is the problem BICBW... > - > Cheers > Lyn St George -- John **= Email 19 ==========================** Date: Thu, 28 Mar 2002 16:24:06 +0000 From: John Poltorak Subject: Saving Audio Stream Is it possible to save Streamed Audio as a file? ie. can I do something like? :- ogg123 | tee audio.dat -- John **= Email 20 ==========================** Date: Thu, 28 Mar 2002 17:17:41 +0900 From: Masaru Nomiya Subject: Re: Building Perl.exe as a test of manhood ;-) Hello, In the Message; Subject : Re: Re: Building Perl.exe as a test of manhood ;-) Message-ID : <20020328070657.3EFDC8DDA at joseph.ncoldns.com> Date & Time: Wed, 27 Mar 2002 23:17:58 -0800 [D&N] == "Dave and Natalie" has written: D&N> I'm using tr.exe $B%&(B 17408$B%&(B03-02-01$B%&(B 8:34p which is the D&N> recomened version of tr? It works fine for me. In the Message; Subject : Re: Re: Building Perl.exe as a test of manhood ;-) Message-ID : <20020328060943.5F3078DDA at joseph.ncoldns.com> Date & Time: Wed, 27 Mar 2002 22:21:27 -0800 [D&N] == "Dave and Natalie" has written: D&N> [X:\usr\src\perl-5.6.1]sh Configure -des -D prefix=c:/usr/lib/perl 2>&1 | tee configure.log How about sh -x Configure -des -D prefix=c:/usr/lib/perl 2>&1 | tee configure.log Regards, --- Masaru Nomiya mail-to: nomiya at ttmy.ne.jp "No WIndows, no gains!" ..... "Why, I am wrong?" -- Bill -- **= Email 21 ==========================** Date: Thu, 28 Mar 2002 17:42:45 +0000 From: John Poltorak Subject: Re: iconv.a On Wed, Mar 27, 2002 at 03:54:28PM -0800, Dave and Natalie wrote: > On Wed, 27 Mar 2002 15:33:50 +0000, John Poltorak wrote: > > > > >Where can I find iconv.a ? > > > >Gettext seems to expect it. > > Distribution: > ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz > ftp://ftp.ilog.fr/pub/Users/haible/gnu/libiconv-1.7.tar.gz > > Homepage: > http://clisp.cons.org/~haible/packages-libiconv.html > > I can't remember getting it but it is in my source dircetory and I must of built and installed it. There is a makefile.os2 included. I haven't managed to build it. It does have a reference to a non-existant OS/2 link at:- http://clisp.cons.org/~haible/packages-libiconv.html Anyone ever seen this? However I did manage to find something pre-compiled here:- http://www.sra.co.jp/people/akira/os2/libiconv/libiconv_1_4_os2bin.zip Now... why was I looking for this in the first place? ... Ah yes... gettext - where README.OS2 has these immortal words:- Rebuilding the library ====================== The library is quite easy to rebuild. Since the OS/2 support is provided now out-of-the-box in gettext, you just have to download and unpack the source archive. Now there are two ways to rebuild the gettext library: 1. If you're a masochist you can go the clumsy configure/make Unix way. This is not recommended however as I found no way to tell libtool to generate a slightly non-standard DLL which will be backward compatible with gettext 0.10.35. The compatibility is achieved by prepending backward.def to the export definition file generated with emximp or somehow else. Thus it is highly recommended you build using the second way, if it is possible. 2. Go to os2 and just run `make'. If you have all the required tools, it should painlessly compile. Finally, if you want a binary distribution archive, do `make distr'. The weak side of building this way is that makefile is somewhat fragile. This means that if the makefile is left unmodified and a new version of gettext is rolled out, it *may* not work. But every possible attempt was made to ensure that the makefile takes most important build parameters from their autoconf counterparts. I'm glad I opted for the *easy* path... > Dave -- John **= Email 22 ==========================** Date: Thu, 28 Mar 2002 17:47:57 -0500 From: "T.Sikora" Subject: April 5th April 5th the bandwidth will be doubled at unixos2.com wget users are killing the site right now. -- Ted Sikora tsikora at unixos2.com http://unixos2.com **= Email 23 ==========================** Date: Thu, 28 Mar 2002 20:33:25 +0000 From: John Poltorak Subject: OGG123 strangeness Today I had BBC Radio 4 playing via ogg123 for around an hour with hardly any CPU usage according to the system activity monitor, but subsequently the same URL pegs CPU usage to 100%. What could explain such a variation? -- John **= Email 24 ==========================** Date: Thu, 28 Mar 2002 20:54:03 +0000 From: John Poltorak Subject: Re: Saving Audio Stream On Thu, Mar 28, 2002 at 03:07:22PM -0300, DoC wrote: > On Thu, 28 Mar 2002 16:24:06 +0000, John Poltorak wrote: > > >Is it possible to save Streamed Audio as a file? > > > >ie. can I do something like? :- > > > >ogg123 | tee audio.dat > > > > Have you tried using wget on it? Just cut it when you think your harddisk is full enough :) I assume you are joking, but in any event I have no idea how WGET would treat Streaming Audio. Anyone know? > -- DoC > -- John **= Email 25 ==========================** Date: Thu, 28 Mar 2002 21:37:03 +0000 From: John Poltorak Subject: Re: Need some help builing GETTEXT On Tue, Mar 26, 2002 at 03:44:33PM -0800, Dave and Natalie wrote: > On Mon, 25 Mar 2002 14:12:41 +0000, John Poltorak wrote: > > > > >If anyone has managed to build this:- > > > >ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.11.1.tar.gz > > > >I'd appreciate a few tips.... > > I figured I'd give a try. Note I'm not a C programmer. > First I used pgcc 2.95.3. > After screwing around all day this is the best I've found so far. > First I ran sh configure (using a slightly modified version of > config.site from Mr Sawataishi unixos2 package) > then make. > > > Then I got this error > In file included from ../intl/osdep.c:20: > ../intl/os2compat.c: In function `os2_initialize': > ../intl/os2compat.c:97: conflicting types for `_nl_default_dirname__' > ../intl/os2compat.c:42: previous declaration of `_nl_default_dirname__' > ../intl/os2compat.c:99: warning: passing arg 1 of `strcpy' discards > qualifiers from pointer target type > make: *** [out/release/intl/osdep.o] Error 1 > > I fixed this by commenting out line 97 in os2compat.c. Can someone look > at this? Not sure if this is the best solution > > Eventually the compile got into a loop in libtool. I killed it. At that > the loop was so bad here that I needed the big red button to kill it, > partly due to my poor ancient machine being overstressed, swap file was > upto 130 Mbs on this 32 Mb machine. > Then cd into os2 and ran make. First time get > make: *** No rule to make target `out/release/intl.a', needed by `all'. > Stop. > rerun make What possessed you to rerun it? I never thought of doing that... > Then I got this I ended up with:- emxbind: cannot export symbol _nl_msg_cat_cntr of type 9 although on closer examination I do see an intl.a in os2\out\release.. Can I use this to make an INTL.DLL ? > So cd into libuniname and make to build libuniname. This only works if > you do the configure and make at the beginning > Add -luniname to line 60, the libs line and copy (temporary?) > libuniname.a to a lib directory such as /emx/lib > Edit src\x-python.c to change #include "uniname.h" to #include > "../libuniname/uniname.h" or copy uniname.h to an include directory, eg > /emx/include. > Maybe the best solution is to manually install uniname somewhere, eg > /emx/lib and /emx/include. > Do make again. > Most of the files end up in os2/out/release though some are in > /os2/emx. Most likely make install will finish it off but now is the > time for testing and I don't have enough time this morning You lost me with all that... The Makefile makes it sound dead easy, but it certainly isn't, although I was able to make a previous version without too much trouble. > Dave -- John **= Email 26 ==========================** Date: Thu, 28 Mar 2002 21:41:02 -0300 (EST) From: "DoC" Subject: Re: Saving Audio Stream On Thu, 28 Mar 2002 20:54:03 +0000, John Poltorak wrote: >On Thu, Mar 28, 2002 at 03:07:22PM -0300, DoC wrote: >> On Thu, 28 Mar 2002 16:24:06 +0000, John Poltorak wrote: >> >> >Is it possible to save Streamed Audio as a file? >> > >> >ie. can I do something like? :- >> > >> >ogg123 | tee audio.dat >> > >> >> Have you tried using wget on it? Just cut it when you think your harddisk is full enough :) > >I assume you are joking, but in any event I have no idea how WGET would >treat Streaming Audio. Not really. Done that in the past for MP3 streams as well. >Anyone know? It will download a file with header (necessary for the player on the client side), and keep on downloading until you hit CTRL-C. The resulting file can be played with OGG123. I just tested it with the url you provided (http://ogg.bbc.co.uk:8001/radio1_high.ogg). Depending on your luck, you may get some odd "glucks" in the end (where you hit CTRL-C). -- Erico **= Email 27 ==========================** Date: Thu, 28 Mar 2002 22:41:15 +0000 From: John Poltorak Subject: Re: iconv.a On Thu, Mar 28, 2002 at 11:22:48PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > On Wed, Mar 27, 2002 at 03:54:28PM -0800, Dave and Natalie wrote: > > > On Wed, 27 Mar 2002 15:33:50 +0000, John Poltorak wrote: > > > > > > > > > > >Where can I find iconv.a ? > > > > > > > >Gettext seems to expect it. > > [snip] > > Are you trying to get _GNU_ iconv working with the OS/2 > enhanced gettext 0.10.40 or higher? There is a small > _OS/2_ iconv (by Andrew Zabolotny, I guess) that is intended > to be used with that gettext versions. If you're trying > to get _GNU_ iconv working instead you should know that That version is here:- http://195.131.97.220:9000/zap/os2/iconv%2d0.1.0.zip Why don't you check it out and tell me if you notice anything about it? > bye, > Andreas -- John **= Email 28 ==========================** Date: Thu, 28 Mar 2002 23:22:48 +0100 From: Andreas Buening Subject: Re: iconv.a John Poltorak wrote: > > On Wed, Mar 27, 2002 at 03:54:28PM -0800, Dave and Natalie wrote: > > On Wed, 27 Mar 2002 15:33:50 +0000, John Poltorak wrote: > > > > > > > >Where can I find iconv.a ? > > > > > >Gettext seems to expect it. [snip] Are you trying to get _GNU_ iconv working with the OS/2 enhanced gettext 0.10.40 or higher? There is a small _OS/2_ iconv (by Andrew Zabolotny, I guess) that is intended to be used with that gettext versions. If you're trying to get _GNU_ iconv working instead you should know that a) there is only a Makefile.os2 that requires some headers that would be generated by configure (if you could get it working, though. But on the other hand if you could get working configure you wouldn't need Makefile.os2). b) GNU iconv is _huge_, several 100 KB of charsets c) GNU iconv doesn't know anything of OS/2 or DOS codepage names (except "cp850" and perhaps a _few_ others). > I'm glad I opted for the *easy* path... That's not the easy path. That's the path that was supposed to be easy. ;-) bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Redmond where the Shadows lie.