[SLUG] Re: Changes to cdrecord (etc.) ..

2007-09-24 Thread Joerg Schilling
Hi, you are not using cdrecord but a hack that has a lot of well known problems. Better use a recent original version from ftp://ftp.berlios.de/pub/cdrecord/alpha/ http://cdrecord.berlios.de/ Make sure to install it suid root and if you get problems, kill hald. Jörg -- EMail:[EMAIL

[SLUG] fun with sed

2007-09-24 Thread david
I want to insert / into a substitution. Why am i getting an unknown option even though exactly the same construction works if i use it from a script file? [EMAIL PROTECTED]:~/test $ cat foo foo is barred # test file [EMAIL PROTECTED]:~/test $ sed

Re: [SLUG] fun with sed

2007-09-24 Thread Ken Foskey
On Mon, 2007-09-24 at 22:49 +1000, david wrote: I've noticed the same problem applies to using in the replacement on the cli. It seems that the replacement part doesn't recognise a backslash. Have I missed something? first slash is absorbed by shell and therefore sed does not get it. use

Re: [SLUG] fun with sed

2007-09-24 Thread Martin Visser
I always find it much safer to use an explicit in-line script idiom such as :- sed -e 'the-script-i-want-sed-to-run' foo The ''s make sure that the shell doesn't get first byte of the cherry On 9/24/07, david [EMAIL PROTECTED] wrote: I want to insert / into a substitution. Why am i getting

Re: [SLUG] fun with sed

2007-09-24 Thread david
On Mon, 2007-09-24 at 23:00 +1000, Martin Visser wrote: I always find it much safer to use an explicit in-line script idiom such as :- sed -e 'the-script-i-want-sed-to-run' foo The ''s make sure that the shell doesn't get first byte of the cherry I kinda tried that, but man sed doesn't

Re: [SLUG] fun with sed

2007-09-24 Thread Zhasper
You don't have to use / as a delimiter. Use something else. [EMAIL PROTECTED]:~$ cat foo foo is barred [EMAIL PROTECTED]:~$ sed [EMAIL PROTECTED]@/[EMAIL PROTECTED] foo /bar is barred On 24/09/2007, david [EMAIL PROTECTED] wrote: I want to insert / into a substitution. Why am i getting an

RE: [SLUG] Which multiport NICs for Linux ?

2007-09-24 Thread Minh Van Le
Quoting Glen Turner [EMAIL PROTECTED]: On Sun, 2007-09-23 at 21:30 +1000, Minh Van Le wrote: My idea is to install x2 quad port ethernet NICs in a Red Hat server to compose the topology below. The topology is insane. Don't worry about using all of the ports on the ADSL router -- it's

[SLUG] online drives

2007-09-24 Thread Alex Samad
Hi I am investigating online drive - free space provide by ???. Looking for a large space around 10G. I have come across gdrive - use gmail as an online drive any one used this ? Thanks Alex signature.asc Description: Digital signature -- SLUG - Sydney Linux User's Group Mailing List -

[SLUG] expect - more modern tool available?

2007-09-24 Thread Sonia Hamilton
I'm starting to learn expect [1][2] to help me automate some programs that prompt for input. Expect dates from the early 90s - is it the right way to go or is there now a better shinier tool/language that I should be learning? [1] http://expect.nist.gov/ [2] http://en.wikipedia.org/wiki/Expect

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Dean Hamstead
expect is still in common use (thats the joy of unix as opposed to windows). it certainly wouldnt be a bad choice. Dean Sonia Hamilton wrote: I'm starting to learn expect [1][2] to help me automate some programs that prompt for input. Expect dates from the early 90s - is it the right way to go

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Robert Thorsby
On 2007.09.25 11:07 Sonia Hamilton wrote: I'm starting to learn expect [1][2] to help me automate some programs that prompt for input. Expect dates from the early 90s - is it the right way to go or is there now a better shinier tool/language that I should be learning? I prefer to use one of

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Sonia Hamilton
On Tue, 25 Sep 2007 11:25:44 +1000, Robert Thorsby [EMAIL PROTECTED] said: On 2007.09.25 11:07 Sonia Hamilton wrote: I'm starting to learn expect [1][2] to help me automate some programs that prompt for input. Expect dates from the early 90s - is it the right way to go or is there now a

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Peter Hardy
On Tue, 2007-09-25 at 12:56 +1000, Sonia Hamilton wrote: I want to (as a simple example) update my password on n *nix machines using the passwd command, which prompts me to enter my old password then new password twice. With expect I can automatically feed in the old and new passwords when

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread jam
On Tuesday 25 September 2007 10:00:03 [EMAIL PROTECTED] wrote: I'm starting to learn expect [1][2] to help me automate some programs that prompt for input. Expect dates from the early 90s - is it the right way to go or is there now a better shinier tool/language that I should be

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Robert Thorsby
On 2007.09.25 12:56 Sonia Hamilton wrote: On Tue, 25 Sep 2007 11:25:44 +1000, Robert Thorsby I prefer to use one of the *dialog utilities (ie, dialog, kdialog, gdialog, or -- my dialog-du-jour -- Xdialog) in a shell script and validate the user input in the script. It looks a helluva lot better

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Sonia Hamilton
On Tue, 25 Sep 2007 13:12:01 +1000, Peter Hardy [EMAIL PROTECTED] said: And in great SLUG tradition, I'm going to offer a suggestion that you definitely didn't ask for; something else to consider, especially for jobs like the one you describe, is using a tool like multixterm which uses expect

RE: [SLUG] Which multiport NICs for Linux ?

2007-09-24 Thread Glen Turner
On Tue, 2007-09-25 at 01:43 +1000, Minh Van Le wrote: But I get additional flexibility with network segregation and experiments with subnetting. Unlikely. Parallel links are much harder to engineer that you might think. At the data rates you are talking you are simply better off using a faster

Re: [SLUG] expect - more modern tool available?

2007-09-24 Thread Matthew Hannigan
On Tue, Sep 25, 2007 at 11:07:40AM +1000, Sonia Hamilton wrote: I'm starting to learn expect [1][2] to help me automate some programs that prompt for input. Expect dates from the early 90s - is it the right way to go or is there now a better shinier tool/language that I should be learning?

RE: [SLUG] expect - more modern tool available?

2007-09-24 Thread Visser, Martin
Robert, by explanation and driven by the context of the original poster, they are a different use-cases. *dialogs are very useful when the user entering the commands is sitting on the outside of the glass. It makes it easy to write a simple unambiguous user interface expect and their ilk are

RE: [SLUG] expect - more modern tool available?

2007-09-24 Thread Sonia Hamilton
On Tue, 25 Sep 2007 15:16:27 +1000, Visser, Martin [EMAIL PROTECTED] said: Robert, by explanation and driven by the context of the original poster, they are a different use-cases. Good explanation of the difference - I was thinking Rob had some magical use of *dialog I couldn't grok... Sonia,