Re: [SLUG] Re: Help Me - C codes

2005-11-29 Thread yiz
lol, the command I found most useful in gdb is 'where'. $gdb ./a.out (gdb)run (gdb)where prolly becoz my code core dumps a lot, but that's not the point >_< yiz O Plameras had suggested gdb in previous post these easy to follow steps: 1. Compile as cc -g factorial.c -o factorial ( I lear

Re: [SLUG] Re: Help Me - C codes

2005-11-29 Thread Beav Petrie
On 11/30/05, Matthew Hannigan <[EMAIL PROTECTED]> wrote: On Tue, Nov 29, 2005 at 01:13:48PM +1100, Beav Petrie wrote:> I had seen the stacking up with gdb program, which I> learned with no hassles. Now, I can't do without it in myExcellent!  I was going to suggest going the 'low road' to understand

Re: [SLUG] Re: Help Me - C codes

2005-11-29 Thread Matthew Hannigan
On Tue, Nov 29, 2005 at 01:13:48PM +1100, Beav Petrie wrote: > I had seen the stacking up with gdb program, which I > learned with no hassles. Now, I can't do without it in my Excellent! I was going to suggest going the 'low road' to understanding recursion but weren't sure of your level of knowl

[SLUG] Re: Help Me - C codes

2005-11-29 Thread Beav Petrie
Sluggers, Thanks lots. I understand clearly, why 24 instead of 1 is printed, now. When y is 0 (y<1) finally, the program had stacked up 4*3*2*1 by doing factorial(y) repeatedly which is cool. Multiply by 1 (return 1, when y<1), 4*3*2*1*1 gives 24. Very, very cool. I had seen the stacking up wi

RE: [SLUG] Re: Help on non encrypted tunnel through NAT devices

2005-01-04 Thread Mr A Tomlinson
;Matthew Palmer'; slug@slug.org.au Subject: Re: [SLUG] Re: Help on non encrypted tunnel through NAT devices Mr A Tomlinson wrote: > I'm still unable to make any tunnel config work in my situation. Looking at > openvpn now as it will tunnel through a single udp port that I can open up

Re: [SLUG] Re: Help on non encrypted tunnel through NAT devices

2005-01-03 Thread David Kempe
Mr A Tomlinson wrote: I'm still unable to make any tunnel config work in my situation. Looking at openvpn now as it will tunnel through a single udp port that I can open up on my NAT device. Stick with OpenVPN, its too easy to get working in your situation. just a single UDP port forward is all it

Re: [SLUG] Re: Help on non encrypted tunnel through NAT devices

2005-01-03 Thread Jamie Wilkinson
This one time, at band camp, Mr A Tomlinson wrote: >>From your suggestion to "Put the VPN endpoints on your firewall and use >IPSec. OpenSWAN has documentation aimed exactly at this eventuality, and I >*know* OpenSWAN can do it -- I'm doing it now.", can I assume in your >working config that: >- t

RE: [SLUG] Re: Help on non encrypted tunnel through NAT devices

2005-01-03 Thread Mr A Tomlinson
3 January 2005 10:32 PM To: slug@slug.org.au Subject: [SLUG] Re: Help on non encrypted tunnel through NAT devices On Mon, Jan 03, 2005 at 10:19:15PM +1100, Mr A Tomlinson wrote: > I don't require encryption on the tunnel and I favour FC3/2 as the end point > OS. IPSec solutions bui

[SLUG] Re: Help on non encrypted tunnel through NAT devices

2005-01-03 Thread Matthew Palmer
On Mon, Jan 03, 2005 at 10:19:15PM +1100, Mr A Tomlinson wrote: > I don't require encryption on the tunnel and I favour FC3/2 as the end point > OS. IPSec solutions built into the OS don't work over NAT, nor does openswan OpenSWAN *is* IPSec. > and I can't follow the IPSec over UDP solutions offe

[SLUG] RE: Help Scrollback lines!!! / History

2004-07-24 Thread Rodney Sommerville
History! That's it!! Thanks Rodney --- Rodney Sommerville wrote: > I am after then location of the file that stores the scrollback lines > of the root login, I am using Redhat 9. You mean the command history? As root, type "history". If you mean the output of the various commands

Re: [Re: [SLUG] Re: Help with Pattern matching with perl!]

