Date: Wed, 29 Aug 2007 16:36:46 +0200
From: Florian Kulzer <florian.kulzer+debian@icfo.es>
To: debian-user@lists.debian.org
Subject: Re: Editing a text file with sed
Message-ID: <20070829143646.GB3490@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Wed, Aug 29, 2007 at 15:17:46 +0200, Joe Hart wrote:
>
> I am having trouble using sed to edit text files, heres a good example of what
> I am looking for:
>
> <begin 1.txt>
> This is a test
> file, what I am
> trying to do is get the lines to join.
>
> It isn't a complicated thing,
> but I also want to keep the paragraphs
> separate.
> </end 1.txt>
[...]
> But ideally I'd like to just have a script to do it, but cannot figure out how
> to go about it, as sed doesn't seem to be working.
Why not use Perl?
$ perl -p0e '$_=~s/(.)\n(.)/$1 $2/g' < 1.txt
This is a test file, what I am trying to do is get the lines to join.
It isn't a complicated thing, but I also want to keep the paragraphs separate.
$ perl -p0e '$_=~s/(.)\n(.|\n)/$1 $2/g;$_=~s/ \n/\n/g' < 1.txt
This is a test file, what I am trying to do is get the lines to join.
It isn't a complicated thing, but I also want to keep the paragraphs separate.
--
Regards, |
http://users.icfo.es/Florian.Kulzer
Florian |
Date: Wed, 29 Aug 2007 08:07:06 -0500
From: "Mumia W.." <paduille.4061.mumia.w+nospam@earthlink.net>
To: Debian User List <debian-user@lists.debian.org>
Subject: Re: evince unable to open pdf
Message-ID: <46D56F7A.3020602@earthlink.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
On 08/29/2007 07:09 AM, Douglas A. Tutty wrote:
>
> Thanks Florian.
>
> I have everything except gnome-libs-data (since it brings in all the
> rest of gnome including gnome-bin).
>
> If I have to install the whole GNOME DTE just to use Evince, I chalk it
> up to typical Gnome stupidity and scrapt the whole thing.
>
> The thing is, my installed packages are exactly the same as before I
> reinstalled. The only difference is that 4.0r1 came out while I was in
> the midst of the multi-day downloading (dialup) so some of the packages
> will be newer versions.
>
> Doug.
>
>
Backports.org might have a version of evince that isn't dependent upon
all of Gnome.
Date: Wed, 29 Aug 2007 14:57:24 +0000
From: "Douglas A. Tutty" <dtutty@porchlight.ca>
To: debian-user@lists.debian.org
Subject: Re: konsole + system bell
Message-ID: <20070829145724.GA7843@titan.hooton>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Wed, Aug 29, 2007 at 10:34:56PM +0900, Takehiko Abe wrote:
> >Do you get a bell in a text console? IIRC, there is no longer a beep
> >module in the kernel.
>
> I do. The module is pcspkr.ko.
Must have been something in Sarge. You're right, I've got a beep again
with
echo -e "\a"
Doug.
Date: Wed, 29 Aug 2007 17:01:11 +0200
From: Dan H <dunno@stoptrick.com>
To: debian-user@lists.debian.org
Subject: Re: Shut down or leave on?
Message-ID: <20070829170111.1633d7d7@kir.physnet.uni-hamburg.de>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Tue, 28 Aug 2007 19:01:01 +0300
Atis <atis@BEST.eu.org> wrote:
> A long time ago i measured that my PC is using 0.4A on normal
> operation and 0.6A while CD-ROM spinning (on 220V AC). So, this
> means
> - 0.4*220 = 88 Watts. This is approximately like regular light bulb
> (not very economic).
> I usually leave my PC on in winters because of some long-lasting
> downloads, or music playing, or i simply don't want to close all the
> open programs (not all of them saves state). However in summers it
> makes my room quite hot, so i prefer to turn PC off.
88 watts it used to be. A modern desktop PC will consume several hundred watts of power, which is as much as it takes to make a room "quite hot" -- do you think you could get your room hot by leaving the lights on?
It might be worthwile to measure power consumption again, with modern equipment -- you'll bes surprised.
--D.
Date: Wed, 29 Aug 2007 10:01:20 -0500
From: "Adam W" <adam.ckdvwwzz@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: Editing a text file with sed
Message-ID: <7ce8224a0708290801o3f0187fas481deaaf6ca55e88@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Single quotes go around the whole sed script unless you are using a
separate sed script file.
try sed 's/\n//' 1.txt > 2.txt
- Adam
On 8/29/07, Florian Kulzer <florian.kulzer+debian@icfo.es> wrote:
> On Wed, Aug 29, 2007 at 15:17:46 +0200, Joe Hart wrote:
> >
> > I am having trouble using sed to edit text files, heres a good example of what
> > I am looking for:
> >
> > <begin 1.txt>
> > This is a test
> > file, what I am
> > trying to do is get the lines to join.
> >
> > It isn't a complicated thing,
> > but I also want to keep the paragraphs
> > separate.
> > </end 1.txt>
>
> [...]
>
> > But ideally I'd like to just have a script to do it, but cannot figure out how
> > to go about it, as sed doesn't seem to be working.
>
> Why not use Perl?
>
> $ perl -p0e '$_=~s/(.)\n(.)/$1 $2/g' < 1.txt
> This is a test file, what I am trying to do is get the lines to join.
>
> It isn't a complicated thing, but I also want to keep the paragraphs separate.
>
> $ perl -p0e '$_=~s/(.)\n(.|\n)/$1 $2/g;$_=~s/ \n/\n/g' < 1.txt
> This is a test file, what I am trying to do is get the lines to join.
> It isn't a complicated thing, but I also want to keep the paragraphs separate.
>
> --
> Regards, | http://users.icfo.es/Florian.Kulzer
> Florian |
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Date: Wed, 29 Aug 2007 17:01:36 +0200
From: Sjoerd Hardeman <srhardem@science.uva.nl>
To: debian-user@lists.debian.org
Subject: Re: Editing a text file with sed
Message-ID: <46D58A50.3010804@science.uva.nl>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
This command erases all line breaks
sed -e :a -e '$!N;s/\n/ /;ta' -e 'P;D'
although you have to adapt it to not delete paragraphs. Using regex, the
line would then become something like
sed -e :a -e '$!N;s/\n[^\n]/ /;ta' -e 'P;D'
Good luck.
Sjoerd
Joe Hart schreef:
> I am having trouble using sed to edit text files, heres a good example of what
> I am looking for:
>
> <begin 1.txt>
> This is a test
> file, what I am
> trying to do is get the lines to join.
>
> It isn't a complicated thing,
> but I also want to keep the paragraphs
> separate.
> </end 1.txt>
>
> I try this command:
>
> sed s/\n// / 1.txt > 2.txt and I get an error, so:
> sed s'\n/ /' 1.txt > 2.txt and nothing happens.
>
> I don't get it. I though \n was end of line, which I am trying to replace
> with spaces.
>
> I understand that this would loose the paragraphs, so ideally what I need to
> do is something like this:
>
> 1. Replace double line breaks with special sequence not found in text.
> 2. Convert all line breaks to spaces
> 3. Convert special seqeuence to double line breaks.
>
> I thought sed would be perfect for this, but no such luck. I can get what I
> want by using kwrite for step 1 and 2, then OO.o Writer for step 3. (kwrite
> seems unable to do step 3)
>
> But ideally I'd like to just have a script to do it, but cannot figure out how
> to go about it, as sed doesn't seem to be working.
>
> Joe
>
>
Date: Wed, 29 Aug 2007 17:02:14 +0200
From: Dan H <dunno@stoptrick.com>
To: debian-user@lists.debian.org
Subject: Re: Shut down or leave on?
Message-ID: <20070829170214.26bcd8ec@kir.physnet.uni-hamburg.de>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Tue, 28 Aug 2007 09:45:51 -0700
Jeff <debian@waysoft.com> wrote:
> Specifically, as I understand it, thermal shock to minuscule
> electronic components during power-on.
There is no thermal shock on power-on. What is most likely to fail is the PSU (happened to me once).
--D.
Date: Wed, 29 Aug 2007 15:04:31 +0000
From: "Douglas A. Tutty" <dtutty@porchlight.ca>
To: debian-user@lists.debian.org
Subject: Re: evince unable to open pdf
Message-ID: <20070829150431.GB7843@titan.hooton>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Wed, Aug 29, 2007 at 03:43:25PM +0200, Florian Kulzer wrote:
> On Wed, Aug 29, 2007 at 12:09:09 +0000, Douglas A. Tutty wrote:
> > On Wed, Aug 29, 2007 at 10:03:07AM +0200, Florian Kulzer wrote:
> > > On Tue, Aug 28, 2007 at 14:23:27 +0000, Douglas A. Tutty wrote:
> >
> > > > Evince itself opens OK, but when I open the file dialog with its default
> > > > filter of "All Documents", it doesn't see any. If I remove the filter
> > > > to "All Files", it sees the pdfs but when I select one to open, it pops
> > > > up an error:
> > > >
> > > > Unable to open document
> > > > Unhandled MIME type 'application/octet-stream'
>
> I just ran strace on evince and opened a PDF file. The only "magic"
> files which evince tried to access were ~/.local/share/mime/magic and
> /usr/local/share/mime/magic (neither of which is present on my system).
> Maybe you can generate one of these two files to make evince recognize
> the PDFs. I have no idea about the required format, therefore I would
> simply try to use what I see in /usr/share/mime/magic:
>
> $ grep -aA1 pdf /usr/share/mime/magic
> [60:application/pdf]
> >0=%PDF-
>
> There are two non-printing bytes hidden in grep's output above, between
> the "=" and the "%" sign in the second line:
>
> $ grep -aA1 pdf /usr/share/mime/magic | hd -C
> 00000000 5b 36 30 3a 61 70 70 6c 69 63 61 74 69 6f 6e 2f |[60:application/|
> 00000010 70 64 66 5d 0a 3e 30 3d 00 05 25 50 44 46 2d 0a |pdf].>0=..%PDF-.|
> 00000020
Thanks, Florian,
Its too much like work to get Gnome to do anything useful. I've purged
the lot. I'll stick with xpdf and kpdf.
Thanks,
Doug.
Date: Wed, 29 Aug 2007 17:05:05 +0200
From: Dan H <dunno@stoptrick.com>
To: debian-user@lists.debian.org
Subject: Re: Shut down or leave on?
Message-ID: <20070829170505.69f82619@kir.physnet.uni-hamburg.de>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Tue, 28 Aug 2007 15:18:54 -0400
"Mike" <mikewk147@oh.rr.com> wrote:
> The amount
> electricity usage from present day devices is minimal
I know your sentence continues along a different line, but let me just interject here that computers have never consumed as much energy as they do today. True, energy consumption per CPU instruction has gone down dramatically, but that is far outcompensated by the increase in total computing power.
> I say, leave it on.
Turn it off. It won't do harm.
--D.
Date: Wed, 29 Aug 2007 11:08:30 -0400
From: "Michael Marsh" <michael.a.marsh@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: use of $$ versus $ in makefile and bash
Message-ID: <ceb0ad00708290808x5536e55cwe8fc2507b10ae366@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 8/29/07, Russell L. Harris <rlharris@oplink.net> wrote:
> I am puzzled concerning the use of the symbols "$" and "$$" in a
> makefile. I do not understand why "$$" is required in some instances,
> and "$" in other instances.
"$" is a special character to make, so in cases where you need make to
pass an actual "$" to something else, you have to use the special
variable "$$".
> I have spent several hours searching through the documentation for
> BASH and for GNU Make, but I have found no answer.
>
> Here are three examples, all taken from the same makefile:
>
> EXAMPLE 1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> -ln -s ../journal.cls ../journal.hlx .
> -(for d in ${SYMLINKDIR}; \
> do \
> pushd $$d && \
> ln -sf $(addprefix ../,${SYMLINKTARGET}) .; \
> popd; \
> done;)
In this case, "d" is a shell variable defined within a rule. The
shell refers to it as "$d", but using "$d" in your makefile would
cause make to look for one of its own variables named "d". "$$d"
becomes a literal "$d" to make, which is then passed to sh.
"$(addprefix ...)" is a make command, and "${SYMLINKDIR}" and
"${SYMLINKTARGET}" are makefile variables, which will be expanded by
make and passed to the shell as literals.
> EXAMPLE 2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> (for d in $$(find . \
> \( -type d \
> -name '.svn' -prune -o \
> -name 'hevea' -prune -o \
> -name 'metatags' -prune \) -o \
> -type d -print); \
> do mkdir --parents ../stageweb/$$d; \
> done;)
The difference in this example is that find is being run, and its
stdout returned as a string. The shell pattern is "$(command)", which
is equivalent to "`command`". Again, since the "$" is relevant to the
shell, not make, we have to use the special "$$".
> EXAMPLE 3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> (for bn in ${CLEANDIR}; \
> do \
> rm -f $(addprefix $$bn/*.,${CLEANEXT}); \
> done;)
> rm -f ${CLEANOTHER}
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Hopefully this example is clearer now.
> Also, in the third example, does the variable name "bn" have
> significance? Could the name "b" or "c" or "x" be used instead? The
> name "f" commonly is used in a for-loop when working with files, and
> the name "d", when working with directories. The name "bn" appears
> nowhere else in the makefile.
It's defined locally to the for loop (well, not *really* locally, but
effectively). Any name that isn't already being used should be fine
here. Not knowing what the context around that snippet is, I couldn't
say if "bn" was chosen for some mnemonic reason.
--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com
Date: Wed, 29 Aug 2007 18:24:43 +0300
From: ndemou@gmail.com
To: "Richard Carter" <carter.r.a.l@gmail.com>
Cc: "CLUG General" <clug-talk@clug.ca>,
"Linux questions" <forum@linuxquestions.org>,
debian-user@lists.debian.org
Subject: Re: Shut down or leave on?
Message-ID: <cc703c350708290824s318d712cu6a7dbde909e1033@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 8/28/07, Richard Carter <carter.r.a.l@gmail.com> wrote:
> [...]
> In the past I have always shut my Debian system down over night etc for 3
> reasons:
>
> 1) I put backups on my 80GB external HD which I usually leave shut down even
> when I boot the rest of the system. It's about the same age as my internal
> 160GB HD so I hoped to reduce the probability of it failing at the same time
> as the internal HD by starting it less often.
google has made a nice survey on thousands of HDs for some years. They
measured the effect of temperature and time on the failure rate. Don't
have the link handy but do check for it. It will give you the answers
you need regarding your HD
> 2) I hoped to reduce the probability of being hacked by shutting down,
> although I do have a firewall installed.
other factors are WAY MORE important than the amount of time you're on
line - you can get this reason of your list
> 3) I thought it was a waste of electricity, and money, to have a machine
> running that wasn't being used.
it is but if you find a lot of other reasons to keep it alive then you
probably want to check ways to minimize power consumption. Automatic
adjustment of CPU frequency, automaticaly powering off HDs and
monitor when not in use, funs wich adjust RPM according to temperature
etc
Date: Wed, 29 Aug 2007 10:42:55 -0500
From: Hugo Vanwoerkom <hvw59601@care2.com>
To: debian-user@lists.debian.org
Subject: Re: konsole + system bell
Message-ID: <fb4460$nce$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Douglas A. Tutty wrote:
> On Wed, Aug 29, 2007 at 10:34:56PM +0900, Takehiko Abe wrote:
>>> Do you get a bell in a text console? IIRC, there is no longer a beep
>>> module in the kernel.
>> I do. The module is pcspkr.ko.
>
> Must have been something in Sarge. You're right, I've got a beep again
> with
>
> echo -e "\a"
>
Aha! I do 'echo -e "\a"'
in konsole and get nothing! Beeps in VT.
And lsmod shows pcspkr loaded.
Now what?
Hugo
Date: Wed, 29 Aug 2007 21:06:38 +0530
From: Kumar Appaiah <akumar@iitm.ac.in>
To: debian-user@lists.debian.org
Subject: Re: Editing a text file with sed
Message-ID: <20070829153638.GA10953@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Wed, Aug 29, 2007 at 03:17:46PM +0200, Joe Hart wrote:
> <begin 1.txt>
> This is a test
> file, what I am
> trying to do is get the lines to join.
>
> It isn't a complicated thing,
> but I also want to keep the paragraphs
> separate.
> </end 1.txt>
[snip]
> But ideally I'd like to just have a script to do it, but cannot figure out how
> to go about it, as sed doesn't seem to be working.
If I run your file through fmt, I get
<output>
This is a test file, what I am trying to do is get the lines to join.
It isn't a complicated thing, but I also want to keep the paragraphs
separate.
</output>
Of course, that may not have been what you were looking for, but I
just thought some might find it useful later.
Thanks!
Kumar
--
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
Date: Wed, 29 Aug 2007 18:54:37 +0300
From: Giorgos Pallas <gpall@ccf.auth.gr>
To: debian Users ENG <debian-user@lists.debian.org>
Subject: icedove, KDE and pdf attachments
Message-ID: <46D596BD.1070405@ccf.auth.gr>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
One very annoying thing that happens with icedove (1.5.0.12) on Debian
Lenny, is that when I get an email with a pdf attachment, I double click
on the attachment and I get the well known window which says:
You have chosen to open
mplahmplah.pdf
which is a: BIN file
from imap://....
What should icedove do with this file?
Open with "kghostview (default)"
Save to Disk
Do this automatically for files like this from now on. (GREYED OUT)
------------
First of all, I do not understand why it offers to open it with
kghostview (which I hate). Where could I change this option? In advanced
configuration -> Config Editor, I can't find any option which has to do
with pdf files...
And this would not be such a problem if the option to remember the
program for pdf files which I choose and use it from now on, was not
greyed out and thus unusable...
Which brings me to my last question: I don't have a ~/.icedove nor a
~/.thunderbird directory... Where does it store my profile?
G.
Date: Wed, 29 Aug 2007 15:56:46 +0000
From: "Douglas A. Tutty" <dtutty@porchlight.ca>
To: debian-user@lists.debian.org
Subject: Re: konsole + system bell
Message-ID: <20070829155646.GA9832@titan.hooton>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Wed, Aug 29, 2007 at 10:42:55AM -0500, Hugo Vanwoerkom wrote:
> Aha! I do 'echo -e "\a"'
> in konsole and get nothing! Beeps in VT.
>
> And lsmod shows pcspkr loaded.
>
> Now what?
Do you have any other x-terminal-emulator installed? I tried in
xfce-terminal and it doesn't beep. Perhaps there's an xset setting to
allow audible beeps. Look at the xset man page, especially the -b
option.
Unfortunatly for you, the computer that I'm directly attached to me is
on the floor below (monitor, keyboard, and mouse cables run through the
floor) so I can only hear the beep if the room is quiet. It is noisy
right now. Perhaps you will have some luck.
You could try the GUI interface to xset; something like gtkxset or
gxset.
Doug
Date: Wed, 29 Aug 2007 18:58:27 +0300
From: Atis <atis@BEST.eu.org>
To: "Dan H" <dunno@stoptrick.com>
Cc: debian-user@lists.debian.org
Subject: Re: Shut down or leave on?
Message-ID: <945196e0708290858g3688d9dei78c457388ac68f4d@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 8/29/07, Dan H <dunno@stoptrick.com> wrote:
> On Tue, 28 Aug 2007 19:01:01 +0300
> Atis <atis@BEST.eu.org> wrote:
> > A long time ago i measured that my PC is using 0.4A on normal
> > operation and 0.6A while CD-ROM spinning (on 220V AC). So, this
> > means
> > - 0.4*220 = 88 Watts. This is approximately like regular light bulb
> > (not very economic).
> > I usually leave my PC on in winters because of some long-lasting
> > downloads, or music playing, or i simply don't want to close all the
> > open programs (not all of them saves state). However in summers it
> > makes my room quite hot, so i prefer to turn PC off.
>
> 88 watts it used to be. A modern desktop PC will consume several hundred watts of power, which is as much as it takes to make a room "quite hot" -- do you think you could get your room hot by leaving the lights on?
>
> It might be worthwile to measure power consumption again, with modern equipment -- you'll bes surprised.
Well, it depends what you call a modern computer. Yes, i know that
they have PSUs with 350 and 400 watts, but they are usually not loaded
completely. What i had tested was my previous PC with Athlon XP 1600+
- that's not so old.
About making room hot - in summer few electric devices can really make
my room noticeably warmer. It's because of bad ventilation, and
massive walls.. usually my room is cooler than outside. And i noticed
this by using the same Athlon XP 1600+ which i measured.
I will try to make measurements for my new Athlon 64 5000+
Regards,
Atis
--
Atis Lezdins,
IT Responsible of BEST Riga,
atis@BEST.eu.org
ICQ: 142239285
Skype: atis.lezdins
Cell Phone: +371 28806004 [Tele2, Latvia]
Work phone: +1 800 7502835 [Toll free, USA]
?BEST? -> www.BEST.eu.org
Date: Wed, 29 Aug 2007 17:59:07 +0200
From: Lorenzo Bettini <bettini@dsi.unifi.it>
To: Debian User Mailing List <debian-user@lists.debian.org>
Subject: Re: capture real audio stream
Message-ID: <46D597CB.2080506@dsi.unifi.it>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cothrige wrote:
> Lorenzo Bettini <bettini@dsi.unifi.it> writes:
>
>> I'm trying with this one
>>
>> http://www.bbc.co.uk/radio2/musicclub/events_andrewlloydwebber.shtml
>>
>> and can't find such links, not even with Page Info (as suggested by
>> Joachim); could it be they changed something in their site?
>
> Well, neither could I. I suppose that the Beeb has decided to really
> hide the actual content and this time did a bang up job as far as I can
> tell. They seem to have gotten rid of the standalone player link on
> their listen again player (though oddly BBC4 still has it and it is also
> on the BBC Radio 2 listen live page) and that definitely puts a kink in
> things. I tried viewing the source for each frame and that didn't show
> anything useful, at least not that I could recognize. :-) I even looked
> via ps for the running realplay in hopes that it would reveal some clue,
> but got nothing useful.
well that somehow makes me feel better, 'cause I was starting to feel
stupid since I wasn't able to find no such links ;-)
>
> In the end I was only able to succeed by accident. I tried the link in
> epiphany and it gave me a popup complaining that totem could not open
> the content, and in so doing told me the full file name. That turned
> out to be rtsp://rmv8.bbc.net.uk/radio2/fridaymusic.ra?BBC-UID=a42\
> 6cbda207670378b86528c714caba3684a2b4fc040b101329203b36444a5b5&SSO2-UID='
> I doubt that this could be reliably reproduced, though perhaps you may
> have a broken install of epiphany too, and that could turn out to be a
> good thing.
>
I'm trying the link you provided with the command
mplayer
"rtsp://rmv8.bbc.net.uk/radio2/fridaymusic.ra?BBC-UID=a426cbda207670378b86528c714caba3684a2b4fc040b101329203b36444a5b5&SSO2-UID='"
-vo null -vc null -ao pcm:file=/mnt/appo/musica/webber.wav
and it seems to work fine! :-)
by the way, isn't there a way to record directly in mp3 I suppose?
> I do hope this is not the way that the BBC Radio people will be doing
> things everywhere, as it is certainly a great deal less convenient.
Later I'll try with epiphany too... but why are you saying that it is
due to a broken install of epiphany?
thanks!
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
End of debian-user-digest Digest V2007 Issue #2273
**************************************************
Received on Wed Aug 29 12:31:06 2007