[SLUG] Soundcard, IBM and sox

2004-09-03 Thread Bill Bennett
I'd like to try to upload an old LP from a turntable. Sox has been recommended. Well, on checking the method, I'll need a soundcard. I don't know wehther the laptop has one built-in. Can anyone tell me? (The laptop is an IBM 600e Thinkpad, approx 7 years old.) If it turns out that there isn't

Re: [SLUG] Soundcard, IBM and sox

2004-09-03 Thread Ben Donohue
Well you could go to the IBM website and look up the *cough* windows *cough* drivers for your model and it should show you the sound card drivers to download and it would give you even the model and make etc. Then look for equiv linux ones if that helps. Ben Bill Bennett wrote: I'd like to try

Re: [SLUG] Soundcard, IBM and sox

2004-09-03 Thread David Gillies
Bill Bennett wrote: I'd like to try to upload an old LP from a turntable. Sox has been recommended. Well, on checking the method, I'll need a soundcard. I don't know wehther the laptop has one built-in. Can anyone tell me? (The laptop is an IBM 600e Thinkpad, approx 7 years old.) If it turns out th

Re: [SLUG] version control... svn vs arch?

2004-09-03 Thread mlh
If you: 1. have one or few people contributing 2. care about cross platform 3. like nice gui tools (mmm tortoisesvn) pick subversion otherwise pick arch. Arch is better and branching and merging and distributed use, but: 1. it only really builds nicelylinux and maybe *bsd. Though there ar

Re: [SLUG] adding or removing an IP address to eth0

2004-09-03 Thread Robert Collins
On Fri, 2004-09-03 at 10:14 +1000, Matthew Palmer wrote: > Not having played with alias interfaces for Way Too Long (or Not Long > Enough, depending on your PoV) I had this vague recollection that :0 might > be an alias for the interface itself. And I believe there's no requirement > for your num

[SLUG] ssh and remote X forwarding

2004-09-03 Thread Ken Foskey
The cygwin X FAQ has great information on X forwarding over SSH and a list of problems that might occur and how to fix them. I never knew about the -Y option for example: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote -- Thanks KenF OpenOffice.org developer -- SLUG - Sydney Linux User

Re: [SLUG] Soundcard, IBM and sox

2004-09-03 Thread Bill Bennett
Many thanks for the reply. Well, I've progressed: I now know that the laptop *has* one. I'm a bit apprehensive about this. My laptop was given to me by someone who bought it in the USA, which is a roundabout way of saying that IBM (Australia) don't wish to know me. Presumably drivers differ with

[SLUG] splitting text files by key word lines ?

2004-09-03 Thread Voytek
I have an MySQL 'whole server' dump which is somewhat not very small at about 91M and 400,000 lines, how can I spilt it into separate unequal files, based on key word line ? -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.

Re: [SLUG] Soundcard, IBM and sox