2003-08-16 Thread Louis Selvon
Hi James: You are right it needed the quotes. I am continuing reading up from my LWP book and trying a few things for the desired results. I will post again should I see any issues after having read the relevant material and my own attempts. Thanks for a reply. Cheers. James Gregory <[EMAIL PRO

Re: [SLUG] Re: Help with Pattern matching with perl!

2003-08-15 Thread James Gregory
On Sat, 2003-08-16 at 12:35, Louis Selvon wrote: > my $stream = HTML::TokeParser->new($optindir/$mini) || die "Couldn't read HTML ^^^ you sure about this bit? That looks a lot like a div/0 to me. Perhaps it should be "$optindir/$mini" -- with the qu

[SLUG] Re: Help with Pattern matching with perl!

2003-08-15 Thread Louis Selvon
Hi: I just tried HTML::TokeParser for my problem instead as it's covered in the LWP Perl book I bought. Anyway I am getting a "Illegal division by zero" error message from this line of code: my $stream = HTML::TokeParser->new($optindir/$mini) || die "Couldn't read HTML file $filename: $!"; wher

Re: [SLUG] Re: Help

2003-07-23 Thread Trevor D. Manning
* Andar Broment ([EMAIL PROTECTED]) wrote: > Ahh, so I'm a lurker. I keep the archive for future reference. you gonna go > all elitist saying I can't speak my mind cause I don't post much? The point he might have been trying to make is your 'tough love' was unneccessary. There are better approache

Re: [SLUG] Re: Help

2003-07-23 Thread Andar Broment
ED]> Sent: Wednesday, July 23, 2003 11:39 PM Subject: Re: [SLUG] Re: Help > This one time, at band camp, Andar Broment wrote: > >(Yes. I'm Harsh. But I like being harsh on N00bs with Delusions of Grandeur. XD) > > Wow, that's rich. How many times have you posted (let al

Re: [SLUG] Re: Help

2003-07-23 Thread Jamie Wilkinson
This one time, at band camp, Andar Broment wrote: >(Yes. I'm Harsh. But I like being harsh on N00bs with Delusions of Grandeur. XD) Wow, that's rich. How many times have you posted (let alone contributed to discussion) to this list? Twice including this one? http://lists.slug.org.au/archives/sl

Re: [SLUG] Re: Help

2003-07-23 Thread Chris Deigan
Andar Broment wrote: >And sending an email in HTML, with a Green background, >and irrellevantly highlighted words, from HOTMAIL, ain't gonna help much either. Maybe you should set your email client (Microsoft Outlook Express as I see it, I see no reason why you are telling this person off for usin

[SLUG] Re: Help

2003-07-23 Thread Andar Broment
And sending an email in HTML, with a Green background, and irrellevantly highlighted words, from HOTMAIL, ain't gonna help much either.   In other words? Take a Basic computer course before you try starting up a net Café? ^^     Muskie   (Yes. I'm Harsh. But I like being harsh on N00bs with

[SLUG] Re: help with Linux commands needed

2002-07-25 Thread J Tandl
Thank you, Richard. That looks to me to be exactly what I need and hoped for... Joseph - Original Message - From: "Richard Ames" <[EMAIL PROTECTED]> To: "Joseph Tandl" <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 5:34 PM Subject: Re: [SLUG] help with Linux commands needed > > Have

Re: [SLUG] Re: help for script

2002-01-06 Thread Herbert Xu
Angus Lees <[EMAIL PROTECTED]> wrote: > sed is no good for multiple line work. you can do it, but its just silly: > uniq | sed -ne >'s/^\([^,]*,\)\{2\}\([^,]*\)$/\2/;h;n;s/^\([^,]*,\)\{7\}\([^,]*,[^,]*\),.*$/,\2/;H;x;s/\\ > //p' Try uniq | paste -d , - - | cut -d , -f x,y The values of x and

[SLUG] Re: help for script

2002-01-05 Thread Angus Lees
\begin{Bernhard Lüder} > I need to convert 2 lines of data to one. > > This is the data I can extract from the data base: > FIXEDdata1,Flexibledata1,Neededdata1 > FIXEDdata1,Flexibledata2,Flexibledata3,Flexibledata4,Flexibledata5,Flexibled > ata6,Flexibledata7,Neededdata2,Neededdata3,Flexibledata

Re: [SLUG] re help please

2001-12-23 Thread Craige McWhirter
On Mon, 2001-12-24 at 13:57, john midworth wrote: > /dev/hda2 was not cleanly unmounted check forced > /dev/hda2: :=== > > Later it said: > Inode iblocks is 86 should be 80 FIXED > etc > > and a bit later.. > 0.5% non contiguous 1415231/2048001 blocks > > then it went really fast for a

[SLUG] re help please

2001-12-23 Thread john midworth
A little more info (I sent this email to a friend before I contacted your group, but I haven't heard back from him; he might be away): Having a few problems booting up the graphical interface for Gnome for Linux. I Inserted a PCUser CD Containing StarOffice 5.1, I click on the StarOffice icon in

Re: [SLUG] Re: [HELP] Setting up ADSL

2001-01-12 Thread CaT
On Fri, Jan 12, 2001 at 02:42:49AM +1100, Angus Lees wrote: > \begin{CaT} > > MTU should be 1492 > > > > when you bring your IPless ethernet interface up set MTU to 1492. > > no. the mtu of the ethernet interface should stay at 1500. > > the mtu and mru of the *ppp* interface should be 1492. >

[SLUG] Re: [HELP] Setting up ADSL

2001-01-12 Thread Richard Gooch
Angus Lees writes: > \begin{CaT} > > On Thu, Jan 11, 2001 at 04:48:36PM +1100, Richard Gooch wrote: > > > > > Jan 11 15:55:17 mobilix pppd[27867]: Couldn't increase MTU to 1500 > > > > > Jan 11 15:55:17 mobilix pppd[27867]: Couldn't increase MRU to 1500 > > > > > Jan 11 15:55:17 mobilix pppd[27867

[SLUG] Re: [HELP] Setting up ADSL

2001-01-11 Thread Rebecca Richards
Richard, On Thu, 11 Jan 2001, you said: > Doing: > # ifconfig eth0 up mtu 1492 > didn't stop those messages. I'm wondering whether you have the CLAMP_MSS option not set? I don't get those messages at all on my ADSL gateway. My gateway interfaces are as follows: eth0 Link encap:Ethernet

[SLUG] Re: [HELP] Setting up ADSL

2001-01-11 Thread Angus Lees
\begin{CaT} > On Thu, Jan 11, 2001 at 04:48:36PM +1100, Richard Gooch wrote: > > > > Jan 11 15:55:17 mobilix pppd[27867]: Couldn't increase MTU to 1500 > > > > Jan 11 15:55:17 mobilix pppd[27867]: Couldn't increase MRU to 1500 > > > > Jan 11 15:55:17 mobilix pppd[27867]: Couldn't increase MTU to 1

[SLUG] Re: Help Installing Redhat 7.0

2000-11-12 Thread Andrew Clausen
> Wilmar Sulaiman wrote: > > Hey all > I have some trouble when i installed Redhat 7.0. I downloaded from the internet > yesterday the ISO file for Redhat 7.0 then i burned it into CD ROM. I loaded from my > linux by mount -o loop -t iso9660 file mount > then i copy all the file in mount into my

[SLUG] Re: Help with rm

2000-08-29 Thread Angus Lees
On Tue, Aug 29, 2000 at 08:45:40PM +1100, Scott Howard wrote: > On Tue, Aug 29, 2000 at 11:50:02AM +1100, Anand Kumria wrote: > > I mean, why should all these companies employ someone to maintain `ls' (or > > similiar) when a better, free version is already available. > > Where do I start... > *

Re: [SLUG] Re: Help, please, with shell scripting for computing checksums

2000-08-09 Thread Matthew Sanderson
I use find . -type f -printf "\"%p\"\n" | xargs ... which I think is a little more portable (less GNU-dependant). But same thing. --matt On Wed, 9 Aug 2000, Jeff Waugh wrote: > > Roland Turner wrote: > > > > find . -type f -print0 | xargs -0 md5sum > md5.list > > > > The -print0 argument

Re: [SLUG] Re: Help, please, with shell scripting for computing checksums

2000-08-09 Thread Jeff Waugh
> Roland Turner wrote: > > find . -type f -print0 | xargs -0 md5sum > md5.list > > The -print0 argument to find causes it to put nulls between filenames > (instead of newlines). Aha! Very cool to know - thanks Raz. :) (off I go to change some of my scripts, most of which were piped thro

Re: [SLUG] Re: Help, please, with shell scripting for computing checksums

2000-08-09 Thread Roland Turner
Angus Lees wrote: > the problem with this (esp in this case) is that the command line is > quite likely to get too long, so you use xargs(1): > > find . -type f -print | xargs md5sum > md5.list I'd suggest a small improvement to this. When used as above, find puts newlines between filenames wh

[SLUG] Re: Help, please, with shell scripting for computing checksums

2000-08-08 Thread Angus Lees
On Wed, Aug 09, 2000 at 12:30:09AM -0400, Daniel Freedman wrote: > I'm trying to use md5sum (from Gnu Text Utilities) to compute a checksum > for alot of files in my home directory or root directory. This wouldn't be > a problem, except that I want it to compute the checksums on all files in > ALL

Re: [SLUG] Re: HELP

2000-07-19 Thread Jeff Waugh
> Angus Lees wrote: > (if it wasn't for your mail headers, i would have dismissed this as a > joke mail. but just in case it isn't..) This got caught up in administrivia, but I just had to let it through... ;) - Jeff -- [EMAIL PROTECTED] - http://www.slug.org.au/ -

[SLUG] Re: HELP

2000-07-19 Thread Angus Lees
(if it wasn't for your mail headers, i would have dismissed this as a joke mail. but just in case it isn't..) On Wed, Jul 19, 2000 at 03:09:37PM +1000, Joesph Haribonigo wrote: > LiMpBiZiCuTz on irc said that u would be able to help me!!! > > I want to install linux on my machine but i cant seem