2004-09-03 Thread Conrad Parker
On Fri, Sep 03, 2004 at 10:11:56PM +1000, Bill Bennett wrote: > > Presumably drivers differ with soundcards. > Is there a Linux command that will tell which > soundcard model is present (modprobe? pokewithbaton? tchaikovsky?). Hi Bill, lspci usually tells you something useful (what chip you have

[SLUG] MySQL dumps per database, how 2 script ?

2004-09-03 Thread Voytek
I have a script that dumps all MySQL databases along these lines: -- #!/bin/sh set $(date) # create sql dump of databases: rm "/backup/database/koala_$3.sql.gz" mysqldump -u backup --add-drop-table -F -A > "/backup gzip "/backup/database/koala_$3.sql" -- that works quite well,

Re: [SLUG] MySQL dumps per database, how 2 script ?

2004-09-03 Thread Michael Chesterton
"Voytek" <[EMAIL PROTECTED]> writes: > -- > +---+ > | Databases | > +---+ > | atom | > | commodore | > -- > > perhaps some has such a script already ? mysqlshow|perl -e 'while(<>){if(/\|\s([^ ]+)/){print "$1\n"}}' which assumes

Re: [SLUG] MySQL dumps per database, how 2 script ?

2004-09-03 Thread Voytek
>> perhaps some has such a script already ? > mysqlshow|perl -e 'while(<>){if(/\|\s([^ ]+)/){print "$1\n"}}' > which assumes no spaces in database names. > But I think there would be a more eloquent way. Michael, thanks I've found some existing ones, but, mostly requiring hard coded db names;

Re: [SLUG] MySQL dumps per database, how 2 script ?

2004-09-03 Thread Felix Sheldon
Voytek wrote: I have a script that dumps all MySQL databases along these lines: -- #!/bin/sh set $(date) # create sql dump of databases: rm "/backup/database/koala_$3.sql.gz" mysqldump -u backup --add-drop-table -F -A > "/backup gzip "/backup/database/koala_$3.sql" -- that works qui

Re: [SLUG] MySQL dumps per database, how 2 script ?

2004-09-03 Thread Voytek
> Voytek wrote: >>but not sure how to parse the 'borders' and feed it back to the mysqldump > You can tell the mysql client to leave out the boxes (and the > 'databases' column name): > > mysql -p -B --column-names=FALSE -e "show databases" Felix, thanks for that tip meanwhile, I think I hav

Re: [SLUG] MySQL dumps per database, how 2 script ?

2004-09-03 Thread Paul Robinson
Michael Chesterton wrote: "Voytek" <[EMAIL PROTECTED]> writes: -- +---+ | Databases | +---+ | atom | | commodore | -- perhaps some has such a script already ? mysqlshow|perl -e 'while(<>){if(/\|\s([^ ]+)/){print "$1\n"}}'

Re: [SLUG] splitting text files by key word lines ?

2004-09-03 Thread Tony Green
On 03/09/2004, at 10:19 PM, Voytek wrote: I have an MySQL 'whole server' dump which is somewhat not very small at about 91M and 400,000 lines, how can I spilt it into separate unequal files, based on key word line ? for I in keyword1 keyword2 keyword3 do egrep $I bigfile > sorted-$I done -- Tony

[SLUG] Looking for docs on Postfix-TLS (no SASL!)

2004-09-03 Thread Mary Gardiner
Hey folks, I have a basic roaming laptop 'situation' -- ie laptop moves around between different networks. I also have a public mail server on a static IP address. I thought for various reasons it would be convienient for my laptop to relay mail through my server. The normal way to do this seems

Re: [SLUG] Looking for docs on Postfix-TLS (no SASL!)

2004-09-03 Thread O Plameras
I think Patrick's HowTo is amongst the most helpful: http://postfix.state-of-mind.de/patrick.koetter/smtpauth/ He's the specialist on this. Mary Gardiner wrote: Hey folks, I have a basic roaming laptop 'situation' -- ie laptop moves around between different networks. I also have a public mail serve

Re: [SLUG] Looking for docs on Postfix-TLS (no SASL!)

2004-09-03 Thread James Gregory
On Sat, 2004-09-04 at 12:41 +1000, Mary Gardiner wrote: > Hey folks, > > I have a basic roaming laptop 'situation' -- ie laptop moves around > between different networks. I also have a public mail server on a static > IP address. > > I thought for various reasons it would be convienient for my la

Re: [SLUG] Looking for docs on Postfix-TLS (no SASL!)

2004-09-03 Thread Jeff Waugh
> Anyone got a short client-Postfix to server-Postfix TLS guide to setting > up keys and configuring the NECESSARY variables? Not a guide, but a snippet, because I do exactly what you want to - it's great! You need sasl to do tls. On the client side (I'm running Ubuntu, which is about as new as

Re: [SLUG] Soundcard, IBM and sox

2004-09-03 Thread Darren Williams
Hi Bill I have just gone through this process, not the sound card the ripping part. There are many apps out there worth there weight in gold, this is what I used: rip the vinyl to wave: record clean up pops, clicks and other distortions gwc or gnome wave cleaner http://gwc.sourceforge.net/ the a

Re: [SLUG] splitting text files by key word lines ?

2004-09-03 Thread Voytek
> for I in keyword1 keyword2 keyword3 > do > egrep $I bigfile > sorted-$I > done Tony, thanks not sure if I explained my problem properly my keywords are derived from the file as: # grep 'Current Database' koala -- Current Database: atom -- Current Database: commodore -- Current Database: di

Re: [SLUG] splitting text files by key word lines ?

2004-09-03 Thread Michael Chesterton
"Voytek" <[EMAIL PROTECTED]> writes: > # grep 'Current Database' koala > -- Current Database: atom > -- Current Database: commodore > -- Current Database: digiprint > -- Current Database: documents > . Practicing my awk, try this awk 'BEGIN { bakfile = "nodb.sql" } { if (/^-- Current